Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001388, allocations: 102.7 kB / 16.27 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 188.6 kB / 17.19 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2244/0.2244, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 66.39 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.135, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.006082/0.1411, allocations: 5.753 MB / 446.4 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004115/0.1453, allocations: 2.334 MB / 448.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.1465, allocations: 39.75 kB / 448.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007525/0.1473, allocations: 222.1 kB / 449 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007878/0.1481, allocations: 174.3 kB / 449.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.1495, allocations: 466.9 kB / 449.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.1512, allocations: 1.118 MB / 450.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.1524, allocations: 0.6146 MB / 451.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007289/0.1532, allocations: 362.7 kB / 451.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008682/0.1541, allocations: 386.1 kB / 452.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003522/0.1544, allocations: 96 kB / 452.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006488/0.1551, allocations: 163.8 kB / 452.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004343/0.1556, allocations: 211.3 kB / 452.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006004/0.1562, allocations: 469.6 kB / 453 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.1575, allocations: 1.23 MB / 454.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1575, allocations: 0 / 454.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1575, allocations: 0 / 454.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.1575, allocations: 0 / 454.2 MB, free: 9.152 MB / 334.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.001639/0.1592, allocations: 1.123 MB / 455.3 MB, free: 7.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.1593, allocations: 15.89 kB / 455.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.1594, allocations: 135.9 kB / 455.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.1596, allocations: 107.7 kB / 455.6 MB, free: 7.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008132/0.1604, allocations: 0.5706 MB / 456.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.578e-05/0.1605, allocations: 69.98 kB / 456.2 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.1606, allocations: 92 kB / 456.3 MB, free: 6.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.1621, allocations: 0.8891 MB / 457.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/0.1621, allocations: 7.984 kB / 457.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/0.1622, allocations: 36 kB / 457.2 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.1622, allocations: 24 kB / 457.3 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.1634, allocations: 0.5229 MB / 457.8 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004425/0.1679, allocations: 3.654 MB / 461.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.1685, allocations: 220.1 kB / 461.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.1687, allocations: 96.83 kB / 461.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003488/0.1691, allocations: 251.3 kB / 462 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.1691, allocations: 35.06 kB / 462 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 2.585e-06/0.1691, allocations: 4 kB / 462 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002884/0.172, allocations: 1.299 MB / 463.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.1721, allocations: 63.34 kB / 463.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.1726, allocations: 393.9 kB / 463.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.1726, allocations: 37.69 kB / 463.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.1729, allocations: 466.1 kB / 464.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.1731, allocations: 138.1 kB / 464.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1732, allocations: 94.16 kB / 464.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.1734, allocations: 362.8 kB / 464.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.1736, allocations: 113.1 kB / 465 MB, free: 13.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.174, allocations: 314.2 kB / 465.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008906/0.1749, allocations: 452.5 kB / 465.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.1749, allocations: 8 kB / 465.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001078/0.176, allocations: 0.505 MB / 466.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.1761, allocations: 8 kB / 466.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.1761, allocations: 11.98 kB / 466.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/0.1763, allocations: 36.78 kB / 466.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.1767, allocations: 136.2 kB / 466.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004272/0.1772, allocations: 0.5602 MB / 467 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.1774, allocations: 16 kB / 467 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.1775, allocations: 24 kB / 467 MB, free: 11.6 MB / 350.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.0003607/0.1779, allocations: 229.6 kB / 467.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.918e-05/0.1779, allocations: 51.28 kB / 467.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007155/0.1787, allocations: 331.3 kB / 467.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.1787, allocations: 4 kB / 467.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.1787, allocations: 0 / 467.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1787, allocations: 3.984 kB / 467.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.1805, allocations: 1.057 MB / 468.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1805, allocations: 0 / 468.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.1808, allocations: 87.89 kB / 468.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001781/0.181, allocations: 32.78 kB / 468.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.1811, allocations: 12.16 kB / 468.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004002/0.1815, allocations: 0.5484 MB / 469.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1815, allocations: 4.031 kB / 469.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009378/0.1824, allocations: 0.5631 MB / 469.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.1826, allocations: 116.5 kB / 470 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.1827, allocations: 8.188 kB / 470 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.1828, allocations: 8 kB / 470 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.1829, allocations: 35.84 kB / 470.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.183, allocations: 15.98 kB / 470.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003414/0.1833, allocations: 263.2 kB / 470.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1833, allocations: 0 / 470.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006604/0.184, allocations: 132 kB / 470.5 MB, free: 7.941 MB / 350.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.001526/0.1855, allocations: 1.104 MB / 471.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000938/0.1865, allocations: 343.4 kB / 471.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.1865, allocations: 5.625 kB / 471.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002866/0.1868, allocations: 145.3 kB / 472.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.1874, allocations: 85.88 kB / 472.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008379/0.1958, allocations: 4.881 MB / 477 MB, free: 1.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008352/0.1967, allocations: 0.9561 MB / 478 MB, free: 92 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002577/0.197, allocations: 60.53 kB / 478 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004069/0.1974, allocations: 291.4 kB / 478.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1974, allocations: 4 kB / 478.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/0.2329, allocations: 9.135 MB / 487.5 MB, free: 6.621 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.86, allocations: 7.922 kB / 487.5 MB, free: 6.613 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches