Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.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.001302/0.001302, allocations: 116.8 kB / 19.17 MB, free: 3.871 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.001422/0.001422, allocations: 206.6 kB / 22.12 MB, free: 0.9219 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.491/1.491, allocations: 230.3 MB / 255.2 MB, free: 15.22 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.2327/0.2327, allocations: 46.92 MB / 358.2 MB, free: 10.41 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.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs") [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.002361/0.002361, allocations: 79.86 kB / 0.4925 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1489, allocations: 66.01 MB / 0.557 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007703/0.1566, allocations: 5.801 MB / 0.5626 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004225/0.1608, allocations: 2.352 MB / 0.5649 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006391/0.1615, allocations: 55.5 kB / 0.565 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005115/0.162, allocations: 230 kB / 0.5652 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.1624, allocations: 194.2 kB / 0.5654 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.1635, allocations: 470.8 kB / 0.5658 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.1647, allocations: 1.11 MB / 0.5669 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006663/0.1653, allocations: 441.5 kB / 0.5673 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.1658, allocations: 382.7 kB / 0.5677 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.1663, allocations: 402 kB / 0.5681 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.1664, allocations: 96 kB / 0.5682 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002651/0.1667, allocations: 155.9 kB / 0.5683 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.1669, allocations: 215.3 kB / 0.5685 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004417/0.1673, allocations: 469.6 kB / 0.569 GB, free: 9.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.1687, allocations: 1.284 MB / 0.5702 GB, free: 7.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1687, allocations: 0 / 0.5702 GB, free: 7.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1687, allocations: 0 / 0.5702 GB, free: 7.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.1687, allocations: 4 kB / 0.5702 GB, free: 7.867 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001666/0.1704, allocations: 1.164 MB / 0.5714 GB, free: 6.652 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1705, allocations: 8.031 kB / 0.5714 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002793/0.1707, allocations: 120.2 kB / 0.5715 GB, free: 6.527 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009673/0.1717, allocations: 0.6025 MB / 0.5721 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/0.1718, allocations: 66 kB / 0.5721 GB, free: 5.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.1719, allocations: 95.95 kB / 0.5722 GB, free: 5.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.1734, allocations: 0.8853 MB / 0.5731 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.1734, allocations: 7.938 kB / 0.5731 GB, free: 4.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.057e-05/0.1735, allocations: 39.94 kB / 0.5731 GB, free: 4.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.1735, allocations: 24 kB / 0.5732 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.1745, allocations: 0.5307 MB / 0.5737 GB, free: 4.172 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004483/0.179, allocations: 3.609 MB / 0.5772 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.1796, allocations: 206.7 kB / 0.5774 GB, free: 196 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.1798, allocations: 92.81 kB / 0.5775 GB, free: 100 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/0.1801, allocations: 259.2 kB / 0.5777 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.1801, allocations: 34.55 kB / 0.5778 GB, free: 15.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.754e-06/0.1801, allocations: 0 / 0.5778 GB, free: 15.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.002524/0.1827, allocations: 1.305 MB / 0.579 GB, free: 14.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.1827, allocations: 59.34 kB / 0.5791 GB, free: 14.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004738/0.1832, allocations: 405.8 kB / 0.5795 GB, free: 13.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.1832, allocations: 29.7 kB / 0.5795 GB, free: 13.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.1836, allocations: 483.5 kB / 0.58 GB, free: 13.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.1837, allocations: 146.8 kB / 0.5801 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.1839, allocations: 98.2 kB / 0.5802 GB, free: 13.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.1841, allocations: 362.8 kB / 0.5806 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.1843, allocations: 109.1 kB / 0.5807 GB, free: 12.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.1847, allocations: 310 kB / 0.581 GB, free: 12.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006398/0.1853, allocations: 463.6 kB / 0.5814 GB, free: 11.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1853, allocations: 0 / 0.5814 GB, free: 11.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008646/0.1862, allocations: 0.521 MB / 0.5819 GB, free: 11.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.1862, allocations: 12.12 kB / 0.5819 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.1862, allocations: 4 kB / 0.5819 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000227/0.1864, allocations: 36.84 kB / 0.582 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.1868, allocations: 131.8 kB / 0.5821 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004691/0.1873, allocations: 0.5601 MB / 0.5826 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.1875, allocations: 20 kB / 0.5826 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.1876, allocations: 24 kB / 0.5827 GB, free: 10.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003422/0.1879, allocations: 233.7 kB / 0.5829 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.996e-05/0.188, allocations: 55.61 kB / 0.5829 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006695/0.1887, allocations: 327 kB / 0.5833 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1887, allocations: 4 kB / 0.5833 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1887, allocations: 0 / 0.5833 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1887, allocations: 4 kB / 0.5833 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.1903, allocations: 1.051 MB / 0.5843 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1903, allocations: 7.938 kB / 0.5843 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.1906, allocations: 84.06 kB / 0.5844 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001503/0.1908, allocations: 36.77 kB / 0.5844 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.1908, allocations: 12 kB / 0.5844 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004053/0.1912, allocations: 0.5485 MB / 0.585 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1912, allocations: 0 / 0.585 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008681/0.1921, allocations: 0.5577 MB / 0.5855 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.1922, allocations: 120.8 kB / 0.5856 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.1922, allocations: 8 kB / 0.5856 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.1924, allocations: 12 kB / 0.5856 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.1925, allocations: 31.94 kB / 0.5857 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.1925, allocations: 12 kB / 0.5857 GB, free: 7.102 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003112/0.1928, allocations: 271.1 kB / 0.5859 GB, free: 6.844 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1928, allocations: 0 / 0.5859 GB, free: 6.844 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005788/0.1934, allocations: 127.9 kB / 0.5861 GB, free: 6.719 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001995/0.1936, allocations: 123.4 kB / 0.5862 GB, free: 6.586 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006578/0.1942, allocations: 313.2 kB / 0.5865 GB, free: 6.281 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1943, allocations: 3.938 kB / 0.5865 GB, free: 6.277 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.1945, allocations: 140.1 kB / 0.5866 GB, free: 6.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.1951, allocations: 73.47 kB / 0.5867 GB, free: 6.074 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.1979, allocations: 1.686 MB / 0.5883 GB, free: 4.332 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006783/0.1986, allocations: 0.96 MB / 0.5893 GB, free: 3.348 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.1987, allocations: 43.38 kB / 0.5893 GB, free: 3.305 MB / 446.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1987, allocations: 0 / 0.5893 GB, free: 3.305 MB / 446.1 MB Notification: Performance of Templates: time 0.257/0.4558, allocations: 11.31 MB / 0.6004 GB, free: 34.25 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.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.675884614000097]