Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008597/0.0008597, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001496/0.001496, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9217/0.9217, allocations: 177.1 MB / 204.3 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2323/0.2323, allocations: 32.78 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] 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.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_0_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 439.5 MB, free: 4.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.161e-05, allocations: 4.953 kB / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002774/0.002795, allocations: 2.486 MB / 442 MB, free: 1.766 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.003836, allocations: 0.6894 MB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.003982, allocations: 11.88 kB / 442.7 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.004117, allocations: 43.52 kB / 442.8 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.004254, allocations: 99.14 kB / 442.9 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.00456, allocations: 99.72 kB / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.004827, allocations: 350.3 kB / 443.3 MB, free: 488 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.004968, allocations: 58.12 kB / 443.4 MB, free: 424 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.005194, allocations: 191.5 kB / 443.6 MB, free: 232 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.005317, allocations: 99.69 kB / 443.7 MB, free: 132 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.005348, allocations: 24 kB / 443.7 MB, free: 108 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.439e-05/0.005423, allocations: 24 kB / 443.7 MB, free: 84 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.46e-05/0.005457, allocations: 59.75 kB / 443.8 MB, free: 24 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.158/0.1634, allocations: 98.59 kB / 443.9 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.1638, allocations: 310.8 kB / 444.2 MB, free: 43.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1638, allocations: 0 / 444.2 MB, free: 43.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1638, allocations: 0 / 444.2 MB, free: 43.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1638, allocations: 3 kB / 444.2 MB, free: 43.6 MB / 410.7 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.0006552/0.1645, allocations: 0.5154 MB / 444.7 MB, free: 43.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.1645, allocations: 8.75 kB / 444.7 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.904e-05/0.1646, allocations: 63.06 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.1647, allocations: 60.14 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.165, allocations: 212.2 kB / 445 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1651, allocations: 23.88 kB / 445 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.1651, allocations: 30.61 kB / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.1654, allocations: 278 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.1654, allocations: 6.719 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.1654, allocations: 13 kB / 445.4 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1654, allocations: 9.25 kB / 445.4 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.1657, allocations: 182.3 kB / 445.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008333/0.1665, allocations: 1.201 MB / 446.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.1667, allocations: 236.6 kB / 447 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.678e-05/0.1668, allocations: 91.08 kB / 447.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1669, allocations: 5.281 kB / 447.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.1669, allocations: 45.14 kB / 447.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.1669, allocations: 0 / 447.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001183/0.1681, allocations: 1.202 MB / 448.3 MB, free: 41.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.1681, allocations: 135.2 kB / 448.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.1682, allocations: 237 kB / 448.7 MB, free: 41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.1682, allocations: 29.2 kB / 448.7 MB, free: 40.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.1683, allocations: 178.8 kB / 448.9 MB, free: 40.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.1683, allocations: 125.7 kB / 449 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.1684, allocations: 69.8 kB / 449.1 MB, free: 40.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.646e-05/0.1684, allocations: 338.9 kB / 449.4 MB, free: 40.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1685, allocations: 103.4 kB / 449.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.1687, allocations: 237.7 kB / 449.7 MB, free: 40.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.169, allocations: 368.5 kB / 450.1 MB, free: 40.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.169, allocations: 3.938 kB / 450.1 MB, free: 40.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000386/0.1694, allocations: 397.6 kB / 450.5 MB, free: 39.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1694, allocations: 9.406 kB / 450.5 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1694, allocations: 5.594 kB / 450.5 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1694, allocations: 5.781 kB / 450.5 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.1696, allocations: 104.8 kB / 450.6 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1696, allocations: 12.78 kB / 450.6 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.96e-05/0.1697, allocations: 23.7 kB / 450.7 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.1697, allocations: 17.59 kB / 450.7 MB, free: 39.91 MB / 410.7 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 7.413e-05/0.1698, allocations: 154.4 kB / 450.8 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.1699, allocations: 27.47 kB / 450.8 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.1699, allocations: 42.12 kB / 450.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.1699, allocations: 2.562 kB / 450.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1699, allocations: 2.688 kB / 450.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1699, allocations: 9.391 kB / 450.9 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007058/0.1706, allocations: 0.9186 MB / 451.8 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1706, allocations: 2.844 kB / 451.8 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.1708, allocations: 84.39 kB / 451.9 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1708, allocations: 2.75 kB / 451.9 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1708, allocations: 9.859 kB / 451.9 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1708, allocations: 7.375 kB / 451.9 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1708, allocations: 2.719 kB / 451.9 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.1713, allocations: 0.7357 MB / 452.7 MB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.1713, allocations: 23.14 kB / 452.7 MB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.1713, allocations: 6.938 kB / 452.7 MB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.1715, allocations: 15.94 kB / 452.7 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.1715, allocations: 32.88 kB / 452.7 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.1715, allocations: 12.66 kB / 452.8 MB, free: 38.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.702e-05/0.1716, allocations: 160.5 kB / 452.9 MB, free: 38.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1716, allocations: 0 / 452.9 MB, free: 38.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002891/0.1719, allocations: 72.62 kB / 453 MB, free: 38.43 MB / 410.7 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.0005776/0.1725, allocations: 1.265 MB / 454.2 MB, free: 37.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.1728, allocations: 273.8 kB / 454.5 MB, free: 37.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.1728, allocations: 0 / 454.5 MB, free: 37.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.1729, allocations: 131.3 kB / 454.6 MB, free: 37.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006537/0.1736, allocations: 51.72 kB / 454.7 MB, free: 37.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.1759, allocations: 3.358 MB / 458.1 MB, free: 34.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.473e-05/0.176, allocations: 167.9 kB / 458.2 MB, free: 34.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.182e-05/0.1761, allocations: 37.27 kB / 458.3 MB, free: 34.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.847e-05/0.1761, allocations: 91.28 kB / 458.3 MB, free: 34.67 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1761, allocations: 0 / 458.3 MB, free: 34.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.1934, allocations: 6.158 MB / 464.5 MB, free: 33.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.174/7.368, allocations: 10.16 kB / 464.5 MB, free: 33.38 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Rotational.TestSpeed_res.csv. Warning: Get data of variable speed4.s from file ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.500535405240953]