Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001353/0.001353, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001537/0.001537, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.493/1.493, allocations: 230.2 MB / 255.1 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2221/0.2221, allocations: 46.9 MB / 358.1 MB, free: 10.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 79.88 kB / 0.4924 GB, free: 8.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.162, allocations: 65.99 MB / 0.5568 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.006303/0.1683, allocations: 3.078 MB / 0.5598 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1697, allocations: 418.5 kB / 0.5602 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.1699, allocations: 8 kB / 0.5602 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.1701, allocations: 67.31 kB / 0.5603 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005308/0.1706, allocations: 166.5 kB / 0.5604 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.171, allocations: 103.9 kB / 0.5605 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007909/0.1718, allocations: 0.5442 MB / 0.5611 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003279/0.1721, allocations: 116.8 kB / 0.5612 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003786/0.1725, allocations: 207.3 kB / 0.5614 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003936/0.1729, allocations: 219 kB / 0.5616 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.414e-05/0.173, allocations: 40 kB / 0.5616 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1731, allocations: 40 kB / 0.5617 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.1732, allocations: 95.69 kB / 0.5617 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.1736, allocations: 254.8 kB / 0.562 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007838/0.1744, allocations: 0.5173 MB / 0.5625 GB, free: 72 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1744, allocations: 0 / 0.5625 GB, free: 72 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1744, allocations: 4 kB / 0.5625 GB, free: 68 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1744, allocations: 0 / 0.5625 GB, free: 68 kB / 414.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.001451/0.1758, allocations: 0.7287 MB / 0.5632 GB, free: 15.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.1759, allocations: 8.031 kB / 0.5632 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.176, allocations: 56.61 kB / 0.5633 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.1765, allocations: 291.7 kB / 0.5636 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.1765, allocations: 37.38 kB / 0.5636 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.1766, allocations: 56.31 kB / 0.5636 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.1776, allocations: 458.7 kB / 0.5641 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/0.1777, allocations: 8.141 kB / 0.5641 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.288e-05/0.1777, allocations: 27.94 kB / 0.5641 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.1778, allocations: 12 kB / 0.5641 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000628/0.1784, allocations: 257.9 kB / 0.5644 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.1817, allocations: 1.692 MB / 0.566 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.1826, allocations: 415.8 kB / 0.5664 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.1829, allocations: 147.7 kB / 0.5666 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.183, allocations: 8 kB / 0.5666 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.033e-05/0.183, allocations: 46.5 kB / 0.5666 GB, free: 11.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 3.436e-06/0.183, allocations: 0 / 0.5666 GB, free: 11.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=42): time 0.001238/0.1843, allocations: 353.3 kB / 0.5669 GB, free: 11.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002185/0.1845, allocations: 277.4 kB / 0.5672 GB, free: 10.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004206/0.1849, allocations: 254.9 kB / 0.5675 GB, free: 10.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.1849, allocations: 37.64 kB / 0.5675 GB, free: 10.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.1852, allocations: 248.2 kB / 0.5677 GB, free: 10.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.1854, allocations: 190.4 kB / 0.5679 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.1857, allocations: 110.6 kB / 0.568 GB, free: 9.988 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002384/0.1859, allocations: 346.8 kB / 0.5683 GB, free: 9.641 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.1862, allocations: 121.9 kB / 0.5685 GB, free: 9.523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006856/0.1869, allocations: 421.6 kB / 0.5689 GB, free: 8.973 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.1881, allocations: 0.5737 MB / 0.5694 GB, free: 8.262 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.1881, allocations: 0 / 0.5694 GB, free: 8.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001073/0.1891, allocations: 0.5715 MB / 0.57 GB, free: 7.684 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.1892, allocations: 12 kB / 0.57 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.1892, allocations: 11.98 kB / 0.57 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.498e-05/0.1892, allocations: 16 kB / 0.57 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/0.1898, allocations: 175.7 kB / 0.5702 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.708e-05/0.1898, allocations: 19.92 kB / 0.5702 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.1901, allocations: 63.95 kB / 0.5703 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.1902, allocations: 36 kB / 0.5703 GB, free: 7.355 MB / 430.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.0002441/0.1904, allocations: 189.5 kB / 0.5705 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.1906, allocations: 43.75 kB / 0.5705 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.467e-05/0.1907, allocations: 41.7 kB / 0.5706 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.1907, allocations: 11.94 kB / 0.5706 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.1907, allocations: 4 kB / 0.5706 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1907, allocations: 0 / 0.5706 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.1918, allocations: 417.2 kB / 0.571 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.1919, allocations: 4 kB / 0.571 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/0.1924, allocations: 123.9 kB / 0.5711 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.1924, allocations: 4 kB / 0.5711 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.1925, allocations: 16 kB / 0.5711 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.1925, allocations: 11.92 kB / 0.5711 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.1925, allocations: 3.938 kB / 0.5711 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009842/0.1935, allocations: 1.082 MB / 0.5722 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1936, allocations: 108.9 kB / 0.5723 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.1936, allocations: 15.94 kB / 0.5723 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.194, allocations: 11.94 kB / 0.5723 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.194, allocations: 39.89 kB / 0.5724 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1941, allocations: 12 kB / 0.5724 GB, free: 5.133 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.1942, allocations: 173.9 kB / 0.5725 GB, free: 4.965 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1942, allocations: 0 / 0.5725 GB, free: 4.965 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008241/0.195, allocations: 139.7 kB / 0.5727 GB, free: 4.828 MB / 430.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.0001998/0.1952, allocations: 115.2 kB / 0.5728 GB, free: 4.703 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006007/0.1958, allocations: 338.1 kB / 0.5731 GB, free: 4.375 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1958, allocations: 192 / 0.5731 GB, free: 4.375 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.196, allocations: 131.9 kB / 0.5732 GB, free: 4.246 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.1972, allocations: 94.38 kB / 0.5733 GB, free: 4.156 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.2002, allocations: 2.012 MB / 0.5753 GB, free: 2.086 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.2007, allocations: 0.8236 MB / 0.5761 GB, free: 1.234 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.733e-05/0.2008, allocations: 39.44 kB / 0.5761 GB, free: 1.195 MB / 430.1 MB Notification: Performance of SimCode: time 1.293e-06/0.2008, allocations: 0 / 0.5761 GB, free: 1.195 MB / 430.1 MB Notification: Performance of Templates: time 0.008684/0.2095, allocations: 5.143 MB / 0.5811 GB, free: 12.07 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.51413853210397]