Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.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.001849/0.001849, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002307/0.002307, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 43.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2397, allocations: 53.37 MB / 431.6 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003406/0.2431, allocations: 1.933 MB / 433.5 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2443, allocations: 0.6429 MB / 434.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.2443, allocations: 0 / 434.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.2445, allocations: 23.8 kB / 434.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.615e-05/0.2445, allocations: 43.56 kB / 434.2 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.2448, allocations: 59.75 kB / 434.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.245, allocations: 143.3 kB / 434.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.2451, allocations: 17.31 kB / 434.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.044e-05/0.2452, allocations: 67.77 kB / 434.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.186e-05/0.2453, allocations: 51.7 kB / 434.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.2453, allocations: 12 kB / 434.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.406e-05/0.2453, allocations: 20 kB / 434.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.053e-05/0.2454, allocations: 23.92 kB / 434.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.889e-05/0.2454, allocations: 51.78 kB / 434.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.2457, allocations: 153.6 kB / 434.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2457, allocations: 0 / 434.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2457, allocations: 0 / 434.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2457, allocations: 0 / 434.8 MB, free: 3.449 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006241/0.2463, allocations: 369.7 kB / 435.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2463, allocations: 8.031 kB / 435.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.2465, allocations: 24.88 kB / 435.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.2468, allocations: 158.2 kB / 435.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.2468, allocations: 4.375 kB / 435.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.2468, allocations: 12.38 kB / 435.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.2471, allocations: 125.5 kB / 435.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.2472, allocations: 4 kB / 435.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.2472, allocations: 4 kB / 435.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.2472, allocations: 4 kB / 435.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.2475, allocations: 87.88 kB / 435.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008404/0.2483, allocations: 419 kB / 436 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.2486, allocations: 98.56 kB / 436.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.2488, allocations: 41 kB / 436.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.2488, allocations: 4 kB / 436.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.2488, allocations: 38.44 kB / 436.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.2488, allocations: 0 / 436.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004893/0.2493, allocations: 153.8 kB / 436.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.2494, allocations: 55.41 kB / 436.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.2495, allocations: 125.9 kB / 436.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.2495, allocations: 37.64 kB / 436.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2496, allocations: 112.2 kB / 436.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.2497, allocations: 31.73 kB / 436.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.2497, allocations: 29.7 kB / 436.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.2499, allocations: 322.8 kB / 437 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.25, allocations: 35.98 kB / 437 MB, free: 1.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.2502, allocations: 71.39 kB / 437.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.2504, allocations: 107.3 kB / 437.2 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2504, allocations: 0 / 437.2 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003412/0.2508, allocations: 161.4 kB / 437.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2508, allocations: 6.5 kB / 437.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2508, allocations: 0 / 437.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.2508, allocations: 4 kB / 437.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.251, allocations: 27.98 kB / 437.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.251, allocations: 3.984 kB / 437.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.2511, allocations: 15.94 kB / 437.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.2511, allocations: 4 kB / 437.4 MB, free: 0.5977 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (14): * Single equations (assignments): 14 * 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.0001103/0.2512, allocations: 121.8 kB / 437.6 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.2512, allocations: 19.88 kB / 437.6 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.374e-05/0.2513, allocations: 20.7 kB / 437.6 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2513, allocations: 0 / 437.6 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.2513, allocations: 4 kB / 437.6 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2513, allocations: 0 / 437.6 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.2515, allocations: 145.2 kB / 437.7 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2515, allocations: 0 / 437.7 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.2517, allocations: 31.97 kB / 437.8 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.2517, allocations: 7.938 kB / 437.8 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.2517, allocations: 0 / 437.8 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2517, allocations: 0 / 437.8 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2517, allocations: 4 kB / 437.8 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.2522, allocations: 259.4 kB / 438 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.2522, allocations: 15.94 kB / 438.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.2522, allocations: 7.938 kB / 438.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2523, allocations: 7.938 kB / 438.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.2524, allocations: 8.078 kB / 438.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.2524, allocations: 7.938 kB / 438.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.565e-05/0.2525, allocations: 103.2 kB / 438.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2525, allocations: 4 kB / 438.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.2527, allocations: 24 kB / 438.2 MB, free: 15.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.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 (9): * Single equations (assignments): 9 * 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.0001242/0.2529, allocations: 99.25 kB / 438.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003073/0.2532, allocations: 87.83 kB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2532, allocations: 0 / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.2533, allocations: 44.09 kB / 438.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.2536, allocations: 30.02 kB / 438.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008644/0.2545, allocations: 472.6 kB / 438.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.825e-05/0.2546, allocations: 93.17 kB / 439 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.518e-05/0.2547, allocations: 12.36 kB / 439 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.2547, allocations: 11.44 kB / 439 MB, free: 14.88 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2547, allocations: 4 kB / 439 MB, free: 14.88 MB / 350.1 MB Notification: Performance of Templates: time 0.004469/0.2592, allocations: 1.354 MB / 440.4 MB, free: 13.55 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.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.469503834843636]