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.001348/0.001348, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002889/0.002889, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2478/0.2478, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 79.03 kB / 417.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1231, allocations: 62.46 MB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.005217/0.1284, allocations: 3.027 MB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.1306, allocations: 1.067 MB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003081/0.1309, allocations: 11.94 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.1312, allocations: 51.39 kB / 484.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.1315, allocations: 130.9 kB / 484.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008135/0.1324, allocations: 179.5 kB / 484.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005059/0.1329, allocations: 445.9 kB / 485 MB, free: 304 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002838/0.1332, allocations: 120.4 kB / 485.1 MB, free: 180 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.1334, allocations: 159.4 kB / 485.3 MB, free: 20 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.1336, allocations: 175.2 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.431e-05/0.1337, allocations: 32 kB / 485.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.1338, allocations: 59.92 kB / 485.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.331e-05/0.1339, allocations: 75.75 kB / 485.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.1341, allocations: 195 kB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004942/0.1346, allocations: 430.8 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1346, allocations: 3.938 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1346, allocations: 0 / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1347, allocations: 0 / 486.2 MB, free: 15.07 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.001119/0.1358, allocations: 0.659 MB / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1359, allocations: 12.03 kB / 486.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003197/0.1362, allocations: 60.45 kB / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.1365, allocations: 287.5 kB / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.1366, allocations: 25.38 kB / 487.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.1367, allocations: 40.28 kB / 487.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/0.1373, allocations: 375.5 kB / 487.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.1373, allocations: 4 kB / 487.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.1374, allocations: 16 kB / 487.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.1374, allocations: 8 kB / 487.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/0.1378, allocations: 215.8 kB / 487.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/0.1403, allocations: 1.597 MB / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006651/0.141, allocations: 311.6 kB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.1412, allocations: 105.1 kB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.1412, allocations: 0 / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/0.1413, allocations: 46.5 kB / 490 MB, free: 11.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.064e-06/0.1413, allocations: 0 / 490 MB, free: 11.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007246/0.142, allocations: 273.3 kB / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.1421, allocations: 183.9 kB / 490.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.1424, allocations: 250.6 kB / 490.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.1425, allocations: 29.7 kB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.1426, allocations: 215.7 kB / 490.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.1427, allocations: 102.5 kB / 491 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1429, allocations: 74.05 kB / 491.1 MB, free: 9.852 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1431, allocations: 342.8 kB / 491.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.1433, allocations: 76.84 kB / 491.5 MB, free: 9.434 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.1436, allocations: 257.7 kB / 491.7 MB, free: 9.102 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000533/0.1442, allocations: 361.1 kB / 492.1 MB, free: 8.672 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.1442, allocations: 4 kB / 492.1 MB, free: 8.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006521/0.1448, allocations: 389.1 kB / 492.5 MB, free: 8.281 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.1449, allocations: 10.5 kB / 492.5 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1449, allocations: 4 kB / 492.5 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.1449, allocations: 8 kB / 492.5 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.1453, allocations: 107.8 kB / 492.6 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.1453, allocations: 11.94 kB / 492.6 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.1455, allocations: 43.58 kB / 492.6 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.1456, allocations: 24 kB / 492.7 MB, free: 8.078 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.0001745/0.1458, allocations: 161.7 kB / 492.8 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.1459, allocations: 27.72 kB / 492.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.1461, allocations: 87.39 kB / 492.9 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.1461, allocations: 4 kB / 492.9 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.1461, allocations: 4 kB / 492.9 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1461, allocations: 3.984 kB / 492.9 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007085/0.1468, allocations: 345.3 kB / 493.3 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.1469, allocations: 3.984 kB / 493.3 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.1472, allocations: 79.91 kB / 493.4 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.1473, allocations: 8 kB / 493.4 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.1473, allocations: 16.23 kB / 493.4 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1473, allocations: 4 kB / 493.4 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1473, allocations: 4 kB / 493.4 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008031/0.1481, allocations: 0.77 MB / 494.2 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.971e-05/0.1482, allocations: 100.8 kB / 494.3 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.1483, allocations: 8 kB / 494.3 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.1486, allocations: 8 kB / 494.3 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.1486, allocations: 23.91 kB / 494.3 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.1487, allocations: 8 kB / 494.3 MB, free: 6.328 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.1488, allocations: 177.9 kB / 494.5 MB, free: 6.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1488, allocations: 4 kB / 494.5 MB, free: 6.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006008/0.1494, allocations: 99.69 kB / 494.6 MB, free: 6.055 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.0001429/0.1496, allocations: 104 kB / 494.7 MB, free: 5.945 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004944/0.1501, allocations: 253.2 kB / 494.9 MB, free: 5.699 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1501, allocations: 288 / 494.9 MB, free: 5.699 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.1503, allocations: 99.81 kB / 495 MB, free: 5.602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009965/0.1513, allocations: 76.94 kB / 495.1 MB, free: 5.527 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.1535, allocations: 1.3 MB / 496.4 MB, free: 4.184 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.1539, allocations: 0.7873 MB / 497.2 MB, free: 3.367 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001577/0.1541, allocations: 38.97 kB / 497.2 MB, free: 3.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.1542, allocations: 27.42 kB / 497.3 MB, free: 3.297 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1542, allocations: 3.938 kB / 497.3 MB, free: 3.293 MB / 366.1 MB Notification: Performance of Templates: time 0.007641/0.1618, allocations: 3.034 MB / 0.4886 GB, free: 300 kB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches