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.00135/0.00135, allocations: 112.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.001407/0.001407, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.47/1.47, 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.2341/0.2341, allocations: 46.89 MB / 358.1 MB, free: 10.52 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.003234/0.003234, allocations: 79.52 kB / 0.4923 GB, free: 26.6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1453, allocations: 65.98 MB / 0.5568 GB, free: 8.648 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007605/0.1529, allocations: 5.802 MB / 0.5624 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004514/0.1574, allocations: 2.36 MB / 0.5647 GB, free: 456 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008976/0.1583, allocations: 43.75 kB / 0.5648 GB, free: 412 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005708/0.1588, allocations: 230 kB / 0.565 GB, free: 180 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005324/0.1594, allocations: 186.4 kB / 0.5652 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.1606, allocations: 470.9 kB / 0.5656 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.1619, allocations: 1.11 MB / 0.5667 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007057/0.1626, allocations: 441.4 kB / 0.5671 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005396/0.1631, allocations: 378.6 kB / 0.5675 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.1636, allocations: 394 kB / 0.5679 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.1637, allocations: 96 kB / 0.568 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.164, allocations: 159.9 kB / 0.5681 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.1642, allocations: 215.3 kB / 0.5683 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004298/0.1646, allocations: 473.6 kB / 0.5688 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.1661, allocations: 1.284 MB / 0.57 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1661, allocations: 0 / 0.57 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1661, allocations: 4 kB / 0.57 GB, free: 10.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.1661, allocations: 0 / 0.57 GB, free: 10.98 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.001711/0.1678, allocations: 1.153 MB / 0.5712 GB, free: 9.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1678, allocations: 11.97 kB / 0.5712 GB, free: 9.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002714/0.1681, allocations: 120.2 kB / 0.5713 GB, free: 9.652 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000908/0.169, allocations: 0.5986 MB / 0.5719 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.479e-05/0.1691, allocations: 74 kB / 0.5719 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.1692, allocations: 87.95 kB / 0.572 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.1707, allocations: 0.8931 MB / 0.5729 GB, free: 7.898 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/0.1707, allocations: 7.938 kB / 0.5729 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/0.1708, allocations: 36 kB / 0.5729 GB, free: 7.855 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.1708, allocations: 28 kB / 0.573 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.1718, allocations: 0.5191 MB / 0.5735 GB, free: 7.305 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003853/0.1757, allocations: 3.612 MB / 0.577 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/0.1763, allocations: 214.6 kB / 0.5772 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.1764, allocations: 100.7 kB / 0.5773 GB, free: 3.211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/0.1767, allocations: 247.3 kB / 0.5775 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1767, allocations: 34.56 kB / 0.5776 GB, free: 2.871 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/0.1767, allocations: 0 / 0.5776 GB, free: 2.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.002572/0.1793, allocations: 1.309 MB / 0.5789 GB, free: 1.465 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.1793, allocations: 59.34 kB / 0.5789 GB, free: 1.395 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/0.1798, allocations: 401.8 kB / 0.5793 GB, free: 1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.1798, allocations: 33.7 kB / 0.5793 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.1802, allocations: 483.5 kB / 0.5798 GB, free: 492 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.1803, allocations: 134.9 kB / 0.5799 GB, free: 356 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.1804, allocations: 98.2 kB / 0.58 GB, free: 252 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.1806, allocations: 362.8 kB / 0.5804 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.1808, allocations: 113.1 kB / 0.5805 GB, free: 15.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.1812, allocations: 310 kB / 0.5808 GB, free: 15.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000687/0.1819, allocations: 459.6 kB / 0.5812 GB, free: 14.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1819, allocations: 0 / 0.5812 GB, free: 14.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009119/0.1828, allocations: 0.5173 MB / 0.5817 GB, free: 14.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.1829, allocations: 12 kB / 0.5817 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.1829, allocations: 4 kB / 0.5817 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002633/0.1831, allocations: 44.77 kB / 0.5818 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.1835, allocations: 123.8 kB / 0.5819 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004889/0.184, allocations: 0.5562 MB / 0.5824 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.1843, allocations: 23.98 kB / 0.5824 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.1843, allocations: 28.06 kB / 0.5825 GB, free: 13.5 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.0004038/0.1847, allocations: 225.7 kB / 0.5827 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.61e-05/0.1848, allocations: 59.59 kB / 0.5827 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006769/0.1855, allocations: 326.9 kB / 0.5831 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1855, allocations: 4 kB / 0.5831 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1855, allocations: 4 kB / 0.5831 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.1855, allocations: 3.984 kB / 0.5831 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.1871, allocations: 1.059 MB / 0.5841 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.1871, allocations: 8 kB / 0.5841 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.1875, allocations: 84.05 kB / 0.5842 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/0.1876, allocations: 32.78 kB / 0.5842 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.1876, allocations: 15.94 kB / 0.5842 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003785/0.188, allocations: 0.5485 MB / 0.5848 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.188, allocations: 3.938 kB / 0.5848 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008081/0.1888, allocations: 0.5616 MB / 0.5853 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.697e-05/0.1889, allocations: 116.8 kB / 0.5854 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.189, allocations: 12 kB / 0.5854 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.1891, allocations: 11.98 kB / 0.5855 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.1892, allocations: 27.91 kB / 0.5855 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.1892, allocations: 8 kB / 0.5855 GB, free: 10.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002998/0.1895, allocations: 271.1 kB / 0.5857 GB, free: 9.965 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1895, allocations: 0 / 0.5857 GB, free: 9.965 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005606/0.1901, allocations: 128 kB / 0.5859 GB, free: 9.84 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.0001984/0.1903, allocations: 119.2 kB / 0.586 GB, free: 9.711 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006737/0.191, allocations: 317 kB / 0.5863 GB, free: 9.402 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.191, allocations: 384 / 0.5863 GB, free: 9.402 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.1912, allocations: 135.8 kB / 0.5864 GB, free: 9.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.1918, allocations: 68.17 kB / 0.5865 GB, free: 9.207 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.1945, allocations: 1.696 MB / 0.5881 GB, free: 7.457 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/0.1952, allocations: 0.96 MB / 0.5891 GB, free: 6.473 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.1953, allocations: 43.42 kB / 0.5891 GB, free: 6.43 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1953, allocations: 0 / 0.5891 GB, free: 6.43 MB / 446.1 MB Notification: Performance of Templates: time 0.01653/0.2118, allocations: 11.31 MB / 0.6002 GB, free: 11.12 MB / 462.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.788192848907784]