Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",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.001216/0.001216, allocations: 103.8 kB / 17.63 MB, free: 5.344 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.001166/0.001166, allocations: 192 kB / 18.56 MB, free: 4.434 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.45/1.45, allocations: 222.9 MB / 242.3 MB, free: 15.14 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.2185/0.2185, allocations: 44.18 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 64.88 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1345, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004375/0.139, allocations: 3.056 MB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008296/0.1398, allocations: 414.5 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.14, allocations: 8 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.1401, allocations: 75.23 kB / 472.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.1405, allocations: 166.5 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.1407, allocations: 99.88 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.1412, allocations: 0.5365 MB / 473.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.1414, allocations: 160.7 kB / 473.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.1416, allocations: 199.3 kB / 474 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.1419, allocations: 219.1 kB / 474.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.71e-05/0.142, allocations: 43.94 kB / 474.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.351e-05/0.142, allocations: 40 kB / 474.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.04e-05/0.1421, allocations: 91.7 kB / 474.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.1423, allocations: 250.9 kB / 474.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005028/0.1428, allocations: 0.514 MB / 475.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/0.1429, allocations: 3.984 kB / 475.2 MB, free: 8.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1429, allocations: 0 / 475.2 MB, free: 8.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1429, allocations: 0 / 475.2 MB, free: 8.379 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001097/0.144, allocations: 0.7097 MB / 475.9 MB, free: 7.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.19e-05/0.1441, allocations: 8.031 kB / 475.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.1442, allocations: 86.7 kB / 476 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.1444, allocations: 56.28 kB / 476 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.1448, allocations: 287.6 kB / 476.3 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.1449, allocations: 33.38 kB / 476.4 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-05/0.145, allocations: 60.27 kB / 476.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.1457, allocations: 458.7 kB / 476.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.975e-05/0.1457, allocations: 19.72 kB / 476.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.1457, allocations: 20 kB / 476.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.1458, allocations: 12 kB / 476.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.1462, allocations: 267.6 kB / 477.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.1484, allocations: 1.687 MB / 478.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.1489, allocations: 427.8 kB / 479.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.1491, allocations: 155.7 kB / 479.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1491, allocations: 7.938 kB / 479.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.1492, allocations: 46.56 kB / 479.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.415e-06/0.1492, allocations: 3.938 kB / 479.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007249/0.1499, allocations: 353.5 kB / 479.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/0.1501, allocations: 277.5 kB / 480.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.1504, allocations: 250.6 kB / 480.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.1504, allocations: 29.7 kB / 480.4 MB, free: 2.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.1506, allocations: 247.6 kB / 480.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.1507, allocations: 181.4 kB / 480.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.1509, allocations: 114.6 kB / 480.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.151, allocations: 346.8 kB / 481.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.1513, allocations: 117.9 kB / 481.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/0.1517, allocations: 429.3 kB / 481.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006314/0.1523, allocations: 0.5733 MB / 482.4 MB, free: 496 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.1523, allocations: 4 kB / 482.4 MB, free: 492 kB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007988/0.1531, allocations: 0.5636 MB / 482.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.1532, allocations: 12 kB / 482.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.1532, allocations: 11.98 kB / 483 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.809e-05/0.1532, allocations: 19.94 kB / 483 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/0.1538, allocations: 175.7 kB / 483.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.1538, allocations: 23.92 kB / 483.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.1541, allocations: 63.72 kB / 483.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.1541, allocations: 32 kB / 483.3 MB, free: 15.57 MB / 366.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.0001867/0.1543, allocations: 189.5 kB / 483.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.1545, allocations: 39.61 kB / 483.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.396e-05/0.1546, allocations: 41.7 kB / 483.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.1546, allocations: 11.88 kB / 483.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.1546, allocations: 4 kB / 483.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.1546, allocations: 4 kB / 483.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009808/0.1556, allocations: 413.1 kB / 483.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1556, allocations: 4 kB / 484 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.1562, allocations: 128 kB / 484.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.1562, allocations: 4 kB / 484.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.1562, allocations: 16 kB / 484.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/0.1562, allocations: 15.86 kB / 484.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1563, allocations: 4 kB / 484.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008423/0.1571, allocations: 1.076 MB / 485.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.1572, allocations: 108.6 kB / 485.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.1573, allocations: 19.94 kB / 485.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.1576, allocations: 8 kB / 485.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.1577, allocations: 31.95 kB / 485.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.1577, allocations: 16 kB / 485.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.1579, allocations: 170 kB / 485.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1579, allocations: 0 / 485.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008103/0.1587, allocations: 131.8 kB / 485.7 MB, free: 13.07 MB / 366.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.001082/0.1598, allocations: 1.65 MB / 487.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006044/0.1604, allocations: 361.5 kB / 487.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1604, allocations: 4.062 kB / 487.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.1606, allocations: 135.7 kB / 487.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.1619, allocations: 94.7 kB / 487.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006254/0.1681, allocations: 5.602 MB / 493.5 MB, free: 4.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/0.1687, allocations: 0.8314 MB / 494.3 MB, free: 3.977 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002062/0.1689, allocations: 48.16 kB / 494.4 MB, free: 3.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.1691, allocations: 139.4 kB / 494.5 MB, free: 3.789 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1691, allocations: 4 kB / 494.5 MB, free: 3.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/0.2017, allocations: 8.118 MB / 0.4909 GB, free: 11.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.686/7.888, allocations: 5.625 kB / 0.4909 GB, free: 11.8 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_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_Inertia.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches