Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",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.001222/0.001222, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001201/0.001201, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2116/0.2116, allocations: 44.17 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 69.3 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1397, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004413/0.1442, allocations: 3.259 MB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1455, allocations: 0.8026 MB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.1456, allocations: 11.94 kB / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.1459, allocations: 79.17 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.1462, allocations: 166.5 kB / 473.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1465, allocations: 111.8 kB / 473.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000534/0.147, allocations: 0.591 MB / 474.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.1473, allocations: 169.3 kB / 474.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.1475, allocations: 219.2 kB / 474.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.1478, allocations: 239 kB / 475 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.1478, allocations: 40 kB / 475 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.289e-05/0.1479, allocations: 48 kB / 475.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.474e-05/0.148, allocations: 103.6 kB / 475.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.1482, allocations: 262.8 kB / 475.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.1488, allocations: 0.5527 MB / 476 MB, free: 7.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1488, allocations: 0 / 476 MB, free: 7.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1488, allocations: 4 kB / 476 MB, free: 7.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1488, allocations: 0 / 476 MB, free: 7.617 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00104/0.1498, allocations: 0.7551 MB / 476.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1499, allocations: 12.03 kB / 476.8 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.692e-05/0.15, allocations: 90.7 kB / 476.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.243e-05/0.1501, allocations: 52.38 kB / 476.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.1505, allocations: 322.4 kB / 477.2 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.1505, allocations: 37.38 kB / 477.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.054e-05/0.1506, allocations: 56.19 kB / 477.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006516/0.1512, allocations: 438.7 kB / 477.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.1513, allocations: 7.906 kB / 477.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.1513, allocations: 20 kB / 477.8 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.1513, allocations: 12 kB / 477.8 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004711/0.1518, allocations: 322.3 kB / 478.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.1534, allocations: 1.146 MB / 479.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/0.1541, allocations: 0.4891 MB / 479.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.1543, allocations: 218.8 kB / 479.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1544, allocations: 8.438 kB / 479.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.1544, allocations: 38.94 kB / 480 MB, free: 3.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 1.864e-06/0.1544, allocations: 0 / 480 MB, free: 3.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.002789/0.1572, allocations: 2.131 MB / 482.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.1573, allocations: 85.67 kB / 482.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1575, allocations: 258.9 kB / 482.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.1575, allocations: 37.7 kB / 482.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.1577, allocations: 209 kB / 482.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.1578, allocations: 272.1 kB / 482.9 MB, free: 228 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.158, allocations: 118.7 kB / 483.1 MB, free: 104 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1581, allocations: 354.7 kB / 483.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.1584, allocations: 165.9 kB / 483.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.1587, allocations: 276.8 kB / 483.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005986/0.1593, allocations: 470.8 kB / 484.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1593, allocations: 0 / 484.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007342/0.16, allocations: 0.5603 MB / 484.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1601, allocations: 7.984 kB / 484.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/0.1601, allocations: 4 kB / 484.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.1601, allocations: 8 kB / 484.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.1607, allocations: 180 kB / 485.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.1607, allocations: 8 kB / 485.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.1609, allocations: 31.92 kB / 485.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.161, allocations: 24 kB / 485.1 MB, free: 13.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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.0001797/0.1611, allocations: 181.6 kB / 485.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.338e-05/0.1612, allocations: 47.44 kB / 485.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1613, allocations: 55.64 kB / 485.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1614, allocations: 4 kB / 485.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.1614, allocations: 8 kB / 485.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.1614, allocations: 11.86 kB / 485.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.1632, allocations: 1.442 MB / 486.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.1632, allocations: 4 kB / 486.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005871/0.1638, allocations: 163.9 kB / 487 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/0.1638, allocations: 8 kB / 487 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.1639, allocations: 23.88 kB / 487.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/0.1639, allocations: 7.984 kB / 487.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1639, allocations: 4 kB / 487.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.1649, allocations: 0.9119 MB / 488 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-05/0.165, allocations: 124.4 kB / 488.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.712e-05/0.1651, allocations: 23.94 kB / 488.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.1654, allocations: 16 kB / 488.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.1654, allocations: 56.31 kB / 488.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.1655, allocations: 23.94 kB / 488.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.1656, allocations: 178 kB / 488.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1656, allocations: 0 / 488.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005017/0.1661, allocations: 144 kB / 488.5 MB, free: 10.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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.001359/0.1675, allocations: 1.468 MB / 490 MB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008175/0.1683, allocations: 488 kB / 490.5 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1683, allocations: 0 / 490.5 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.1686, allocations: 234.2 kB / 490.7 MB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/0.1694, allocations: 142 kB / 490.8 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005558/0.175, allocations: 4.813 MB / 495.7 MB, free: 2.945 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.1754, allocations: 0.8447 MB / 496.5 MB, free: 2.074 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002077/0.1757, allocations: 60.64 kB / 496.6 MB, free: 2.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.1759, allocations: 174.8 kB / 496.7 MB, free: 1.848 MB / 366.1 MB Notification: Performance of SimCode: time 5.52e-07/0.1759, allocations: 0 / 496.7 MB, free: 1.848 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.2028, allocations: 9.665 MB / 0.4945 GB, free: 8.359 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/8.009, allocations: 11.94 kB / 0.4945 GB, free: 8.352 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches