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.001367/0.001367, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00155/0.00155, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.515/1.515, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2375/0.2375, allocations: 46.97 MB / 361.6 MB, free: 4.051 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: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 67.89 kB / 0.4973 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3312, allocations: 66.04 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004283/0.3355, allocations: 2.473 MB / 0.5642 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3369, allocations: 0.6973 MB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.3371, allocations: 11.94 kB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.3372, allocations: 47.47 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.3374, allocations: 87.2 kB / 0.565 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.3377, allocations: 99.8 kB / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.3381, allocations: 342.5 kB / 0.5655 GB, free: 440 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.3383, allocations: 54.02 kB / 0.5655 GB, free: 376 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.3385, allocations: 139.5 kB / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.3387, allocations: 119.3 kB / 0.5658 GB, free: 116 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.3388, allocations: 28 kB / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.983e-05/0.3388, allocations: 28 kB / 0.5658 GB, free: 60 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.3389, allocations: 55.78 kB / 0.5659 GB, free: 4 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.339, allocations: 119.4 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003938/0.3394, allocations: 313 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3394, allocations: 0 / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3394, allocations: 0 / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3395, allocations: 4 kB / 0.5663 GB, free: 15.58 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.0009712/0.3404, allocations: 0.5284 MB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3405, allocations: 12.03 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002607/0.3407, allocations: 48.73 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.3411, allocations: 210 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.3412, allocations: 24.88 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.3412, allocations: 28.33 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.3417, allocations: 285.4 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.3417, allocations: 15.94 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.3418, allocations: 8 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.3418, allocations: 8 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.3422, allocations: 183.7 kB / 0.5676 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.3439, allocations: 1.157 MB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.3444, allocations: 226.4 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.3446, allocations: 103.4 kB / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.3446, allocations: 8.125 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.3447, allocations: 42.5 kB / 0.5691 GB, free: 12.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.3447, allocations: 0 / 0.5691 GB, free: 12.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.00256/0.3472, allocations: 1.198 MB / 0.5702 GB, free: 11.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.3473, allocations: 136.5 kB / 0.5704 GB, free: 11.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.3476, allocations: 237 kB / 0.5706 GB, free: 10.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.3476, allocations: 33.7 kB / 0.5706 GB, free: 10.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3478, allocations: 180.5 kB / 0.5708 GB, free: 10.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.963e-05/0.3479, allocations: 115 kB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.348, allocations: 74.08 kB / 0.571 GB, free: 10.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3482, allocations: 334.8 kB / 0.5713 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.3484, allocations: 104.7 kB / 0.5714 GB, free: 9.934 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.3488, allocations: 233.6 kB / 0.5716 GB, free: 9.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.3495, allocations: 381 kB / 0.572 GB, free: 9.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3495, allocations: 3.938 kB / 0.572 GB, free: 9.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008675/0.3503, allocations: 393.5 kB / 0.5724 GB, free: 8.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.3503, allocations: 11.98 kB / 0.5724 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3504, allocations: 4 kB / 0.5724 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.3504, allocations: 8 kB / 0.5724 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.3508, allocations: 104.2 kB / 0.5725 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.3508, allocations: 8 kB / 0.5725 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.351, allocations: 27.92 kB / 0.5725 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.351, allocations: 16 kB / 0.5725 GB, free: 8.645 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.0001709/0.3512, allocations: 157.7 kB / 0.5727 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.3513, allocations: 31.75 kB / 0.5727 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.816e-05/0.3514, allocations: 33.7 kB / 0.5728 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.3514, allocations: 4 kB / 0.5728 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3514, allocations: 0 / 0.5728 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3514, allocations: 4 kB / 0.5728 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.3529, allocations: 0.8845 MB / 0.5736 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3529, allocations: 0 / 0.5736 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.3532, allocations: 87.94 kB / 0.5737 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.3532, allocations: 4 kB / 0.5737 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.3533, allocations: 8 kB / 0.5737 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.3533, allocations: 4.016 kB / 0.5737 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/0.3533, allocations: 11.92 kB / 0.5737 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.3544, allocations: 0.7344 MB / 0.5745 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.3544, allocations: 23.81 kB / 0.5745 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.3544, allocations: 8.062 kB / 0.5745 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.3547, allocations: 19.97 kB / 0.5745 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.3548, allocations: 35.89 kB / 0.5745 GB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.3548, allocations: 4 kB / 0.5745 GB, free: 6.516 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.355, allocations: 160.5 kB / 0.5747 GB, free: 6.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.355, allocations: 0 / 0.5747 GB, free: 6.355 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004963/0.3555, allocations: 68 kB / 0.5748 GB, free: 6.289 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.0001304/0.3556, allocations: 111.4 kB / 0.5749 GB, free: 6.172 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.3563, allocations: 276.8 kB / 0.5751 GB, free: 5.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3563, allocations: 4.062 kB / 0.5751 GB, free: 5.898 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.3566, allocations: 119.8 kB / 0.5752 GB, free: 5.781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.3572, allocations: 44.55 kB / 0.5753 GB, free: 5.738 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.3587, allocations: 0.9023 MB / 0.5762 GB, free: 4.789 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.3589, allocations: 168 kB / 0.5763 GB, free: 4.602 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.359, allocations: 31.42 kB / 0.5764 GB, free: 4.57 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.359, allocations: 4 kB / 0.5764 GB, free: 4.566 MB / 414.1 MB Notification: Performance of Templates: time 0.006334/0.3653, allocations: 3.521 MB / 0.5798 GB, free: 1.043 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.771573230158538]