Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.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.001283/0.001283, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001403/0.001403, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.489/1.489, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2475/0.2475, allocations: 46.92 MB / 357 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002507/0.002507, allocations: 83.86 kB / 0.4909 GB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1341, allocations: 66.04 MB / 0.5554 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004736/0.1388, allocations: 2.644 MB / 0.558 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1403, allocations: 0.7245 MB / 0.5587 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.1405, allocations: 7.938 kB / 0.5587 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.1407, allocations: 47.52 kB / 0.5588 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.1409, allocations: 87.2 kB / 0.5589 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.1412, allocations: 103.8 kB / 0.559 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004307/0.1416, allocations: 342.5 kB / 0.5593 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.1418, allocations: 57.94 kB / 0.5593 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.1421, allocations: 147.5 kB / 0.5595 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.1423, allocations: 131.3 kB / 0.5596 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.167e-05/0.1423, allocations: 24 kB / 0.5596 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.691e-05/0.1424, allocations: 28 kB / 0.5597 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.1424, allocations: 51.84 kB / 0.5597 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.1426, allocations: 151.2 kB / 0.5599 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004285/0.143, allocations: 310.6 kB / 0.5602 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.143, allocations: 0 / 0.5602 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.143, allocations: 0 / 0.5602 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.143, allocations: 0 / 0.5602 GB, free: 0.7188 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.001031/0.1441, allocations: 0.6038 MB / 0.5607 GB, free: 68 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1441, allocations: 8.031 kB / 0.5608 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.47e-05/0.1442, allocations: 58.77 kB / 0.5608 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.1445, allocations: 52.69 kB / 0.5609 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/0.1449, allocations: 283.8 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.1449, allocations: 16.94 kB / 0.5611 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.145, allocations: 32.33 kB / 0.5612 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.1455, allocations: 278 kB / 0.5614 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.1455, allocations: 15.89 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.1455, allocations: 12 kB / 0.5615 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1456, allocations: 4 kB / 0.5615 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004531/0.146, allocations: 187.7 kB / 0.5616 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.1479, allocations: 1.298 MB / 0.5629 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.1484, allocations: 242.3 kB / 0.5631 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.1486, allocations: 95.39 kB / 0.5632 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.1486, allocations: 7.984 kB / 0.5632 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.1487, allocations: 42.69 kB / 0.5633 GB, free: 13.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.1487, allocations: 0 / 0.5633 GB, free: 13.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.00283/0.1515, allocations: 1.582 MB / 0.5648 GB, free: 11.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/0.1516, allocations: 140.5 kB / 0.565 GB, free: 11.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.1518, allocations: 225 kB / 0.5652 GB, free: 11.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.1519, allocations: 29.7 kB / 0.5652 GB, free: 11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.152, allocations: 180.5 kB / 0.5654 GB, free: 10.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.1521, allocations: 130.9 kB / 0.5655 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.1522, allocations: 62.14 kB / 0.5656 GB, free: 10.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1524, allocations: 342.8 kB / 0.5659 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.1526, allocations: 96.81 kB / 0.566 GB, free: 10.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.1531, allocations: 241.5 kB / 0.5662 GB, free: 9.898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006614/0.1537, allocations: 368.8 kB / 0.5666 GB, free: 9.477 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1537, allocations: 7.938 kB / 0.5666 GB, free: 9.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000835/0.1546, allocations: 397.3 kB / 0.567 GB, free: 9.074 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.1546, allocations: 4 kB / 0.567 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1546, allocations: 8 kB / 0.567 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.1546, allocations: 4 kB / 0.567 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.155, allocations: 100.2 kB / 0.5671 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/0.155, allocations: 19.92 kB / 0.5671 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.1552, allocations: 20.3 kB / 0.5671 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.1553, allocations: 20 kB / 0.5671 GB, free: 8.902 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.0001729/0.1554, allocations: 153.6 kB / 0.5673 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.1556, allocations: 31.81 kB / 0.5673 GB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.563e-05/0.1556, allocations: 33.7 kB / 0.5673 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.1557, allocations: 8 kB / 0.5673 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.1557, allocations: 4 kB / 0.5673 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.1557, allocations: 7.984 kB / 0.5674 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.1574, allocations: 0.9819 MB / 0.5683 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.1574, allocations: 0 / 0.5683 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.1578, allocations: 75.89 kB / 0.5684 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.1578, allocations: 7.984 kB / 0.5684 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.1578, allocations: 11.94 kB / 0.5684 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1578, allocations: 4 kB / 0.5684 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1578, allocations: 3.938 kB / 0.5684 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.1589, allocations: 0.7292 MB / 0.5691 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/0.159, allocations: 105 kB / 0.5692 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.1591, allocations: 11.94 kB / 0.5692 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.1594, allocations: 23.97 kB / 0.5693 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.1594, allocations: 27.91 kB / 0.5693 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.1595, allocations: 8 kB / 0.5693 GB, free: 6.562 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.1596, allocations: 164.5 kB / 0.5694 GB, free: 6.398 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1596, allocations: 0 / 0.5694 GB, free: 6.398 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000491/0.1601, allocations: 64 kB / 0.5695 GB, free: 6.336 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.001448/0.1616, allocations: 1.266 MB / 0.5707 GB, free: 5.035 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007205/0.1623, allocations: 272.2 kB / 0.571 GB, free: 4.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1623, allocations: 0.8125 kB / 0.571 GB, free: 4.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.1626, allocations: 128.4 kB / 0.5711 GB, free: 4.645 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006778/0.1633, allocations: 49.05 kB / 0.5712 GB, free: 4.602 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00533/0.1686, allocations: 3.515 MB / 0.5746 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.1691, allocations: 0.7681 MB / 0.5754 GB, free: 76 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.1692, allocations: 34.95 kB / 0.5754 GB, free: 40 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.1694, allocations: 99.47 kB / 0.5755 GB, free: 15.94 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1694, allocations: 4 kB / 0.5755 GB, free: 15.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.2005, allocations: 5.405 MB / 0.5808 GB, free: 10.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.515/8.715, allocations: 8 kB / 0.5808 GB, free: 10.6 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Rotational.TestSpeed_res.csv. Warning: Get data of variable speed4.s from file ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.189169821911491]