Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001877/0.001877, allocations: 90.16 kB / 20.69 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002502/0.002502, allocations: 156.8 kB / 23.95 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 442.6 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.594e-05/9.74e-05, allocations: 8.672 kB / 442.7 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00446/0.004557, allocations: 2.819 MB / 445.5 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.005631, allocations: 422.5 kB / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003389/0.00597, allocations: 11.88 kB / 445.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.00616, allocations: 63.36 kB / 446 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004602/0.00662, allocations: 174.4 kB / 446.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.006896, allocations: 107.8 kB / 446.2 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007486/0.007644, allocations: 0.5594 MB / 446.8 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.007923, allocations: 117.1 kB / 446.9 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005499/0.008473, allocations: 315.4 kB / 447.2 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.008767, allocations: 155.5 kB / 447.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.096e-05/0.008847, allocations: 40 kB / 447.4 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.837e-05/0.008946, allocations: 40 kB / 447.4 MB, free: 484 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.322e-05/0.009039, allocations: 95.61 kB / 447.5 MB, free: 388 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.009294, allocations: 183.6 kB / 447.7 MB, free: 204 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.181/0.1903, allocations: 0.5179 MB / 448.2 MB, free: 16.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1903, allocations: 0.7812 kB / 448.2 MB, free: 16.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1903, allocations: 2.922 kB / 448.2 MB, free: 16.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.595e-05/0.1903, allocations: 1.031 kB / 448.2 MB, free: 16.42 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001148/0.1914, allocations: 0.6463 MB / 448.9 MB, free: 16.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1915, allocations: 12.69 kB / 448.9 MB, free: 16.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.1916, allocations: 51.62 kB / 448.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.1919, allocations: 231.3 kB / 449.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.192, allocations: 35.72 kB / 449.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.494e-05/0.1921, allocations: 54.08 kB / 449.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/0.1928, allocations: 460.5 kB / 449.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/0.1928, allocations: 8.078 kB / 449.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.1928, allocations: 23.12 kB / 449.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.1929, allocations: 15.41 kB / 449.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.1933, allocations: 265.5 kB / 450 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.1952, allocations: 1.495 MB / 451.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/0.1956, allocations: 397.7 kB / 451.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.1958, allocations: 147.2 kB / 452 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1958, allocations: 7.875 kB / 452.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.1958, allocations: 49.11 kB / 452.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.374e-06/0.1958, allocations: 0 / 452.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006786/0.1965, allocations: 357.4 kB / 452.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.1966, allocations: 270.2 kB / 452.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1968, allocations: 243.3 kB / 453 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1968, allocations: 32.45 kB / 453 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1969, allocations: 251.3 kB / 453.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.421e-05/0.197, allocations: 189.9 kB / 453.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.1971, allocations: 119 kB / 453.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.094e-05/0.1972, allocations: 355.5 kB / 453.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.1974, allocations: 115.8 kB / 454 MB, free: 13.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.1976, allocations: 425.4 kB / 454.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005047/0.1981, allocations: 0.5698 MB / 455 MB, free: 12.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.1982, allocations: 2.75 kB / 455 MB, free: 12.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008164/0.199, allocations: 0.5668 MB / 455.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.199, allocations: 8.75 kB / 455.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.199, allocations: 15.31 kB / 455.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-05/0.199, allocations: 14.09 kB / 455.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005382/0.1996, allocations: 180.1 kB / 455.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/0.1996, allocations: 20.97 kB / 455.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.1999, allocations: 63.72 kB / 455.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.1999, allocations: 36.03 kB / 455.9 MB, free: 11.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.2001, allocations: 182.2 kB / 456.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.2003, allocations: 43.86 kB / 456.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.943e-05/0.2003, allocations: 39.27 kB / 456.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.2003, allocations: 7.125 kB / 456.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.2004, allocations: 2.594 kB / 456.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.2004, allocations: 5.031 kB / 456.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008331/0.2012, allocations: 310.9 kB / 456.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2012, allocations: 7.719 kB / 456.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005431/0.2017, allocations: 122.8 kB / 456.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.2018, allocations: 11.86 kB / 456.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.2018, allocations: 19.41 kB / 456.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.2018, allocations: 7.219 kB / 456.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2018, allocations: 2.812 kB / 456.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006515/0.2025, allocations: 1.078 MB / 457.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.2025, allocations: 35.94 kB / 457.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.2026, allocations: 11.89 kB / 457.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004227/0.203, allocations: 10.97 kB / 457.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.203, allocations: 34.16 kB / 457.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.2031, allocations: 11.11 kB / 457.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.2032, allocations: 167.9 kB / 458 MB, free: 10.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2032, allocations: 0 / 458 MB, free: 10.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008271/0.204, allocations: 140 kB / 458.1 MB, free: 10.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001556/0.2042, allocations: 116.4 kB / 458.2 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005106/0.2047, allocations: 335.4 kB / 458.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2047, allocations: 1.375 kB / 458.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.2048, allocations: 122.2 kB / 458.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.206, allocations: 94.52 kB / 458.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.2079, allocations: 1.489 MB / 460.2 MB, free: 8.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.2082, allocations: 227.5 kB / 460.5 MB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.2084, allocations: 47.56 kB / 460.5 MB, free: 8.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.2084, allocations: 36.06 kB / 460.5 MB, free: 8.84 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2084, allocations: 1.062 kB / 460.5 MB, free: 8.84 MB / 366.1 MB Notification: Performance of Templates: time 0.009968/0.2184, allocations: 4.072 MB / 464.6 MB, free: 8.336 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1756931245327]