Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.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.001304/0.001304, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001434/0.001434, allocations: 219.5 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|inertia1.w|inertia2.w|inertia3.w|inertia4.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") translateModel(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|inertia1.w|inertia2.w|inertia3.w|inertia4.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 51.91 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.214, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque): time 0.003538/0.2175, allocations: 2.149 MB / 434.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2188, allocations: 0.7207 MB / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.2189, allocations: 7.938 kB / 435.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.2191, allocations: 39.59 kB / 435.3 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.2193, allocations: 91.27 kB / 435.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.2196, allocations: 111.7 kB / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.22, allocations: 298.6 kB / 435.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.2201, allocations: 52.22 kB / 435.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.2202, allocations: 107.6 kB / 435.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.2204, allocations: 115.5 kB / 436 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.2204, allocations: 20 kB / 436 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.2e-05/0.2205, allocations: 20 kB / 436 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.2205, allocations: 59.75 kB / 436.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.2206, allocations: 103.5 kB / 436.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.2209, allocations: 261.9 kB / 436.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.2209, allocations: 4 kB / 436.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2209, allocations: 0 / 436.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.2209, allocations: 0 / 436.5 MB, free: 2.559 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007812/0.2217, allocations: 465.5 kB / 436.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2218, allocations: 8.031 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.37e-05/0.2218, allocations: 32.75 kB / 437 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.2221, allocations: 198.9 kB / 437.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.2222, allocations: 12.81 kB / 437.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.2222, allocations: 28.3 kB / 437.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.2227, allocations: 239 kB / 437.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.2227, allocations: 7.953 kB / 437.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.2227, allocations: 11.94 kB / 437.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2227, allocations: 8 kB / 437.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.2231, allocations: 135.8 kB / 437.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.2244, allocations: 0.9195 MB / 438.5 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/0.2249, allocations: 198.4 kB / 438.7 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.2251, allocations: 67.48 kB / 438.8 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.2251, allocations: 4 kB / 438.8 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.2251, allocations: 38.5 kB / 438.8 MB, free: 24 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.2251, allocations: 0 / 438.8 MB, free: 24 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006071/0.2257, allocations: 209.5 kB / 439 MB, free: 15.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.2258, allocations: 132.5 kB / 439.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.226, allocations: 191.2 kB / 439.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.226, allocations: 29.7 kB / 439.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.2261, allocations: 168.2 kB / 439.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.2262, allocations: 67.44 kB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.006e-05/0.2262, allocations: 49.69 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2264, allocations: 330.8 kB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.2265, allocations: 55.95 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.2268, allocations: 165.6 kB / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.2272, allocations: 237.5 kB / 440.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2272, allocations: 0 / 440.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004989/0.2277, allocations: 257.5 kB / 440.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2277, allocations: 12.03 kB / 440.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.2277, allocations: 4.25 kB / 440.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2277, allocations: 7.938 kB / 440.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.228, allocations: 71.84 kB / 440.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.228, allocations: 11.98 kB / 440.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.2282, allocations: 23.83 kB / 440.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.2282, allocations: 16 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.0001256/0.2283, allocations: 137.8 kB / 440.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.63e-05/0.2284, allocations: 19.86 kB / 441 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.271e-05/0.2285, allocations: 24.95 kB / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2285, allocations: 7.938 kB / 441 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2285, allocations: 4 kB / 441 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.2285, allocations: 19.83 kB / 441 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.2285, allocations: 8 kB / 441 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.2288, allocations: 4 kB / 441 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.2288, allocations: 19.91 kB / 441 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007732/0.2296, allocations: 0.4946 MB / 441.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006917/0.2303, allocations: 0.6248 MB / 442.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001589/0.2305, allocations: 51.95 kB / 442.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.2306, allocations: 140.5 kB / 442.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Backend: time 1.91e-07/0.2306, allocations: 0 / 442.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007697/0.2314, allocations: 189.3 kB / 442.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of SimCode: time 0.001622/0.233, allocations: 1.298 MB / 443.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Templates: time 0.007278/0.2403, allocations: 3.382 MB / 447.2 MB, free: 7.387 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/CompareBrakingTorque/CompareBrakingTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.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: 4.4941565960034495]