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.001367/0.001367, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001826/0.001826, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.616/1.616, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.22/0.22, allocations: 46.89 MB / 361.1 MB, free: 4.641 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.002515/0.002515, allocations: 80.16 kB / 0.4967 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3578, allocations: 65.98 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.00426/0.3621, allocations: 2.663 MB / 0.5638 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.3635, allocations: 0.7361 MB / 0.5645 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.3637, allocations: 11.94 kB / 0.5645 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.3638, allocations: 51.52 kB / 0.5646 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.364, allocations: 83.2 kB / 0.5646 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.3643, allocations: 99.8 kB / 0.5647 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004193/0.3648, allocations: 334.6 kB / 0.565 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.365, allocations: 64.73 kB / 0.5651 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.3652, allocations: 143.5 kB / 0.5652 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.3654, allocations: 123.4 kB / 0.5654 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.3654, allocations: 27.94 kB / 0.5654 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.737e-05/0.3655, allocations: 31.98 kB / 0.5654 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.3656, allocations: 55.78 kB / 0.5655 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.3657, allocations: 147.2 kB / 0.5656 GB, free: 456 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000419/0.3661, allocations: 306.6 kB / 0.5659 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3661, allocations: 0 / 0.5659 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3662, allocations: 0 / 0.5659 GB, free: 148 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.3662, allocations: 0 / 0.5659 GB, free: 148 kB / 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.001029/0.3672, allocations: 0.6038 MB / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3672, allocations: 8.031 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.3675, allocations: 52.67 kB / 0.5666 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.3679, allocations: 283.8 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.3679, allocations: 16.94 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.658e-05/0.368, allocations: 32.33 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.3685, allocations: 278.2 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.3685, allocations: 7.953 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.3686, allocations: 15.94 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3686, allocations: 4 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004704/0.369, allocations: 183.8 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.3709, allocations: 1.31 MB / 0.5686 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004543/0.3713, allocations: 234.6 kB / 0.5688 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.3715, allocations: 95.33 kB / 0.5689 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.3716, allocations: 8.141 kB / 0.5689 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.3716, allocations: 38.56 kB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.352e-06/0.3716, allocations: 4 kB / 0.569 GB, free: 12.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002897/0.3745, allocations: 1.582 MB / 0.5705 GB, free: 10.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.992e-05/0.3746, allocations: 136.5 kB / 0.5707 GB, free: 10.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.3748, allocations: 229 kB / 0.5709 GB, free: 10.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.3749, allocations: 33.64 kB / 0.5709 GB, free: 10.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.375, allocations: 188.5 kB / 0.5711 GB, free: 10.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.99e-05/0.3751, allocations: 119 kB / 0.5712 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3752, allocations: 62.14 kB / 0.5713 GB, free: 10.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3754, allocations: 342.8 kB / 0.5716 GB, free: 9.777 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.3757, allocations: 100.8 kB / 0.5717 GB, free: 9.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.376, allocations: 241.4 kB / 0.5719 GB, free: 9.387 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006762/0.3767, allocations: 365.9 kB / 0.5723 GB, free: 8.969 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.3767, allocations: 3.984 kB / 0.5723 GB, free: 8.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008092/0.3775, allocations: 397.2 kB / 0.5726 GB, free: 8.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3776, allocations: 10.28 kB / 0.5727 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.3776, allocations: 8.344 kB / 0.5727 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.3776, allocations: 8 kB / 0.5727 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.378, allocations: 103.8 kB / 0.5728 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.378, allocations: 8 kB / 0.5728 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.3782, allocations: 23.97 kB / 0.5728 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.3783, allocations: 20 kB / 0.5728 GB, free: 8.395 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.0001793/0.3785, allocations: 149.7 kB / 0.573 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.3786, allocations: 39.73 kB / 0.573 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.274e-05/0.3786, allocations: 37.7 kB / 0.573 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3786, allocations: 8 kB / 0.573 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.3787, allocations: 0 / 0.573 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.3787, allocations: 3.984 kB / 0.573 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.3803, allocations: 0.9778 MB / 0.574 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3803, allocations: 0 / 0.574 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.3807, allocations: 79.89 kB / 0.5741 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3807, allocations: 0 / 0.5741 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.3807, allocations: 15.92 kB / 0.5741 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.3807, allocations: 8.5 kB / 0.5741 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3807, allocations: 0 / 0.5741 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.3818, allocations: 0.7326 MB / 0.5748 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.349e-05/0.3819, allocations: 112.9 kB / 0.5749 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.382, allocations: 11.88 kB / 0.5749 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.3822, allocations: 19.98 kB / 0.575 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.3823, allocations: 31.95 kB / 0.575 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.3823, allocations: 8 kB / 0.575 GB, free: 6.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.3825, allocations: 160.5 kB / 0.5751 GB, free: 5.891 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3825, allocations: 192 / 0.5751 GB, free: 5.891 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004938/0.383, allocations: 64 kB / 0.5752 GB, free: 5.828 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.000127/0.3831, allocations: 111.1 kB / 0.5753 GB, free: 5.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000684/0.3838, allocations: 267.8 kB / 0.5756 GB, free: 5.445 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3838, allocations: 0 / 0.5756 GB, free: 5.445 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.3841, allocations: 124.8 kB / 0.5757 GB, free: 5.324 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006689/0.3848, allocations: 40.48 kB / 0.5757 GB, free: 5.285 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.3863, allocations: 0.8904 MB / 0.5766 GB, free: 4.355 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.3867, allocations: 0.772 MB / 0.5773 GB, free: 3.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.3869, allocations: 38.94 kB / 0.5774 GB, free: 3.516 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.17e-05/0.387, allocations: 23.44 kB / 0.5774 GB, free: 3.492 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.387, allocations: 0 / 0.5774 GB, free: 3.492 MB / 414.1 MB Notification: Performance of Templates: time 0.007558/0.3945, allocations: 2.569 MB / 0.5799 GB, free: 0.9375 MB / 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 -s gbode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.333481444045901]