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.001362/0.001362, allocations: 103 kB / 21.18 MB, free: 0.6523 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.001405/0.001405, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.426/1.426, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001589/0.001589, allocations: 51.92 kB / 378.9 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2356, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003439/0.239, allocations: 1.937 MB / 434.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.2403, allocations: 0.6468 MB / 434.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2404, allocations: 7.938 kB / 434.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.2405, allocations: 15.8 kB / 434.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.2406, allocations: 47.62 kB / 435 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.2409, allocations: 51.8 kB / 435 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.2411, allocations: 147.3 kB / 435.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.2412, allocations: 24.2 kB / 435.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.2413, allocations: 59.78 kB / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.902e-05/0.2414, allocations: 59.77 kB / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.2414, allocations: 8 kB / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.505e-05/0.2415, allocations: 27.98 kB / 435.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.988e-05/0.2415, allocations: 27.86 kB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.03e-05/0.2416, allocations: 43.8 kB / 435.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.2418, allocations: 159.1 kB / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2419, allocations: 0 / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2419, allocations: 0 / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.2419, allocations: 0 / 435.6 MB, free: 3.453 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.0006861/0.2425, allocations: 361.7 kB / 435.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2426, allocations: 12.03 kB / 435.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.2428, allocations: 28.88 kB / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.2431, allocations: 150.2 kB / 436.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.2431, allocations: 8.375 kB / 436.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.2431, allocations: 12.38 kB / 436.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.2434, allocations: 117.5 kB / 436.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.2434, allocations: 0 / 436.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.2434, allocations: 8 kB / 436.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2434, allocations: 4 kB / 436.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.2437, allocations: 91.88 kB / 436.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000892/0.2446, allocations: 415 kB / 436.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.245, allocations: 98.56 kB / 436.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.2451, allocations: 49 kB / 436.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.2451, allocations: 0 / 436.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.2451, allocations: 38.5 kB / 436.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.2451, allocations: 0 / 436.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004811/0.2456, allocations: 149.7 kB / 437.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.2456, allocations: 55.41 kB / 437.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.2458, allocations: 133.8 kB / 437.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.2458, allocations: 25.7 kB / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.2459, allocations: 116.2 kB / 437.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.2459, allocations: 39.67 kB / 437.4 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.246, allocations: 29.7 kB / 437.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2461, allocations: 318.8 kB / 437.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.2462, allocations: 31.98 kB / 437.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.2464, allocations: 67.41 kB / 437.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.2467, allocations: 115.3 kB / 438 MB, free: 0.832 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2467, allocations: 0 / 438 MB, free: 0.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003781/0.247, allocations: 153.4 kB / 438.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.247, allocations: 4 kB / 438.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2471, allocations: 8.094 kB / 438.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2471, allocations: 0 / 438.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.2472, allocations: 31.92 kB / 438.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2472, allocations: 7.984 kB / 438.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.2473, allocations: 7.938 kB / 438.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.2474, allocations: 8 kB / 438.2 MB, free: 0.6094 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.0001091/0.2475, allocations: 121.8 kB / 438.3 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.2475, allocations: 15.84 kB / 438.3 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.2476, allocations: 20.7 kB / 438.4 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2476, allocations: 8 kB / 438.4 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2476, allocations: 0 / 438.4 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2476, allocations: 0 / 438.4 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.2478, allocations: 145.2 kB / 438.5 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2478, allocations: 0 / 438.5 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.248, allocations: 31.97 kB / 438.5 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.248, allocations: 3.938 kB / 438.5 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.248, allocations: 4 kB / 438.5 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.248, allocations: 0 / 438.5 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.248, allocations: 0 / 438.5 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.2485, allocations: 255.4 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.2485, allocations: 16.14 kB / 438.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.2485, allocations: 11.92 kB / 438.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.2487, allocations: 7.938 kB / 438.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.2487, allocations: 16 kB / 438.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.2487, allocations: 4 kB / 438.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.763e-05/0.2488, allocations: 102.2 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2488, allocations: 0 / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.2491, allocations: 35.98 kB / 439 MB, free: 15.77 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 9.592e-05/0.2491, allocations: 95.25 kB / 439.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.2495, allocations: 83.89 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2495, allocations: 4 kB / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.2496, allocations: 43.91 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.2499, allocations: 26.17 kB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008492/0.2508, allocations: 468.5 kB / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.73e-05/0.2509, allocations: 97.17 kB / 439.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.111e-05/0.2509, allocations: 12.36 kB / 439.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.251, allocations: 11.44 kB / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.251, allocations: 0 / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of Templates: time 0.004344/0.2553, allocations: 1.393 MB / 441.2 MB, free: 13.53 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/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.143736623998848]