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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000828/0.0008281, allocations: 95.5 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3252/0.3252, allocations: 44.22 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003066, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3272, allocations: 61.89 MB / 0.5095 GB, free: 38.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.4388, allocations: 88.77 MB / 0.5962 GB, free: 6.355 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.4391, allocations: 67.97 kB / 0.5963 GB, free: 6.289 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01443/0.4535, allocations: 4.942 MB / 0.6011 GB, free: 1.332 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4535, allocations: 0 / 0.6011 GB, free: 1.332 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.4536, allocations: 12 kB / 0.6011 GB, free: 1.32 MB / 410.7 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.0007613/0.4543, allocations: 0.5386 MB / 0.6017 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.4544, allocations: 8.562 kB / 0.6017 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.231e-05/0.4545, allocations: 35.62 kB / 0.6017 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.4548, allocations: 258.3 kB / 0.602 GB, free: 408 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.4548, allocations: 24.52 kB / 0.602 GB, free: 384 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.4549, allocations: 24 kB / 0.602 GB, free: 360 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.4553, allocations: 289.9 kB / 0.6023 GB, free: 44 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.4554, allocations: 7.891 kB / 0.6023 GB, free: 36 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.4554, allocations: 12 kB / 0.6023 GB, free: 24 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.4554, allocations: 4 kB / 0.6023 GB, free: 20 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004128/0.4558, allocations: 195.8 kB / 0.6025 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.4573, allocations: 1.312 MB / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.4577, allocations: 250.3 kB / 0.604 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.4578, allocations: 4 kB / 0.604 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.4578, allocations: 42.69 kB / 0.604 GB, free: 14.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 1.423e-06/0.4578, allocations: 0 / 0.604 GB, free: 14.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.00246/0.4603, allocations: 1.631 MB / 0.6056 GB, free: 12.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.4604, allocations: 132.5 kB / 0.6058 GB, free: 12.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.4606, allocations: 208 kB / 0.606 GB, free: 11.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.4606, allocations: 29.7 kB / 0.606 GB, free: 11.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.4607, allocations: 176.2 kB / 0.6062 GB, free: 11.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.176e-05/0.4608, allocations: 114.3 kB / 0.6063 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.4608, allocations: 8 kB / 0.6063 GB, free: 11.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4609, allocations: 346.8 kB / 0.6066 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.4612, allocations: 112.8 kB / 0.6067 GB, free: 11.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.4615, allocations: 241.4 kB / 0.6069 GB, free: 10.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.4618, allocations: 145.1 kB / 0.6071 GB, free: 10.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4618, allocations: 0 / 0.6071 GB, free: 10.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006948/0.4625, allocations: 421.2 kB / 0.6075 GB, free: 10.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4625, allocations: 8 kB / 0.6075 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4625, allocations: 7.984 kB / 0.6075 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.4626, allocations: 8 kB / 0.6075 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.463, allocations: 112.1 kB / 0.6076 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.463, allocations: 8 kB / 0.6076 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.4632, allocations: 35.83 kB / 0.6077 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.4632, allocations: 16 kB / 0.6077 GB, free: 10.03 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001555/0.4634, allocations: 157.7 kB / 0.6078 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.64e-05/0.4635, allocations: 32.02 kB / 0.6079 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.4636, allocations: 37.7 kB / 0.6079 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4636, allocations: 4 kB / 0.6079 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4636, allocations: 4 kB / 0.6079 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4636, allocations: 0 / 0.6079 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.465, allocations: 1.009 MB / 0.6089 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.465, allocations: 4.062 kB / 0.6089 GB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003636/0.4654, allocations: 91.88 kB / 0.609 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4654, allocations: 0 / 0.609 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.4654, allocations: 8 kB / 0.609 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.4654, allocations: 4 kB / 0.609 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4654, allocations: 0 / 0.609 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009559/0.4664, allocations: 0.8237 MB / 0.6098 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.4665, allocations: 100.8 kB / 0.6099 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.4665, allocations: 12.06 kB / 0.6099 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.4668, allocations: 23.98 kB / 0.6099 GB, free: 7.582 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/0.4669, allocations: 27.91 kB / 0.6099 GB, free: 7.555 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.4669, allocations: 12.27 kB / 0.61 GB, free: 7.543 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.4671, allocations: 160.4 kB / 0.6101 GB, free: 7.387 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4671, allocations: 0 / 0.6101 GB, free: 7.387 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004468/0.4675, allocations: 76.06 kB / 0.6102 GB, free: 7.312 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001449/0.4677, allocations: 114.9 kB / 0.6103 GB, free: 7.188 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005853/0.4683, allocations: 296.3 kB / 0.6106 GB, free: 6.898 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.4683, allocations: 4 kB / 0.6106 GB, free: 6.895 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.4686, allocations: 143.9 kB / 0.6107 GB, free: 6.754 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.469, allocations: 32.88 kB / 0.6108 GB, free: 6.723 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.4703, allocations: 1.07 MB / 0.6118 GB, free: 5.613 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.4707, allocations: 0.7761 MB / 0.6126 GB, free: 4.801 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.4708, allocations: 34.95 kB / 0.6126 GB, free: 4.766 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.893e-05/0.4709, allocations: 31.42 kB / 0.6126 GB, free: 4.738 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4709, allocations: 0 / 0.6126 GB, free: 4.738 MB / 426.7 MB Notification: Performance of Templates: time 0.004737/0.4757, allocations: 2.108 MB / 0.6147 GB, free: 2.648 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches