Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.005121/0.005121, allocations: 107.6 kB / 21.98 MB, free: 5.223 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.00145/0.00145, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.417/1.417, allocations: 230.5 MB / 258.9 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.23/0.23, allocations: 46.93 MB / 362.3 MB, free: 4.195 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-beta.om/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: 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-beta.om_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-beta.om_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 83.86 kB / 0.4982 GB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3512, allocations: 66.08 MB / 0.5627 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004251/0.3555, allocations: 2.657 MB / 0.5653 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.3569, allocations: 0.7401 MB / 0.566 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.3571, allocations: 11.88 kB / 0.566 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.3573, allocations: 47.52 kB / 0.5661 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.3574, allocations: 87.2 kB / 0.5662 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.3578, allocations: 99.86 kB / 0.5663 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.3582, allocations: 338.5 kB / 0.5666 GB, free: 256 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.3583, allocations: 62.06 kB / 0.5666 GB, free: 184 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.3586, allocations: 139.5 kB / 0.5668 GB, free: 44 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.3588, allocations: 131.5 kB / 0.5669 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.3589, allocations: 24 kB / 0.5669 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.807e-05/0.3589, allocations: 27.88 kB / 0.567 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.359, allocations: 55.78 kB / 0.567 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.3591, allocations: 147.2 kB / 0.5671 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.3595, allocations: 317 kB / 0.5675 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3596, allocations: 0 / 0.5675 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3596, allocations: 0 / 0.5675 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.3596, allocations: 0 / 0.5675 GB, free: 15.36 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.000933/0.3605, allocations: 0.5206 MB / 0.568 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3605, allocations: 12.03 kB / 0.568 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/0.3608, allocations: 56.72 kB / 0.568 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.3612, allocations: 214 kB / 0.5682 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.3612, allocations: 16.88 kB / 0.5682 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/0.3613, allocations: 28.33 kB / 0.5683 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005036/0.3618, allocations: 281.4 kB / 0.5685 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/0.3618, allocations: 7.953 kB / 0.5685 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.3618, allocations: 8 kB / 0.5686 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.3618, allocations: 8 kB / 0.5686 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/0.3623, allocations: 194.7 kB / 0.5687 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.364, allocations: 1.242 MB / 0.57 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.3644, allocations: 230.4 kB / 0.5702 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.3646, allocations: 95.52 kB / 0.5703 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.3647, allocations: 4 kB / 0.5703 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.3647, allocations: 42.56 kB / 0.5703 GB, free: 12.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.3647, allocations: 3.938 kB / 0.5703 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002542/0.3672, allocations: 1.201 MB / 0.5715 GB, free: 10.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.48e-05/0.3673, allocations: 132.5 kB / 0.5716 GB, free: 10.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.3676, allocations: 229.1 kB / 0.5718 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.3676, allocations: 33.7 kB / 0.5719 GB, free: 10.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.3677, allocations: 176.5 kB / 0.572 GB, free: 10.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.3678, allocations: 130.9 kB / 0.5722 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.78e-05/0.3679, allocations: 66.08 kB / 0.5722 GB, free: 10.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3681, allocations: 350.8 kB / 0.5726 GB, free: 9.715 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.3684, allocations: 96.81 kB / 0.5727 GB, free: 9.621 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.3687, allocations: 239 kB / 0.5729 GB, free: 9.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006575/0.3694, allocations: 369.5 kB / 0.5732 GB, free: 8.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3694, allocations: 8 kB / 0.5732 GB, free: 8.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000795/0.3702, allocations: 401.1 kB / 0.5736 GB, free: 8.504 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3702, allocations: 6.344 kB / 0.5736 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3702, allocations: 4 kB / 0.5736 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.3702, allocations: 8 kB / 0.5736 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.3706, allocations: 103.8 kB / 0.5737 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.3706, allocations: 12.05 kB / 0.5738 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.3708, allocations: 27.98 kB / 0.5738 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.3709, allocations: 12 kB / 0.5738 GB, free: 8.336 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.0001675/0.371, allocations: 161.7 kB / 0.5739 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.3712, allocations: 35.98 kB / 0.574 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.705e-05/0.3712, allocations: 33.7 kB / 0.574 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3712, allocations: 7.984 kB / 0.574 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.3712, allocations: 4 kB / 0.574 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.3713, allocations: 3.984 kB / 0.574 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.3727, allocations: 0.9459 MB / 0.575 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3727, allocations: 0 / 0.575 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.3731, allocations: 80 kB / 0.575 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.3731, allocations: 7.938 kB / 0.575 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.3731, allocations: 11.94 kB / 0.575 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3731, allocations: 0 / 0.575 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.3731, allocations: 4 kB / 0.575 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.3742, allocations: 0.7342 MB / 0.5758 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.3742, allocations: 27.8 kB / 0.5758 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.3743, allocations: 15.94 kB / 0.5758 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.3745, allocations: 24.23 kB / 0.5758 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.3746, allocations: 23.95 kB / 0.5759 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.3746, allocations: 19.94 kB / 0.5759 GB, free: 6.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.3748, allocations: 156.5 kB / 0.576 GB, free: 5.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3748, allocations: 0 / 0.576 GB, free: 5.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004764/0.3753, allocations: 68 kB / 0.5761 GB, free: 5.887 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.0001225/0.3754, allocations: 107.2 kB / 0.5762 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006175/0.376, allocations: 264.2 kB / 0.5764 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.376, allocations: 12.12 kB / 0.5765 GB, free: 5.504 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.3763, allocations: 119.8 kB / 0.5766 GB, free: 5.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006347/0.3769, allocations: 40.42 kB / 0.5766 GB, free: 5.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.3784, allocations: 0.9096 MB / 0.5775 GB, free: 4.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.3789, allocations: 0.772 MB / 0.5782 GB, free: 3.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.196e-05/0.379, allocations: 27.44 kB / 0.5783 GB, free: 3.559 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.379, allocations: 0 / 0.5783 GB, free: 3.559 MB / 414.1 MB Notification: Performance of Templates: time 0.006032/0.385, allocations: 3.413 MB / 0.5816 GB, free: 152 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.621773018036038]