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) 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/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 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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001152, allocations: 114 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 185.9 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2249/0.2249, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3476, allocations: 60.81 MB / 0.5195 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003116/0.3507, allocations: 2.619 MB / 0.5221 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009645/0.3517, allocations: 0.6465 MB / 0.5227 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.3519, allocations: 5.219 kB / 0.5227 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.352, allocations: 40.84 kB / 0.5228 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.3522, allocations: 93.83 kB / 0.5229 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.3525, allocations: 77.89 kB / 0.5229 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.3528, allocations: 342.7 kB / 0.5233 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.353, allocations: 81.38 kB / 0.5233 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.3532, allocations: 129.4 kB / 0.5235 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.3534, allocations: 136.3 kB / 0.5236 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.3534, allocations: 26.75 kB / 0.5236 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.556e-05/0.3535, allocations: 21.81 kB / 0.5236 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.3535, allocations: 54.44 kB / 0.5237 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.3536, allocations: 148.1 kB / 0.5238 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.3539, allocations: 300.9 kB / 0.5241 GB, free: 0.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.354, allocations: 0 / 0.5241 GB, free: 0.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.354, allocations: 0 / 0.5241 GB, free: 0.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.354, allocations: 1.125 kB / 0.5241 GB, free: 0.582 MB / 382.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.000802/0.3548, allocations: 0.587 MB / 0.5247 GB, free: 88 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3548, allocations: 10.41 kB / 0.5247 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/0.3549, allocations: 32.88 kB / 0.5247 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.3553, allocations: 272.2 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.3553, allocations: 23.28 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.3554, allocations: 30.98 kB / 0.525 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.3558, allocations: 276.7 kB / 0.5253 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.3559, allocations: 2.641 kB / 0.5253 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.3559, allocations: 10.19 kB / 0.5253 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3559, allocations: 17.12 kB / 0.5253 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.3563, allocations: 185.5 kB / 0.5255 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.358, allocations: 1.303 MB / 0.5268 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.3585, allocations: 248.8 kB / 0.527 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.3587, allocations: 99.55 kB / 0.5271 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.3587, allocations: 7.094 kB / 0.5271 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.3588, allocations: 38.27 kB / 0.5272 GB, free: 14.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.934e-06/0.3588, allocations: 0 / 0.5272 GB, free: 14.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002886/0.3617, allocations: 1.578 MB / 0.5287 GB, free: 12.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.3617, allocations: 131.3 kB / 0.5288 GB, free: 12.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.362, allocations: 223 kB / 0.529 GB, free: 12.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.362, allocations: 31.08 kB / 0.5291 GB, free: 12.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.3621, allocations: 177.9 kB / 0.5292 GB, free: 12.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.3622, allocations: 112.1 kB / 0.5293 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3623, allocations: 76.25 kB / 0.5294 GB, free: 12.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3625, allocations: 336.3 kB / 0.5297 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.3627, allocations: 101.8 kB / 0.5298 GB, free: 11.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.3631, allocations: 231.8 kB / 0.5301 GB, free: 11.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.3637, allocations: 371.6 kB / 0.5304 GB, free: 11.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3637, allocations: 1.469 kB / 0.5304 GB, free: 11.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007503/0.3645, allocations: 397.2 kB / 0.5308 GB, free: 11.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3645, allocations: 9.875 kB / 0.5308 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3645, allocations: 4.125 kB / 0.5308 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.3646, allocations: 6.594 kB / 0.5308 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.365, allocations: 102.4 kB / 0.5309 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.365, allocations: 11.22 kB / 0.5309 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.3652, allocations: 33.2 kB / 0.531 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.3653, allocations: 22.16 kB / 0.531 GB, free: 11.09 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.0001457/0.3654, allocations: 148.3 kB / 0.5311 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.3655, allocations: 29.38 kB / 0.5311 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.878e-05/0.3656, allocations: 36.45 kB / 0.5312 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.3656, allocations: 1.094 kB / 0.5312 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3656, allocations: 1.125 kB / 0.5312 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-05/0.3657, allocations: 109 kB / 0.5313 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.3658, allocations: 10.91 kB / 0.5313 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.3661, allocations: 21.78 kB / 0.5313 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.294e-05/0.3662, allocations: 30.66 kB / 0.5313 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009861/0.3672, allocations: 0.6121 MB / 0.5319 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001185/0.3683, allocations: 0.7964 MB / 0.5327 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003254/0.3687, allocations: 128.8 kB / 0.5328 GB, free: 9.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002959/0.369, allocations: 165.8 kB / 0.533 GB, free: 9.473 MB / 398.1 MB Notification: Performance of Backend: time 5.81e-07/0.369, allocations: 0 / 0.533 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.37, allocations: 263.5 kB / 0.5333 GB, free: 9.324 MB / 398.1 MB Notification: Performance of SimCode: time 0.001638/0.3717, allocations: 1.265 MB / 0.5345 GB, free: 8.246 MB / 398.1 MB Notification: Performance of Templates: time 0.007605/0.3793, allocations: 3.006 MB / 0.5374 GB, free: 6.758 MB / 398.1 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/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) Reference file matches