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.00149/0.00149, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001606/0.001606, allocations: 213.1 kB / 23.73 MB, free: 4.41 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.561/1.561, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2288/0.2288, allocations: 46.96 MB / 360.9 MB, free: 4.152 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.002846/0.002846, allocations: 71.89 kB / 0.4961 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3387, allocations: 66.04 MB / 0.5606 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004409/0.3431, allocations: 2.497 MB / 0.563 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.3446, allocations: 0.6817 MB / 0.5637 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.3448, allocations: 15.88 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.345, allocations: 43.52 kB / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.3452, allocations: 83.27 kB / 0.5638 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.3455, allocations: 107.8 kB / 0.5639 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.346, allocations: 342.5 kB / 0.5642 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.3462, allocations: 55.89 kB / 0.5643 GB, free: 456 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.3464, allocations: 139.5 kB / 0.5644 GB, free: 316 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.3466, allocations: 123.3 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.701e-05/0.3466, allocations: 24 kB / 0.5646 GB, free: 168 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.199e-05/0.3467, allocations: 28 kB / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.689e-05/0.3468, allocations: 55.77 kB / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.3469, allocations: 123.4 kB / 0.5648 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.3473, allocations: 310.5 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3473, allocations: 0 / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.3473, allocations: 4 kB / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.3473, allocations: 0 / 0.5651 GB, free: 15.65 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.0009115/0.3482, allocations: 0.5285 MB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3483, allocations: 8.031 kB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.285e-05/0.3483, allocations: 54.73 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/0.3486, allocations: 52.72 kB / 0.5657 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.349, allocations: 217.9 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.349, allocations: 16.88 kB / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/0.3491, allocations: 36.31 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/0.3496, allocations: 277.2 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.3496, allocations: 7.953 kB / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.3496, allocations: 8 kB / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.3497, allocations: 8 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.3501, allocations: 187.8 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.3518, allocations: 1.192 MB / 0.5676 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.3522, allocations: 242.3 kB / 0.5678 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.3524, allocations: 95.52 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.3524, allocations: 4 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.3524, allocations: 38.56 kB / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.3524, allocations: 0 / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002597/0.355, allocations: 1.209 MB / 0.5691 GB, free: 11.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/0.3551, allocations: 132.5 kB / 0.5692 GB, free: 10.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.3554, allocations: 233 kB / 0.5695 GB, free: 10.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.3554, allocations: 30.92 kB / 0.5695 GB, free: 10.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.3556, allocations: 184.5 kB / 0.5697 GB, free: 10.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.3557, allocations: 122.9 kB / 0.5698 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3558, allocations: 70.09 kB / 0.5699 GB, free: 10.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.356, allocations: 342.8 kB / 0.5702 GB, free: 9.984 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.3562, allocations: 96.81 kB / 0.5703 GB, free: 9.891 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.3566, allocations: 237.5 kB / 0.5705 GB, free: 9.602 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006424/0.3572, allocations: 373.4 kB / 0.5709 GB, free: 9.176 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3572, allocations: 0 / 0.5709 GB, free: 9.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007623/0.358, allocations: 405.1 kB / 0.5712 GB, free: 8.773 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.358, allocations: 8 kB / 0.5712 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.358, allocations: 4.406 kB / 0.5713 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.3581, allocations: 12 kB / 0.5713 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.3585, allocations: 103.8 kB / 0.5714 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.3585, allocations: 7.984 kB / 0.5714 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.3587, allocations: 27.98 kB / 0.5714 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.3587, allocations: 15.94 kB / 0.5714 GB, free: 8.598 MB / 414.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.0001641/0.3589, allocations: 161.6 kB / 0.5716 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.359, allocations: 27.81 kB / 0.5716 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.488e-05/0.359, allocations: 37.7 kB / 0.5716 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3591, allocations: 4 kB / 0.5716 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.3591, allocations: 0 / 0.5716 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.3591, allocations: 7.984 kB / 0.5716 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.3606, allocations: 0.9223 MB / 0.5725 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3606, allocations: 0 / 0.5725 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.3609, allocations: 79.88 kB / 0.5726 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.177e-05/0.361, allocations: 4 kB / 0.5726 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.361, allocations: 12.22 kB / 0.5726 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.361, allocations: 4 kB / 0.5726 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.361, allocations: 4 kB / 0.5726 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.362, allocations: 0.7342 MB / 0.5734 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.362, allocations: 31.75 kB / 0.5734 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.3621, allocations: 19.98 kB / 0.5734 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.3624, allocations: 15.98 kB / 0.5734 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.3624, allocations: 31.95 kB / 0.5735 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3625, allocations: 4 kB / 0.5735 GB, free: 6.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.3626, allocations: 164.5 kB / 0.5736 GB, free: 6.246 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3626, allocations: 0 / 0.5736 GB, free: 6.246 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004752/0.3631, allocations: 68 kB / 0.5737 GB, free: 6.18 MB / 414.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.001358/0.3644, allocations: 1.274 MB / 0.5749 GB, free: 4.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006049/0.365, allocations: 264.3 kB / 0.5752 GB, free: 4.613 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.365, allocations: 0 / 0.5752 GB, free: 4.613 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.3653, allocations: 123.9 kB / 0.5753 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/0.366, allocations: 46.08 kB / 0.5753 GB, free: 4.453 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004588/0.3706, allocations: 3.514 MB / 0.5788 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.3707, allocations: 179.9 kB / 0.5789 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.3709, allocations: 30.95 kB / 0.579 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.371, allocations: 99.39 kB / 0.5791 GB, free: 408 kB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.371, allocations: 0 / 0.5791 GB, free: 408 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03438/0.4054, allocations: 6.002 MB / 0.5849 GB, free: 10.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.7, allocations: 3.125 kB / 0.5849 GB, free: 10.55 MB / 430.1 MB " [Timeout remaining time 648] (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: 14.93202942609787]