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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_trunk_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|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247.5 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2307/0.2307, allocations: 46.12 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 79.75 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1118, allocations: 62.45 MB / 480.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004514/0.1164, allocations: 3.031 MB / 483.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.1183, allocations: 1.071 MB / 484.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.1185, allocations: 12 kB / 484.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.1187, allocations: 67.31 kB / 484.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.119, allocations: 118.9 kB / 485 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.1195, allocations: 171.6 kB / 485.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.12, allocations: 449.9 kB / 485.7 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.1203, allocations: 120.4 kB / 485.8 MB, free: 212 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.1204, allocations: 155.4 kB / 485.9 MB, free: 56 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.1207, allocations: 179.3 kB / 486.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/0.1208, allocations: 28 kB / 486.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1209, allocations: 55.86 kB / 486.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.838e-05/0.121, allocations: 75.75 kB / 486.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.1212, allocations: 195 kB / 486.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004909/0.1217, allocations: 438.7 kB / 486.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1217, allocations: 0 / 486.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1217, allocations: 0 / 486.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.1218, allocations: 3.938 kB / 486.9 MB, free: 15.1 MB / 366.1 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.001104/0.1229, allocations: 0.6513 MB / 487.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1229, allocations: 12.03 kB / 487.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003105/0.1232, allocations: 64.44 kB / 487.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.1236, allocations: 291.5 kB / 487.9 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.1236, allocations: 25.38 kB / 487.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.592e-05/0.1237, allocations: 44.28 kB / 488 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006063/0.1243, allocations: 367.5 kB / 488.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.1244, allocations: 4 kB / 488.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.1244, allocations: 19.98 kB / 488.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1244, allocations: 8 kB / 488.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.1249, allocations: 214.9 kB / 488.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.1273, allocations: 1.589 MB / 490.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.128, allocations: 307.6 kB / 490.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.1282, allocations: 109.2 kB / 490.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.1282, allocations: 3.984 kB / 490.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.1282, allocations: 50.44 kB / 490.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.1282, allocations: 4 kB / 490.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007223/0.129, allocations: 265.2 kB / 490.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.1291, allocations: 187.9 kB / 491.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.1294, allocations: 246.5 kB / 491.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1294, allocations: 25.7 kB / 491.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.1296, allocations: 219.9 kB / 491.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.246e-05/0.1297, allocations: 102.7 kB / 491.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.1298, allocations: 78.03 kB / 491.7 MB, free: 9.887 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.13, allocations: 338.8 kB / 492 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.1302, allocations: 84.83 kB / 492.1 MB, free: 9.465 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.1305, allocations: 245.7 kB / 492.4 MB, free: 9.145 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/0.131, allocations: 361.1 kB / 492.7 MB, free: 8.715 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1311, allocations: 4 kB / 492.7 MB, free: 8.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006762/0.1317, allocations: 384.7 kB / 493.1 MB, free: 8.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1318, allocations: 10.5 kB / 493.1 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1318, allocations: 4.625 kB / 493.1 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.1318, allocations: 8 kB / 493.1 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.1322, allocations: 115.8 kB / 493.2 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.1322, allocations: 12.25 kB / 493.2 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.1325, allocations: 43.59 kB / 493.3 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.1325, allocations: 20 kB / 493.3 MB, free: 8.121 MB / 366.1 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.0001725/0.1327, allocations: 161.6 kB / 493.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.1328, allocations: 27.72 kB / 493.5 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.133, allocations: 87.33 kB / 493.6 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.133, allocations: 8 kB / 493.6 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.1331, allocations: 4 kB / 493.6 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1331, allocations: 0 / 493.6 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007585/0.1338, allocations: 353.2 kB / 493.9 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.1339, allocations: 4 kB / 493.9 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/0.1343, allocations: 83.89 kB / 494 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1343, allocations: 0 / 494 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.1343, allocations: 8 kB / 494 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.1343, allocations: 4 kB / 494 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.1343, allocations: 3.984 kB / 494 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008521/0.1352, allocations: 0.7707 MB / 494.8 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.368e-05/0.1353, allocations: 108.7 kB / 494.9 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.1353, allocations: 8 kB / 494.9 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.1357, allocations: 16 kB / 494.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.1357, allocations: 19.97 kB / 495 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.1357, allocations: 8.188 kB / 495 MB, free: 6.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.1359, allocations: 169.9 kB / 495.1 MB, free: 6.199 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1359, allocations: 0 / 495.1 MB, free: 6.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006214/0.1366, allocations: 103.7 kB / 495.2 MB, free: 6.098 MB / 366.1 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.0001364/0.1367, allocations: 107.2 kB / 495.3 MB, free: 5.984 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005423/0.1372, allocations: 260.1 kB / 495.6 MB, free: 5.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1373, allocations: 1.25 kB / 495.6 MB, free: 5.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.1375, allocations: 91.84 kB / 495.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009952/0.1385, allocations: 72.8 kB / 495.7 MB, free: 5.566 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.1408, allocations: 1.329 MB / 497.1 MB, free: 4.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.1413, allocations: 0.7912 MB / 497.9 MB, free: 3.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/0.1413, allocations: 23.44 kB / 497.9 MB, free: 3.348 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1414, allocations: 4 kB / 497.9 MB, free: 3.344 MB / 366.1 MB Notification: Performance of Templates: time 0.007176/0.1485, allocations: 4.064 MB / 0.4902 GB, free: 15.29 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches