Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009149/0.0009149, allocations: 90.16 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2054/0.2054, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.423e-05/1.414e-05, allocations: 4 kB / 418.2 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1162, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3419/0.4581, allocations: 88.85 MB / 0.5527 GB, free: 6.543 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.4584, allocations: 68.81 kB / 0.5528 GB, free: 6.512 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01423/0.4726, allocations: 6.065 MB / 0.5587 GB, free: 1.621 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4727, allocations: 0 / 0.5587 GB, free: 1.621 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.129e-05/0.4727, allocations: 4 kB / 0.5587 GB, free: 1.617 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0006616/0.4734, allocations: 0.5177 MB / 0.5592 GB, free: 1.074 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.4734, allocations: 12.03 kB / 0.5592 GB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.4736, allocations: 47.61 kB / 0.5592 GB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.4739, allocations: 265.6 kB / 0.5595 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.4739, allocations: 8 kB / 0.5595 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.474, allocations: 20 kB / 0.5595 GB, free: 0.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002729/0.4743, allocations: 145 kB / 0.5597 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.4746, allocations: 248.8 kB / 0.5599 GB, free: 404 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.4746, allocations: 15.16 kB / 0.5599 GB, free: 392 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.4747, allocations: 0 / 0.5599 GB, free: 392 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.4747, allocations: 8 kB / 0.5599 GB, free: 384 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.4765, allocations: 1.28 MB / 0.5612 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.4769, allocations: 227.4 kB / 0.5614 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.477, allocations: 61.36 kB / 0.5614 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.477, allocations: 8.031 kB / 0.5615 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.477, allocations: 41.44 kB / 0.5615 GB, free: 14.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 2.214e-06/0.4771, allocations: 4 kB / 0.5615 GB, free: 14.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003864/0.4774, allocations: 156.5 kB / 0.5616 GB, free: 14.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/0.4775, allocations: 162.2 kB / 0.5618 GB, free: 14.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.4777, allocations: 169 kB / 0.562 GB, free: 14.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.4777, allocations: 29.73 kB / 0.562 GB, free: 14.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.4779, allocations: 189.6 kB / 0.5622 GB, free: 14.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.876e-05/0.4779, allocations: 89.28 kB / 0.5623 GB, free: 14.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.478, allocations: 4 kB / 0.5623 GB, free: 14.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4781, allocations: 332.9 kB / 0.5626 GB, free: 13.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.866e-05/0.4782, allocations: 56.2 kB / 0.5626 GB, free: 13.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.4784, allocations: 191.8 kB / 0.5628 GB, free: 13.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.4785, allocations: 96.64 kB / 0.5629 GB, free: 13.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4786, allocations: 0 / 0.5629 GB, free: 13.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004097/0.479, allocations: 264.3 kB / 0.5632 GB, free: 13.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.479, allocations: 12.06 kB / 0.5632 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.479, allocations: 4.078 kB / 0.5632 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.4791, allocations: 11.98 kB / 0.5632 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.4793, allocations: 87.47 kB / 0.5633 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.4794, allocations: 15.92 kB / 0.5633 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.4796, allocations: 31.62 kB / 0.5633 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.4796, allocations: 19.19 kB / 0.5633 GB, free: 13.01 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001746/0.4798, allocations: 116.8 kB / 0.5634 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.4799, allocations: 19.72 kB / 0.5635 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.4801, allocations: 83.27 kB / 0.5635 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.4801, allocations: 4 kB / 0.5635 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4801, allocations: 4 kB / 0.5635 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4801, allocations: 0 / 0.5635 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005148/0.4807, allocations: 271.5 kB / 0.5638 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4807, allocations: 0 / 0.5638 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/0.481, allocations: 63.34 kB / 0.5639 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.481, allocations: 4 kB / 0.5639 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.481, allocations: 3.984 kB / 0.5639 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.481, allocations: 8 kB / 0.5639 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4811, allocations: 3.938 kB / 0.5639 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/0.4816, allocations: 0.6523 MB / 0.5645 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.864e-05/0.4816, allocations: 104.8 kB / 0.5646 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.4817, allocations: 4.203 kB / 0.5646 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.4819, allocations: 4 kB / 0.5646 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.482, allocations: 19.3 kB / 0.5647 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.482, allocations: 7.938 kB / 0.5647 GB, free: 11.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.4821, allocations: 135.3 kB / 0.5648 GB, free: 11.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4821, allocations: 4.094 kB / 0.5648 GB, free: 11.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005194/0.4826, allocations: 75.69 kB / 0.5649 GB, free: 11.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.0001377/0.4828, allocations: 99.19 kB / 0.565 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.483, allocations: 161.2 kB / 0.5651 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4831, allocations: 0 / 0.5651 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.895e-05/0.4832, allocations: 68.05 kB / 0.5652 GB, free: 11.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.4837, allocations: 52.73 kB / 0.5652 GB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.4855, allocations: 1.009 MB / 0.5662 GB, free: 10.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.4861, allocations: 0.7797 MB / 0.567 GB, free: 9.328 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001724/0.4863, allocations: 26.06 kB / 0.567 GB, free: 9.305 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.4863, allocations: 23.44 kB / 0.567 GB, free: 9.281 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.4863, allocations: 0 / 0.567 GB, free: 9.281 MB / 378.7 MB Notification: Performance of Templates: time 0.006241/0.4926, allocations: 2.173 MB / 0.5691 GB, free: 7.137 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestBraking/TestBraking.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches