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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 112.4 kB / 21.1 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 189.5 kB / 24.36 MB, free: 4.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 253.1 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] 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.2361/0.2361, allocations: 44.9 MB / 353.2 MB, free: 11.88 MB / 286.1 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.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.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 0.002089/0.002089, allocations: 67.89 kB / 496.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3433, allocations: 64.29 MB / 0.5479 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004896/0.3481, allocations: 2.628 MB / 0.5505 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.3497, allocations: 0.6526 MB / 0.5511 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.35, allocations: 9.438 kB / 0.5511 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.3503, allocations: 42.92 kB / 0.5512 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.3506, allocations: 89.11 kB / 0.5513 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.3509, allocations: 87.75 kB / 0.5513 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005064/0.3514, allocations: 331.5 kB / 0.5517 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.3516, allocations: 62.89 kB / 0.5517 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.3519, allocations: 132.9 kB / 0.5518 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.3521, allocations: 134 kB / 0.552 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.3522, allocations: 25.88 kB / 0.552 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.958e-05/0.3523, allocations: 21.44 kB / 0.552 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.3523, allocations: 63.69 kB / 0.5521 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.3525, allocations: 142.1 kB / 0.5522 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.3529, allocations: 304.5 kB / 0.5525 GB, free: 9.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3529, allocations: 0 / 0.5525 GB, free: 9.246 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3529, allocations: 0 / 0.5525 GB, free: 9.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.353, allocations: 1.156 kB / 0.5525 GB, free: 9.246 MB / 398.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.001108/0.3541, allocations: 0.5242 MB / 0.553 GB, free: 8.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3541, allocations: 10.55 kB / 0.553 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.328e-05/0.3542, allocations: 58.86 kB / 0.5531 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.015e-05/0.3543, allocations: 37.25 kB / 0.5531 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.3548, allocations: 210 kB / 0.5533 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3548, allocations: 19.41 kB / 0.5533 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.986e-05/0.3549, allocations: 29.73 kB / 0.5534 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.3554, allocations: 283 kB / 0.5536 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.3555, allocations: 6.156 kB / 0.5536 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.3555, allocations: 11.44 kB / 0.5537 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3555, allocations: 5.75 kB / 0.5537 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.3559, allocations: 184.2 kB / 0.5538 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.3579, allocations: 1.237 MB / 0.555 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.3583, allocations: 239.7 kB / 0.5553 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.3586, allocations: 97.02 kB / 0.5554 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.3586, allocations: 2.531 kB / 0.5554 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.3586, allocations: 41.75 kB / 0.5554 GB, free: 6.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 2.225e-06/0.3586, allocations: 0 / 0.5554 GB, free: 6.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.00275/0.3614, allocations: 1.215 MB / 0.5566 GB, free: 5.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.3615, allocations: 135.8 kB / 0.5567 GB, free: 5.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.3618, allocations: 227.2 kB / 0.5569 GB, free: 5.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.3618, allocations: 30.8 kB / 0.557 GB, free: 5.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.362, allocations: 182.8 kB / 0.5571 GB, free: 5.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.3621, allocations: 124.8 kB / 0.5573 GB, free: 5.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.3622, allocations: 72.19 kB / 0.5573 GB, free: 5.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.3624, allocations: 336 kB / 0.5577 GB, free: 4.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.3627, allocations: 101.3 kB / 0.5578 GB, free: 4.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003635/0.363, allocations: 236.4 kB / 0.558 GB, free: 4.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006638/0.3637, allocations: 364 kB / 0.5583 GB, free: 4.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.3637, allocations: 4 kB / 0.5583 GB, free: 4.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000872/0.3646, allocations: 401.1 kB / 0.5587 GB, free: 3.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3646, allocations: 4 kB / 0.5587 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3646, allocations: 4 kB / 0.5587 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.3646, allocations: 8 kB / 0.5587 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.365, allocations: 104.1 kB / 0.5588 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.365, allocations: 11.94 kB / 0.5588 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.3653, allocations: 31.97 kB / 0.5589 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.3653, allocations: 16 kB / 0.5589 GB, free: 3.613 MB / 398.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.0001843/0.3655, allocations: 157.6 kB / 0.559 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.3656, allocations: 31.81 kB / 0.5591 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.595e-05/0.3657, allocations: 33.98 kB / 0.5591 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3657, allocations: 4.312 kB / 0.5591 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3657, allocations: 0 / 0.5591 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3657, allocations: 11.94 kB / 0.5591 GB, free: 3.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.3674, allocations: 0.9457 MB / 0.56 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.3674, allocations: 4 kB / 0.56 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.3678, allocations: 75.88 kB / 0.5601 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.3678, allocations: 4 kB / 0.5601 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.3679, allocations: 11.94 kB / 0.5601 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.3679, allocations: 4 kB / 0.5601 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3679, allocations: 0 / 0.5601 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.3689, allocations: 0.7336 MB / 0.5608 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.45e-05/0.369, allocations: 27.75 kB / 0.5609 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.3691, allocations: 12 kB / 0.5609 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.3694, allocations: 23.97 kB / 0.5609 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/0.3695, allocations: 27.89 kB / 0.5609 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.3695, allocations: 12 kB / 0.5609 GB, free: 1.402 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.3697, allocations: 160.5 kB / 0.5611 GB, free: 1.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3697, allocations: 0 / 0.5611 GB, free: 1.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005588/0.3702, allocations: 68 kB / 0.5612 GB, free: 1.18 MB / 398.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.001521/0.3718, allocations: 1.262 MB / 0.5624 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007227/0.3725, allocations: 275.7 kB / 0.5627 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3725, allocations: 0.8125 kB / 0.5627 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.3728, allocations: 127.9 kB / 0.5628 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/0.3735, allocations: 37.75 kB / 0.5628 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005112/0.3786, allocations: 3.504 MB / 0.5662 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.3791, allocations: 0.768 MB / 0.567 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.3792, allocations: 34.95 kB / 0.567 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.3794, allocations: 95.39 kB / 0.5671 GB, free: 10.8 MB / 414.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3794, allocations: 4 kB / 0.5671 GB, free: 10.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.4114, allocations: 5.576 MB / 0.5726 GB, free: 5.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.771/9.183, allocations: 6.781 kB / 0.5726 GB, free: 5.316 MB / 414.1 MB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/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: 12.193556145008188]