Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 109.9 kB / 18.45 MB, free: 4.641 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.00123/0.00123, allocations: 186.1 kB / 19.38 MB, free: 3.715 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.369/1.369, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2556/0.2556, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 67.91 kB / 471.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3401, allocations: 60.83 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003209/0.3433, allocations: 2.791 MB / 0.5223 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.3447, allocations: 0.9494 MB / 0.5232 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.3449, allocations: 9.438 kB / 0.5232 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.345, allocations: 55.58 kB / 0.5233 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.3452, allocations: 97.06 kB / 0.5234 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.3457, allocations: 153.7 kB / 0.5235 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.346, allocations: 373.4 kB / 0.5239 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.3462, allocations: 93.53 kB / 0.524 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.3463, allocations: 149.1 kB / 0.5241 GB, free: 476 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.3465, allocations: 148.4 kB / 0.5242 GB, free: 404 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.3466, allocations: 24.97 kB / 0.5243 GB, free: 404 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.3467, allocations: 56 kB / 0.5243 GB, free: 388 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.3467, allocations: 60.83 kB / 0.5244 GB, free: 348 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.3469, allocations: 171.2 kB / 0.5245 GB, free: 244 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004098/0.3473, allocations: 375.5 kB / 0.5249 GB, free: 96 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3473, allocations: 0 / 0.5249 GB, free: 96 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3473, allocations: 0 / 0.5249 GB, free: 96 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.3473, allocations: 1.375 kB / 0.5249 GB, free: 96 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009517/0.3483, allocations: 0.6228 MB / 0.5255 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3483, allocations: 8.094 kB / 0.5255 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.3485, allocations: 49.77 kB / 0.5256 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.3489, allocations: 288.9 kB / 0.5258 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.349, allocations: 20.56 kB / 0.5259 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.349, allocations: 33.14 kB / 0.5259 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.3496, allocations: 298.9 kB / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.3496, allocations: 6.703 kB / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.3496, allocations: 18.53 kB / 0.5262 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.3497, allocations: 9.297 kB / 0.5262 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.3501, allocations: 196.8 kB / 0.5264 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.352, allocations: 1.286 MB / 0.5276 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.3525, allocations: 334.3 kB / 0.528 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.3527, allocations: 108.7 kB / 0.5281 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.3528, allocations: 12.7 kB / 0.5281 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.3528, allocations: 42.16 kB / 0.5281 GB, free: 13.69 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 1.803e-06/0.3528, allocations: 1.375 kB / 0.5281 GB, free: 13.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002402/0.3552, allocations: 1.584 MB / 0.5297 GB, free: 12.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.3553, allocations: 162.8 kB / 0.5298 GB, free: 12.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.3555, allocations: 222 kB / 0.53 GB, free: 11.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.3556, allocations: 31.2 kB / 0.5301 GB, free: 11.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.3557, allocations: 182.7 kB / 0.5302 GB, free: 11.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.3558, allocations: 152.8 kB / 0.5304 GB, free: 11.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.3559, allocations: 89.02 kB / 0.5305 GB, free: 11.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3561, allocations: 342.1 kB / 0.5308 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.3563, allocations: 95.77 kB / 0.5309 GB, free: 11.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.3566, allocations: 248.9 kB / 0.5311 GB, free: 10.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.357, allocations: 376.7 kB / 0.5315 GB, free: 10.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.357, allocations: 1.094 kB / 0.5315 GB, free: 10.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005796/0.3576, allocations: 416.3 kB / 0.5319 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3576, allocations: 7.469 kB / 0.5319 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.3577, allocations: 9.062 kB / 0.5319 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3577, allocations: 7.562 kB / 0.5319 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.3581, allocations: 119.1 kB / 0.532 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.181e-05/0.3581, allocations: 11.56 kB / 0.532 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.3584, allocations: 22.95 kB / 0.5321 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.3585, allocations: 20 kB / 0.5321 GB, free: 10.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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.0001937/0.3587, allocations: 161.6 kB / 0.5322 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.3589, allocations: 32.53 kB / 0.5323 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.3591, allocations: 119.8 kB / 0.5324 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3592, allocations: 1.094 kB / 0.5324 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3592, allocations: 10.25 kB / 0.5324 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.3592, allocations: 101.5 kB / 0.5325 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.3593, allocations: 15.42 kB / 0.5325 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.3596, allocations: 7.188 kB / 0.5325 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.3596, allocations: 28 kB / 0.5325 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008857/0.3605, allocations: 0.707 MB / 0.5332 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007886/0.3613, allocations: 0.8737 MB / 0.5341 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001661/0.3615, allocations: 109.5 kB / 0.5342 GB, free: 8.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.3616, allocations: 160.8 kB / 0.5343 GB, free: 8.477 MB / 398.1 MB Notification: Performance of Backend: time 3.9e-07/0.3616, allocations: 1.531 kB / 0.5343 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009714/0.3626, allocations: 294.6 kB / 0.5346 GB, free: 8.312 MB / 398.1 MB Notification: Performance of SimCode: time 0.001853/0.3645, allocations: 1.623 MB / 0.5362 GB, free: 6.938 MB / 398.1 MB Notification: Performance of Templates: time 0.008316/0.3728, allocations: 3.884 MB / 0.54 GB, free: 5.023 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches