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.001368/0.001368, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.001715/0.001715, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 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 0.8586/0.8586, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.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.1568/0.1568, allocations: 32.37 MB / 270.4 MB, free: 14.97 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 1.934e-06/1.934e-06, allocations: 0 / 408.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.689e-05/3.882e-05, allocations: 9.875 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.003138/0.003177, allocations: 2.519 MB / 410.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.004652, allocations: 0.9392 MB / 411.5 MB, free: 9.562 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.004838, allocations: 11.88 kB / 411.6 MB, free: 9.551 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.004995, allocations: 51.45 kB / 411.6 MB, free: 9.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.005155, allocations: 119 kB / 411.7 MB, free: 9.383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.005639, allocations: 143.5 kB / 411.9 MB, free: 9.242 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.005993, allocations: 389.9 kB / 412.2 MB, free: 8.859 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.006163, allocations: 61.38 kB / 412.3 MB, free: 8.797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.006358, allocations: 207.5 kB / 412.5 MB, free: 8.594 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.006496, allocations: 107.7 kB / 412.6 MB, free: 8.488 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.006529, allocations: 24 kB / 412.6 MB, free: 8.465 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.324e-05/0.006622, allocations: 39.98 kB / 412.7 MB, free: 8.426 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.006662, allocations: 67.75 kB / 412.7 MB, free: 8.359 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.176e-05/0.006754, allocations: 111.7 kB / 412.8 MB, free: 8.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.00712, allocations: 378.6 kB / 413.2 MB, free: 7.879 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.007124, allocations: 0 / 413.2 MB, free: 7.879 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007125, allocations: 0 / 413.2 MB, free: 7.879 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.007131, allocations: 0 / 413.2 MB, free: 7.879 MB / 346.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.0008147/0.007946, allocations: 0.5209 MB / 413.7 MB, free: 7.324 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.007987, allocations: 8.031 kB / 413.7 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.008161, allocations: 52.69 kB / 413.8 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.008483, allocations: 213.2 kB / 414 MB, free: 7.031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.008504, allocations: 21.03 kB / 414 MB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.008555, allocations: 40.33 kB / 414.1 MB, free: 6.973 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.008953, allocations: 303.2 kB / 414.4 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.008977, allocations: 4.188 kB / 414.4 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.009003, allocations: 19.94 kB / 414.4 MB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.009013, allocations: 4 kB / 414.4 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.009248, allocations: 183.8 kB / 414.6 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.01049, allocations: 1.165 MB / 415.7 MB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.01081, allocations: 237 kB / 416 MB, free: 4.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.01089, allocations: 76.31 kB / 416 MB, free: 4.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.01091, allocations: 4 kB / 416 MB, free: 4.836 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.01093, allocations: 43 kB / 416.1 MB, free: 4.785 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.635e-06/0.01094, allocations: 0 / 416.1 MB, free: 4.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003928/0.01133, allocations: 222 kB / 416.3 MB, free: 4.562 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.0114, allocations: 162.2 kB / 416.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.01156, allocations: 204.4 kB / 416.7 MB, free: 4.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.01158, allocations: 33.64 kB / 416.7 MB, free: 4.121 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.447e-05/0.01167, allocations: 196.3 kB / 416.9 MB, free: 3.926 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.01172, allocations: 95.2 kB / 417 MB, free: 3.832 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.944e-05/0.01179, allocations: 61.66 kB / 417 MB, free: 3.766 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.0119, allocations: 338.8 kB / 417.4 MB, free: 3.426 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.01198, allocations: 63.97 kB / 417.4 MB, free: 3.363 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.01213, allocations: 210.2 kB / 417.6 MB, free: 3.094 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.01239, allocations: 293.7 kB / 417.9 MB, free: 2.742 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.0124, allocations: 4 kB / 417.9 MB, free: 2.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003316/0.01273, allocations: 309.5 kB / 418.2 MB, free: 2.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.01275, allocations: 14.66 kB / 418.2 MB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.01276, allocations: 8.172 kB / 418.2 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.01278, allocations: 8.094 kB / 418.3 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.01296, allocations: 95.78 kB / 418.3 MB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.01297, allocations: 8 kB / 418.4 MB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.01308, allocations: 43.72 kB / 418.4 MB, free: 2.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.01309, allocations: 12 kB / 418.4 MB, free: 2.246 MB / 346.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 0.000122/0.01321, allocations: 153.7 kB / 418.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.01327, allocations: 23.84 kB / 418.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.01342, allocations: 83.14 kB / 418.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01343, allocations: 8 kB / 418.7 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.01343, allocations: 0 / 418.7 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.01344, allocations: 4 kB / 418.7 MB, free: 1.969 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.01378, allocations: 217.1 kB / 418.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.01379, allocations: 4 kB / 418.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.01396, allocations: 67.91 kB / 419 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.01396, allocations: 4 kB / 419 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.01398, allocations: 7.938 kB / 419 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.01398, allocations: 7.984 kB / 419 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01398, allocations: 0 / 419 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/0.01441, allocations: 0.6335 MB / 419.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.01444, allocations: 27.78 kB / 419.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.01447, allocations: 11.94 kB / 419.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.0146, allocations: 0 / 419.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.01463, allocations: 19.97 kB / 419.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.01464, allocations: 8 kB / 419.7 MB, free: 0.918 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.827e-05/0.01471, allocations: 143.9 kB / 419.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01471, allocations: 0 / 419.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003603/0.01507, allocations: 83.84 kB / 419.9 MB, free: 0.6953 MB / 346.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 0.0001001/0.01518, allocations: 105.4 kB / 420 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.01542, allocations: 187.8 kB / 420.2 MB, free: 412 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.01542, allocations: 0 / 420.2 MB, free: 412 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.687e-05/0.01549, allocations: 67.86 kB / 420.3 MB, free: 344 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.01604, allocations: 70.14 kB / 420.3 MB, free: 276 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.01727, allocations: 0.8981 MB / 421.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.0174, allocations: 165.1 kB / 421.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.01746, allocations: 24.5 kB / 421.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01746, allocations: 7.938 kB / 421.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of Templates: time 0.004958/0.02242, allocations: 3.557 MB / 425 MB, free: 11.55 MB / 362.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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins/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.009626445360482]