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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 79.75 kB / 20.52 MB, free: 1.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00239/0.00239, allocations: 165.2 kB / 23.76 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 158.6 MB / 185.5 MB, free: 6.227 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2296/0.2296, allocations: 32.39 MB / 270.1 MB, free: 2.707 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 67.91 kB / 407.7 MB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1595, allocations: 61.04 MB / 468.8 MB, free: 8.336 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004071/0.1636, allocations: 2.519 MB / 471.3 MB, free: 5.801 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1654, allocations: 0.9471 MB / 472.2 MB, free: 4.844 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.1656, allocations: 7.938 kB / 472.2 MB, free: 4.836 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.1658, allocations: 59.44 kB / 472.3 MB, free: 4.777 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.166, allocations: 103.1 kB / 472.4 MB, free: 4.676 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.1665, allocations: 139.6 kB / 472.5 MB, free: 4.539 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.1669, allocations: 382.2 kB / 472.9 MB, free: 4.164 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.1671, allocations: 57.39 kB / 473 MB, free: 4.109 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.1672, allocations: 135.5 kB / 473.1 MB, free: 3.977 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.1674, allocations: 131.3 kB / 473.2 MB, free: 3.848 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.1675, allocations: 24 kB / 473.3 MB, free: 3.824 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1676, allocations: 43.98 kB / 473.3 MB, free: 3.781 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.1677, allocations: 59.77 kB / 473.4 MB, free: 3.723 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.1678, allocations: 139.4 kB / 473.5 MB, free: 3.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.1683, allocations: 362.5 kB / 473.8 MB, free: 3.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1683, allocations: 0 / 473.8 MB, free: 3.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1683, allocations: 0 / 473.8 MB, free: 3.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.1683, allocations: 4 kB / 473.8 MB, free: 3.227 MB / 446.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.0009286/0.1692, allocations: 0.5402 MB / 474.4 MB, free: 2.656 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1692, allocations: 8.031 kB / 474.4 MB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.1695, allocations: 48.73 kB / 474.4 MB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.1698, allocations: 206 kB / 474.6 MB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.1698, allocations: 21.03 kB / 474.7 MB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.738e-05/0.1699, allocations: 44.31 kB / 474.7 MB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.1704, allocations: 302.6 kB / 475 MB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.1704, allocations: 7.953 kB / 475 MB, free: 1.988 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.1705, allocations: 12 kB / 475 MB, free: 1.977 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.1705, allocations: 8 kB / 475 MB, free: 1.969 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/0.1708, allocations: 175.8 kB / 475.2 MB, free: 1.797 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.1727, allocations: 1.161 MB / 476.4 MB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.1732, allocations: 245 kB / 476.6 MB, free: 276 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.1733, allocations: 72.22 kB / 476.7 MB, free: 188 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.1733, allocations: 0 / 476.7 MB, free: 188 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.1734, allocations: 50.48 kB / 476.7 MB, free: 128 kB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.1734, allocations: 4 kB / 476.7 MB, free: 124 kB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.2859/0.4592, allocations: 216.9 kB / 476.9 MB, free: 50.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.4593, allocations: 164.2 kB / 477.1 MB, free: 49.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.4595, allocations: 199.9 kB / 477.3 MB, free: 49.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.4595, allocations: 32.36 kB / 477.3 MB, free: 49.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.4597, allocations: 199.1 kB / 477.5 MB, free: 49.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.4597, allocations: 100.7 kB / 477.6 MB, free: 49.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/0.4598, allocations: 55.73 kB / 477.7 MB, free: 49.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.4599, allocations: 338.8 kB / 478 MB, free: 49.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.937e-05/0.46, allocations: 63.33 kB / 478.1 MB, free: 49.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.4601, allocations: 210 kB / 478.3 MB, free: 49.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.4605, allocations: 296.9 kB / 478.6 MB, free: 49.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4605, allocations: 0 / 478.6 MB, free: 49.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004069/0.4609, allocations: 319 kB / 478.9 MB, free: 48.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.4609, allocations: 10.41 kB / 478.9 MB, free: 48.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4609, allocations: 6.5 kB / 478.9 MB, free: 48.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.4609, allocations: 7.141 kB / 478.9 MB, free: 48.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.4612, allocations: 89.05 kB / 479 MB, free: 48.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.4612, allocations: 13.41 kB / 479 MB, free: 48.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.4614, allocations: 32.97 kB / 479 MB, free: 48.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.4614, allocations: 19.77 kB / 479 MB, free: 48.96 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.4616, allocations: 156.9 kB / 479.2 MB, free: 48.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.4617, allocations: 24.33 kB / 479.2 MB, free: 48.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.4618, allocations: 84.94 kB / 479.3 MB, free: 48.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4618, allocations: 3.25 kB / 479.3 MB, free: 48.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.4618, allocations: 6.672 kB / 479.3 MB, free: 48.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.4618, allocations: 0 / 479.3 MB, free: 48.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.4623, allocations: 228.9 kB / 479.5 MB, free: 48.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4623, allocations: 1.75 kB / 479.5 MB, free: 48.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.4626, allocations: 70.94 kB / 479.6 MB, free: 48.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.4626, allocations: 4.156 kB / 479.6 MB, free: 48.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.4626, allocations: 6.406 kB / 479.6 MB, free: 48.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4626, allocations: 3.281 kB / 479.6 MB, free: 48.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4626, allocations: 0 / 479.6 MB, free: 48.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.4631, allocations: 0.6389 MB / 480.3 MB, free: 48.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.4631, allocations: 20.02 kB / 480.3 MB, free: 48.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.4631, allocations: 9.625 kB / 480.3 MB, free: 48.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.4634, allocations: 6.562 kB / 480.3 MB, free: 48.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.4634, allocations: 18.3 kB / 480.3 MB, free: 48.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.4634, allocations: 10.77 kB / 480.3 MB, free: 48.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.967e-05/0.4635, allocations: 140.9 kB / 480.5 MB, free: 48.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4635, allocations: 0 / 480.5 MB, free: 48.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005118/0.464, allocations: 83.7 kB / 480.5 MB, free: 48.11 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.211e-05/0.4641, allocations: 100.1 kB / 480.6 MB, free: 48.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.4644, allocations: 182.3 kB / 480.8 MB, free: 48.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4644, allocations: 2.906 kB / 480.8 MB, free: 48.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.68e-05/0.4645, allocations: 70.61 kB / 480.9 MB, free: 48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007776/0.4652, allocations: 68.2 kB / 481 MB, free: 47.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.4666, allocations: 1.102 MB / 482.1 MB, free: 47.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.4668, allocations: 164.9 kB / 482.2 MB, free: 47.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.898e-05/0.4669, allocations: 32.86 kB / 482.3 MB, free: 47.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.4669, allocations: 24.53 kB / 482.3 MB, free: 47.18 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4669, allocations: 3.281 kB / 482.3 MB, free: 47.18 MB / 446.1 MB Notification: Performance of Templates: time 0.006494/0.4734, allocations: 2.463 MB / 484.7 MB, free: 46.87 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.486309433938004]