Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002726/0.002726, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003201/0.003201, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3719/0.3719, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 377.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.316e-05, allocations: 10.25 kB / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004949/0.004982, allocations: 3.016 MB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.007351, allocations: 1.044 MB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.007543, allocations: 11.94 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.007764, allocations: 63.31 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.008033, allocations: 130.9 kB / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006015/0.008634, allocations: 183.3 kB / 381.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005872/0.009222, allocations: 473.5 kB / 382.2 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.009443, allocations: 79.98 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.009773, allocations: 247.4 kB / 382.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.01001, allocations: 127.6 kB / 382.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.959e-05/0.01007, allocations: 36 kB / 382.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.01021, allocations: 55.97 kB / 382.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.01032, allocations: 75.67 kB / 382.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.01049, allocations: 135.7 kB / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006344/0.01112, allocations: 450.4 kB / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.01113, allocations: 0 / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.01113, allocations: 0 / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.01114, allocations: 0 / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001263/0.0124, allocations: 0.7179 MB / 384.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.01244, allocations: 8.031 kB / 384.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003713/0.01281, allocations: 104.6 kB / 384.2 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.01321, allocations: 228 kB / 384.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.01325, allocations: 29.38 kB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.01332, allocations: 44.33 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006732/0.014, allocations: 385 kB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.01403, allocations: 8.141 kB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.01407, allocations: 19.94 kB / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.01408, allocations: 8 kB / 384.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004625/0.01454, allocations: 207.8 kB / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002696/0.01724, allocations: 1.759 MB / 386.8 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006548/0.01789, allocations: 350.5 kB / 387.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.01807, allocations: 106.1 kB / 387.3 MB, free: 8.633 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.01811, allocations: 8 kB / 387.3 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.01815, allocations: 53.25 kB / 387.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.01815, allocations: 0 / 387.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007046/0.01886, allocations: 277.5 kB / 387.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.019, allocations: 183.9 kB / 387.8 MB, free: 8.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.01936, allocations: 324.2 kB / 388.1 MB, free: 7.727 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.01939, allocations: 25.7 kB / 388.1 MB, free: 7.695 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.0196, allocations: 274.9 kB / 388.4 MB, free: 7.422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.01971, allocations: 115.1 kB / 388.5 MB, free: 7.309 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.01984, allocations: 95.73 kB / 388.6 MB, free: 7.207 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003047/0.02014, allocations: 0.5196 MB / 389.1 MB, free: 6.676 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.02033, allocations: 84.95 kB / 389.2 MB, free: 6.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/0.02072, allocations: 325.1 kB / 389.5 MB, free: 6.172 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006229/0.02135, allocations: 443.8 kB / 390 MB, free: 5.633 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.02135, allocations: 0 / 390 MB, free: 5.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007349/0.02209, allocations: 396.8 kB / 390.4 MB, free: 5.238 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.02211, allocations: 11.94 kB / 390.4 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.02213, allocations: 8 kB / 390.4 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.02215, allocations: 8.625 kB / 390.4 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.02253, allocations: 107.8 kB / 390.5 MB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.02254, allocations: 8.312 kB / 390.5 MB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.02276, allocations: 43.72 kB / 390.5 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.02279, allocations: 23.94 kB / 390.6 MB, free: 5.031 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (52): * Single equations (assignments): 52 * 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.0002413/0.02303, allocations: 200.5 kB / 390.8 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.02319, allocations: 43.73 kB / 390.8 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.02341, allocations: 87.45 kB / 390.9 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.02342, allocations: 4.75 kB / 390.9 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.02343, allocations: 7.984 kB / 390.9 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.02344, allocations: 320 / 390.9 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006801/0.02412, allocations: 292.4 kB / 391.2 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.02412, allocations: 8 kB / 391.2 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/0.02452, allocations: 79.91 kB / 391.3 MB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.02453, allocations: 0 / 391.3 MB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.02457, allocations: 15.92 kB / 391.3 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.02458, allocations: 7.984 kB / 391.3 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02458, allocations: 0 / 391.3 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.02565, allocations: 1.04 MB / 392.3 MB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.0257, allocations: 31.75 kB / 392.4 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.02575, allocations: 19.92 kB / 392.4 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.02605, allocations: 8 kB / 392.4 MB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.02612, allocations: 19.97 kB / 392.4 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.02613, allocations: 4 kB / 392.4 MB, free: 3.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000208/0.02634, allocations: 217.1 kB / 392.6 MB, free: 2.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02634, allocations: 0 / 392.6 MB, free: 2.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006147/0.02695, allocations: 99.78 kB / 392.7 MB, free: 2.789 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,inertia6.w,inverseSpeedDependentTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * 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 (27): * Single equations (assignments): 27 * 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.0001477/0.0271, allocations: 107.6 kB / 392.8 MB, free: 2.676 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005338/0.02764, allocations: 260.9 kB / 393.1 MB, free: 2.418 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.02764, allocations: 0 / 393.1 MB, free: 2.418 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.02784, allocations: 103.5 kB / 393.2 MB, free: 2.312 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009183/0.02876, allocations: 88.77 kB / 393.3 MB, free: 2.234 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.03069, allocations: 1.054 MB / 394.3 MB, free: 1.129 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.03094, allocations: 186.5 kB / 394.5 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.03107, allocations: 34.97 kB / 394.5 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.725e-05/0.03114, allocations: 32.5 kB / 394.6 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03114, allocations: 0 / 394.6 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of Templates: time 0.008436/0.03958, allocations: 3.036 MB / 397.6 MB, free: 13.89 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.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.085239036008716]