Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001406/0.001406, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001636/0.001636, allocations: 169.5 kB / 24.91 MB, free: 8.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9657/0.9657, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2707/0.2707, allocations: 34.87 MB / 296.6 MB, free: 468 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 325.9 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.573e-05, allocations: 5.266 kB / 325.9 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.005171/0.005197, allocations: 3.017 MB / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.008412, allocations: 1.087 MB / 330 MB, free: 3.098 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.008565, allocations: 11.88 kB / 330 MB, free: 3.086 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.008715, allocations: 67.31 kB / 330.1 MB, free: 3.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.008888, allocations: 126.8 kB / 330.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.009275, allocations: 179.4 kB / 330.4 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.009597, allocations: 477.5 kB / 330.8 MB, free: 2.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.009735, allocations: 84.61 kB / 330.9 MB, free: 2.156 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.009914, allocations: 251.4 kB / 331.2 MB, free: 1.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.01005, allocations: 127.7 kB / 331.3 MB, free: 1.785 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.0101, allocations: 32 kB / 331.3 MB, free: 1.754 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.01e-05/0.01019, allocations: 47.98 kB / 331.4 MB, free: 1.707 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.01023, allocations: 83.64 kB / 331.4 MB, free: 1.625 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.562e-05/0.01033, allocations: 143.7 kB / 331.6 MB, free: 1.484 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.01061, allocations: 314.8 kB / 331.9 MB, free: 1.176 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01061, allocations: 0 / 331.9 MB, free: 1.176 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01061, allocations: 0 / 331.9 MB, free: 1.176 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.01062, allocations: 0 / 331.9 MB, free: 1.176 MB / 298.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.0005955/0.01121, allocations: 0.5637 MB / 332.5 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.01125, allocations: 8.031 kB / 332.5 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.01145, allocations: 84.86 kB / 332.5 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.01167, allocations: 213.1 kB / 332.8 MB, free: 268 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.01169, allocations: 25.38 kB / 332.8 MB, free: 244 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.01173, allocations: 48.3 kB / 332.8 MB, free: 196 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.01205, allocations: 292.8 kB / 333.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.01207, allocations: 12.06 kB / 333.1 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.01209, allocations: 27.94 kB / 333.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.0121, allocations: 12 kB / 333.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.01223, allocations: 103.2 kB / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.01325, allocations: 1.207 MB / 334.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.01348, allocations: 231.3 kB / 334.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.01366, allocations: 61.28 kB / 334.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.01368, allocations: 4 kB / 334.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.0137, allocations: 46.5 kB / 334.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.363e-06/0.0137, allocations: 3.938 kB / 334.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002574/0.01396, allocations: 169.3 kB / 335 MB, free: 13.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.136e-05/0.01402, allocations: 183.9 kB / 335.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.01414, allocations: 224.9 kB / 335.4 MB, free: 13.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.01415, allocations: 25.83 kB / 335.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.01422, allocations: 212.2 kB / 335.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.208e-05/0.01427, allocations: 115 kB / 335.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.01434, allocations: 74.11 kB / 335.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.01442, allocations: 342.8 kB / 336.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.1e-05/0.01446, allocations: 36.91 kB / 336.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.01457, allocations: 198.4 kB / 336.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.01476, allocations: 289 kB / 336.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01477, allocations: 0 / 336.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002253/0.01499, allocations: 253.4 kB / 336.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01501, allocations: 9.094 kB / 336.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.01501, allocations: 4 kB / 336.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01503, allocations: 11.94 kB / 336.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.01521, allocations: 103.8 kB / 337 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.01521, allocations: 11.94 kB / 337 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.646e-05/0.01531, allocations: 43.7 kB / 337.1 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.01533, allocations: 16 kB / 337.1 MB, free: 11.51 MB / 314.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 7.917e-05/0.01541, allocations: 134 kB / 337.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.01547, allocations: 31.92 kB / 337.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.696e-05/0.01556, allocations: 79.44 kB / 337.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.01556, allocations: 7.938 kB / 337.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.01556, allocations: 0 / 337.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01557, allocations: 4 kB / 337.3 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.01587, allocations: 174.2 kB / 337.5 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01587, allocations: 0 / 337.5 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.01606, allocations: 84.2 kB / 337.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01606, allocations: 4 kB / 337.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.01607, allocations: 19.98 kB / 337.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01607, allocations: 0 / 337.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01608, allocations: 4 kB / 337.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005383/0.01661, allocations: 0.6534 MB / 338.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.01663, allocations: 23.8 kB / 338.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.01666, allocations: 15.94 kB / 338.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.0168, allocations: 4 kB / 338.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.01683, allocations: 27.89 kB / 338.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.01684, allocations: 11.98 kB / 338.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.146e-05/0.01688, allocations: 70.72 kB / 338.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01688, allocations: 4 kB / 338.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003277/0.01721, allocations: 107.7 kB / 338.5 MB, free: 10.01 MB / 314.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 8.215e-05/0.01729, allocations: 76.42 kB / 338.6 MB, free: 9.922 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.01745, allocations: 167.1 kB / 338.8 MB, free: 9.758 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.01746, allocations: 8.062 kB / 338.8 MB, free: 9.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.338e-05/0.01752, allocations: 72.92 kB / 338.8 MB, free: 9.676 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.01799, allocations: 75.84 kB / 338.9 MB, free: 9.609 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009272/0.01892, allocations: 0.7936 MB / 339.7 MB, free: 8.773 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.501e-05/0.01899, allocations: 100.6 kB / 339.8 MB, free: 8.652 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.651e-05/0.01907, allocations: 30.97 kB / 339.8 MB, free: 8.625 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.01919, allocations: 111.3 kB / 339.9 MB, free: 8.516 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01919, allocations: 0 / 339.9 MB, free: 8.516 MB / 314.7 MB Notification: Performance of Templates: time 0.004836/0.02403, allocations: 3.324 MB / 343.3 MB, free: 5.281 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8160210833884776]