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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001035, allocations: 95.58 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 173.5 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3884/0.3884, allocations: 43.55 MB / 314.5 MB, free: 9.043 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000572/0.0005721, allocations: 18.97 kB / 383.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1218, allocations: 58.86 MB / 442.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.002621/0.1244, allocations: 2.134 MB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1261, allocations: 0.9481 MB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.1263, allocations: 7.938 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.388e-05/0.1265, allocations: 31.77 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.1268, allocations: 131.6 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.1272, allocations: 107.8 kB / 446.1 MB, free: 9.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004553/0.1277, allocations: 271.4 kB / 446.4 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.1279, allocations: 73.59 kB / 446.4 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.1281, allocations: 119.6 kB / 446.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.1283, allocations: 127.4 kB / 446.7 MB, free: 9.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.1283, allocations: 12 kB / 446.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1284, allocations: 35.98 kB / 446.7 MB, free: 9.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.1285, allocations: 43.83 kB / 446.8 MB, free: 9.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.268e-05/0.1286, allocations: 89.52 kB / 446.9 MB, free: 9.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.1288, allocations: 251.5 kB / 447.1 MB, free: 8.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1288, allocations: 4 kB / 447.1 MB, free: 8.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1288, allocations: 4 kB / 447.1 MB, free: 8.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1289, allocations: 4 kB / 447.1 MB, free: 8.914 MB / 382.1 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.0008411/0.1297, allocations: 0.5379 MB / 447.6 MB, free: 8.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1298, allocations: 8.031 kB / 447.7 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002684/0.13, allocations: 51.52 kB / 447.7 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1304, allocations: 270.5 kB / 448 MB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.1304, allocations: 20.66 kB / 448 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.99e-05/0.1304, allocations: 35.91 kB / 448 MB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.1309, allocations: 290.7 kB / 448.3 MB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.1309, allocations: 7.922 kB / 448.3 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.131, allocations: 19.95 kB / 448.3 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.131, allocations: 12 kB / 448.3 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.1313, allocations: 172.4 kB / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.133, allocations: 1.341 MB / 449.9 MB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.1334, allocations: 241.3 kB / 450.1 MB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1334, allocations: 8 kB / 450.1 MB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.1334, allocations: 38.5 kB / 450.1 MB, free: 5.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.1334, allocations: 0 / 450.1 MB, free: 5.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004666/0.1339, allocations: 221.8 kB / 450.4 MB, free: 5.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.697e-05/0.134, allocations: 166.3 kB / 450.5 MB, free: 5.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.1342, allocations: 208.2 kB / 450.7 MB, free: 4.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1342, allocations: 29.7 kB / 450.7 MB, free: 4.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1343, allocations: 187.9 kB / 450.9 MB, free: 4.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.1344, allocations: 98.72 kB / 451 MB, free: 4.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.1344, allocations: 7.938 kB / 451 MB, free: 4.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1345, allocations: 338.8 kB / 451.4 MB, free: 4.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.1346, allocations: 59.97 kB / 451.4 MB, free: 4.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.1348, allocations: 202.5 kB / 451.6 MB, free: 3.992 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.135, allocations: 95.88 kB / 451.7 MB, free: 3.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.135, allocations: 4 kB / 451.7 MB, free: 3.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004447/0.1355, allocations: 317.1 kB / 452 MB, free: 3.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1355, allocations: 8 kB / 452 MB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1355, allocations: 4.188 kB / 452 MB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1355, allocations: 8 kB / 452.1 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.1358, allocations: 91.84 kB / 452.1 MB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/0.1358, allocations: 11.98 kB / 452.2 MB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.136, allocations: 39.53 kB / 452.2 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.136, allocations: 16 kB / 452.2 MB, free: 3.402 MB / 382.1 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 () * Number of clocked 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.0001315/0.1362, allocations: 153.9 kB / 452.4 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.1363, allocations: 27.77 kB / 452.4 MB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.1364, allocations: 83.08 kB / 452.5 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.1365, allocations: 4 kB / 452.5 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.1365, allocations: 0 / 452.5 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.1365, allocations: 7.984 kB / 452.5 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005922/0.1371, allocations: 305.4 kB / 452.8 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1371, allocations: 4 kB / 452.8 MB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.1374, allocations: 67.91 kB / 452.8 MB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.1374, allocations: 7.953 kB / 452.9 MB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.1375, allocations: 7.984 kB / 452.9 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1375, allocations: 4 kB / 452.9 MB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1375, allocations: 0 / 452.9 MB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005559/0.138, allocations: 0.6791 MB / 453.5 MB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.1381, allocations: 100.8 kB / 453.6 MB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.1382, allocations: 8 kB / 453.7 MB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.1384, allocations: 4.094 kB / 453.7 MB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.1385, allocations: 31.86 kB / 453.7 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1385, allocations: 4 kB / 453.7 MB, free: 1.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.1386, allocations: 149.6 kB / 453.8 MB, free: 1.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1386, allocations: 3.938 kB / 453.8 MB, free: 1.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005175/0.1391, allocations: 79.84 kB / 453.9 MB, free: 1.559 MB / 382.1 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 () * Number of clocked 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.0001109/0.1392, allocations: 95.25 kB / 454 MB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004111/0.1397, allocations: 184.4 kB / 454.2 MB, free: 1.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.1397, allocations: 4 kB / 454.2 MB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1398, allocations: 71.84 kB / 454.3 MB, free: 1.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.1404, allocations: 53.56 kB / 454.3 MB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1883/0.3287, allocations: 1.382 MB / 455.7 MB, free: 46.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.3291, allocations: 0.7767 MB / 456.5 MB, free: 45.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.3293, allocations: 32.64 kB / 456.5 MB, free: 45.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.3293, allocations: 21.5 kB / 456.5 MB, free: 45.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3293, allocations: 0 / 456.5 MB, free: 45.86 MB / 382.1 MB Notification: Performance of Templates: time 0.005018/0.3344, allocations: 2.271 MB / 458.8 MB, free: 45.82 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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