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.001303/0.001303, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001809/0.003113, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001212/0.001212, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001452/0.002664, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.05/1.05, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1969/1.247, allocations: 49.49 MB / 220.5 MB, free: 5.281 MB / 218.7 MB " [Timeout remaining time 179] 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.1478/0.1478, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02579/0.1736, allocations: 12.29 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 4 kB / 267.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.721e-05, allocations: 6.25 kB / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.002928/0.002956, allocations: 2.749 MB / 269.9 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.004237, allocations: 1.009 MB / 271 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.004416, allocations: 7.938 kB / 271 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.004517, allocations: 55.45 kB / 271 MB, free: 2.699 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.004663, allocations: 111 kB / 271.1 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.004972, allocations: 139.6 kB / 271.3 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.005311, allocations: 390 kB / 271.6 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.005451, allocations: 63.36 kB / 271.7 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.005656, allocations: 227.4 kB / 271.9 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.00581, allocations: 107.7 kB / 272 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.005843, allocations: 24 kB / 272.1 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.00595, allocations: 39.98 kB / 272.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.005989, allocations: 47.81 kB / 272.1 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.745e-05/0.006066, allocations: 95.81 kB / 272.2 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.006347, allocations: 243 kB / 272.5 MB, free: 1.242 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.596e-05/0.006363, allocations: 0 / 272.5 MB, free: 1.242 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006364, allocations: 4 kB / 272.5 MB, free: 1.238 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.00638, allocations: 0 / 272.5 MB, free: 1.238 MB / 266.7 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.0006811/0.007061, allocations: 0.5738 MB / 273 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.007097, allocations: 15.89 kB / 273.1 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.007334, allocations: 141.9 kB / 273.2 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.007541, allocations: 193.3 kB / 273.4 MB, free: 260 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.00756, allocations: 25.03 kB / 273.4 MB, free: 232 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.007599, allocations: 36.31 kB / 273.4 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.007831, allocations: 239.2 kB / 273.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.007847, allocations: 8.141 kB / 273.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.007866, allocations: 19.94 kB / 273.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.007874, allocations: 11.98 kB / 273.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.007989, allocations: 79.89 kB / 273.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.009224, allocations: 1.045 MB / 274.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.009443, allocations: 180.8 kB / 275 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.009491, allocations: 56.22 kB / 275.1 MB, free: 14.42 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.009511, allocations: 8 kB / 275.1 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.009535, allocations: 42.56 kB / 275.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.009537, allocations: 0 / 275.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002407/0.009778, allocations: 153.9 kB / 275.3 MB, free: 14.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.009837, allocations: 158.2 kB / 275.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.009946, allocations: 202.4 kB / 275.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.00996, allocations: 33.7 kB / 275.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.01003, allocations: 180.3 kB / 275.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.01008, allocations: 99.14 kB / 275.9 MB, free: 13.49 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.01014, allocations: 57.67 kB / 276 MB, free: 13.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.01022, allocations: 342.8 kB / 276.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.363e-05/0.01026, allocations: 28.11 kB / 276.4 MB, free: 13.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.506e-05/0.01035, allocations: 161.9 kB / 276.5 MB, free: 12.83 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.01052, allocations: 241.7 kB / 276.7 MB, free: 12.53 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.01052, allocations: 7.938 kB / 276.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0001965/0.01072, allocations: 209.2 kB / 277 MB, free: 12.31 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.01074, allocations: 11.94 kB / 277 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.01074, allocations: 7.984 kB / 277 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.01076, allocations: 8 kB / 277 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.01099, allocations: 115.8 kB / 277.1 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.011, allocations: 8.531 kB / 277.1 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.96e-05/0.01108, allocations: 35.72 kB / 277.1 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.01109, allocations: 16 kB / 277.2 MB, free: 12.11 MB / 282.7 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 8.283e-05/0.01117, allocations: 129.7 kB / 277.3 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.01123, allocations: 27.91 kB / 277.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.01134, allocations: 75.27 kB / 277.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01135, allocations: 4.062 kB / 277.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.01135, allocations: 8 kB / 277.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01136, allocations: 0 / 277.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.01165, allocations: 161.7 kB / 277.6 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01165, allocations: 4 kB / 277.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.01185, allocations: 79.89 kB / 277.6 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/0.01187, allocations: 23.86 kB / 277.7 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01187, allocations: 3.938 kB / 277.7 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.01189, allocations: 11.98 kB / 277.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01189, allocations: 4 kB / 277.7 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01189, allocations: 0 / 277.7 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.01219, allocations: 0.5555 MB / 278.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.01221, allocations: 8 kB / 278.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.01234, allocations: 8 kB / 278.3 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.01236, allocations: 19.97 kB / 278.3 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.01237, allocations: 4 kB / 278.3 MB, free: 10.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.208e-05/0.01241, allocations: 62.86 kB / 278.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01241, allocations: 0 / 278.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.01271, allocations: 83.84 kB / 278.4 MB, free: 10.8 MB / 282.7 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.015e-05/0.0128, allocations: 92.28 kB / 278.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.01296, allocations: 144.8 kB / 278.6 MB, free: 10.56 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.01297, allocations: 4 kB / 278.7 MB, free: 10.56 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.138e-05/0.01302, allocations: 64.77 kB / 278.7 MB, free: 10.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.01344, allocations: 80.84 kB / 278.8 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.01732, allocations: 0.6766 MB / 279.5 MB, free: 9.695 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.237e-05/0.0174, allocations: 104.2 kB / 279.6 MB, free: 9.574 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.77e-05/0.01749, allocations: 26.97 kB / 279.6 MB, free: 9.547 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.01761, allocations: 107.3 kB / 279.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01761, allocations: 0 / 279.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of Templates: time 0.005197/0.0228, allocations: 3.05 MB / 282.8 MB, free: 6.383 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 240] 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","",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.8170568868517876]