Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.589/1.589, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2395/0.2395, allocations: 46.92 MB / 357.1 MB, free: 10.33 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 63.91 kB / 0.4909 GB, free: 8.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1298, allocations: 65.99 MB / 0.5553 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004225/0.1341, allocations: 2.644 MB / 0.5579 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1356, allocations: 0.7284 MB / 0.5586 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.1358, allocations: 15.88 kB / 0.5587 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.136, allocations: 47.52 kB / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.1362, allocations: 83.2 kB / 0.5588 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.1366, allocations: 95.86 kB / 0.5589 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.137, allocations: 346.4 kB / 0.5592 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.1372, allocations: 61.92 kB / 0.5593 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/0.1376, allocations: 139.5 kB / 0.5594 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.1378, allocations: 135.3 kB / 0.5595 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.162e-05/0.1378, allocations: 20 kB / 0.5595 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.932e-05/0.1379, allocations: 24 kB / 0.5596 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.138, allocations: 59.83 kB / 0.5596 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.1381, allocations: 147.1 kB / 0.5598 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.1386, allocations: 310.6 kB / 0.5601 GB, free: 1.027 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.1386, allocations: 0 / 0.5601 GB, free: 1.027 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.739e-06/0.1386, allocations: 8 kB / 0.5601 GB, free: 1.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.1386, allocations: 0 / 0.5601 GB, free: 1.02 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001096/0.1397, allocations: 0.5921 MB / 0.5606 GB, free: 388 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1397, allocations: 12.03 kB / 0.5607 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.713e-05/0.1398, allocations: 54.73 kB / 0.5607 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.1401, allocations: 56.72 kB / 0.5608 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005018/0.1406, allocations: 280.8 kB / 0.561 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.1406, allocations: 16.94 kB / 0.561 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.1407, allocations: 32.33 kB / 0.5611 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/0.1412, allocations: 286 kB / 0.5614 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.1413, allocations: 7.953 kB / 0.5614 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.1413, allocations: 8 kB / 0.5614 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.1413, allocations: 11.98 kB / 0.5614 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.1418, allocations: 183.8 kB / 0.5616 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.1436, allocations: 1.31 MB / 0.5628 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/0.1441, allocations: 234.6 kB / 0.5631 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.1443, allocations: 99.33 kB / 0.5632 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.1443, allocations: 4 kB / 0.5632 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1444, allocations: 34.56 kB / 0.5632 GB, free: 13.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/0.1444, allocations: 0 / 0.5632 GB, free: 13.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.003012/0.1474, allocations: 1.582 MB / 0.5647 GB, free: 11.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.319e-05/0.1475, allocations: 144.4 kB / 0.5649 GB, free: 11.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.1478, allocations: 229 kB / 0.5651 GB, free: 11.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.1478, allocations: 33.7 kB / 0.5651 GB, free: 11.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.1479, allocations: 176.5 kB / 0.5653 GB, free: 11.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.148, allocations: 126.9 kB / 0.5654 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.1482, allocations: 70.12 kB / 0.5655 GB, free: 10.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1483, allocations: 338.8 kB / 0.5658 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.1486, allocations: 100.8 kB / 0.5659 GB, free: 10.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/0.149, allocations: 233.4 kB / 0.5661 GB, free: 10.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006752/0.1496, allocations: 373 kB / 0.5665 GB, free: 9.781 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.1496, allocations: 0 / 0.5665 GB, free: 9.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008599/0.1505, allocations: 398.1 kB / 0.5669 GB, free: 9.387 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.1505, allocations: 12.06 kB / 0.5669 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1505, allocations: 4 kB / 0.5669 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.1506, allocations: 8 kB / 0.5669 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.151, allocations: 103.8 kB / 0.567 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.151, allocations: 8.078 kB / 0.567 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.1513, allocations: 31.92 kB / 0.567 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.1513, allocations: 16 kB / 0.567 GB, free: 9.207 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.0001836/0.1515, allocations: 163.8 kB / 0.5672 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1516, allocations: 27.81 kB / 0.5672 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.301e-05/0.1517, allocations: 37.7 kB / 0.5672 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.1517, allocations: 4 kB / 0.5673 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1517, allocations: 0 / 0.5673 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.1517, allocations: 7.984 kB / 0.5673 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.1533, allocations: 0.9778 MB / 0.5682 GB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.1534, allocations: 4 kB / 0.5682 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.1537, allocations: 79.88 kB / 0.5683 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.1537, allocations: 8.062 kB / 0.5683 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.1538, allocations: 11.94 kB / 0.5683 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1538, allocations: 0 / 0.5683 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.1538, allocations: 4 kB / 0.5683 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.1549, allocations: 0.7291 MB / 0.569 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.703e-05/0.155, allocations: 100.9 kB / 0.5691 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/0.1551, allocations: 12 kB / 0.5691 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.1553, allocations: 27.97 kB / 0.5692 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.1554, allocations: 23.97 kB / 0.5692 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.1555, allocations: 8 kB / 0.5692 GB, free: 6.871 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001647/0.1556, allocations: 164.5 kB / 0.5694 GB, free: 6.711 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1556, allocations: 0 / 0.5694 GB, free: 6.711 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005251/0.1561, allocations: 64 kB / 0.5694 GB, free: 6.648 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001465/0.1576, allocations: 1.278 MB / 0.5707 GB, free: 5.336 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007401/0.1583, allocations: 273.4 kB / 0.5709 GB, free: 5.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1584, allocations: 0 / 0.5709 GB, free: 5.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.1587, allocations: 123.8 kB / 0.571 GB, free: 4.949 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007093/0.1594, allocations: 46.58 kB / 0.5711 GB, free: 4.906 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00524/0.1646, allocations: 3.519 MB / 0.5745 GB, free: 1.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/0.1651, allocations: 0.7681 MB / 0.5753 GB, free: 376 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001713/0.1653, allocations: 35.52 kB / 0.5753 GB, free: 340 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.1655, allocations: 95.41 kB / 0.5754 GB, free: 244 kB / 430.1 MB Notification: Performance of SimCode: time 1.143e-06/0.1655, allocations: 0 / 0.5754 GB, free: 244 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/0.1999, allocations: 5.413 MB / 0.5807 GB, free: 10.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.867/9.067, allocations: 4.062 kB / 0.5807 GB, free: 10.9 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219824 ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable speed4.s in file ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.csv. Warning: Get data of variable speed4.s from file ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.54658092399768]