Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001458/0.001458, allocations: 110.3 kB / 21.1 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00168/0.00168, allocations: 206.6 kB / 24.38 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.367/1.367, allocations: 230.5 MB / 258 MB, free: 8.098 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.89 kB / 378.7 MB, free: 2.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2347, allocations: 53.38 MB / 432 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003194/0.2379, allocations: 2.021 MB / 434.1 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.239, allocations: 0.7012 MB / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.2391, allocations: 4 kB / 434.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.2392, allocations: 19.78 kB / 434.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.453e-05/0.2393, allocations: 43.64 kB / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.2395, allocations: 55.8 kB / 434.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.2397, allocations: 147.3 kB / 435 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.2398, allocations: 25.28 kB / 435.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.245e-05/0.2399, allocations: 59.72 kB / 435.1 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.662e-05/0.24, allocations: 59.72 kB / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.24, allocations: 15.94 kB / 435.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.187e-05/0.2401, allocations: 27.98 kB / 435.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.2402, allocations: 23.91 kB / 435.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.767e-05/0.2402, allocations: 59.73 kB / 435.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.2405, allocations: 148.6 kB / 435.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2405, allocations: 0 / 435.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2405, allocations: 0 / 435.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.2405, allocations: 4 kB / 435.4 MB, free: 3.523 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.0006307/0.2411, allocations: 373.6 kB / 435.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2411, allocations: 12.03 kB / 435.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.2413, allocations: 28.83 kB / 435.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.2415, allocations: 146.3 kB / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.2416, allocations: 8.375 kB / 436 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.2416, allocations: 12.38 kB / 436 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.2419, allocations: 121.5 kB / 436.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.2419, allocations: 3.953 kB / 436.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.2419, allocations: 7.938 kB / 436.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2419, allocations: 7.938 kB / 436.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.2422, allocations: 91.92 kB / 436.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007812/0.243, allocations: 458.5 kB / 436.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.2433, allocations: 110.6 kB / 436.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.2434, allocations: 48.84 kB / 436.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.2434, allocations: 0 / 436.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.2435, allocations: 38.55 kB / 436.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/0.2435, allocations: 3.938 kB / 436.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009782/0.2444, allocations: 413 kB / 437.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.2445, allocations: 51.41 kB / 437.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.2446, allocations: 134.2 kB / 437.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.2446, allocations: 25.7 kB / 437.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.2447, allocations: 112.2 kB / 437.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.2447, allocations: 55.56 kB / 437.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.2448, allocations: 33.66 kB / 437.7 MB, free: 1.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.2449, allocations: 326.8 kB / 438 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.2451, allocations: 43.97 kB / 438 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.2452, allocations: 75.3 kB / 438.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.2455, allocations: 130.6 kB / 438.3 MB, free: 488 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2455, allocations: 0 / 438.3 MB, free: 488 kB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000334/0.2458, allocations: 161.5 kB / 438.4 MB, free: 320 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2458, allocations: 11.94 kB / 438.4 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2458, allocations: 3.938 kB / 438.4 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2458, allocations: 4.062 kB / 438.4 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.246, allocations: 47.91 kB / 438.5 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.246, allocations: 0 / 438.5 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.69e-05/0.2461, allocations: 8 kB / 438.5 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.2461, allocations: 8 kB / 438.5 MB, free: 236 kB / 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 (18): * Single equations (assignments): 18 * 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 9.897e-05/0.2462, allocations: 125.8 kB / 438.6 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.2463, allocations: 11.89 kB / 438.6 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.2463, allocations: 16.78 kB / 438.6 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2463, allocations: 4 kB / 438.6 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2463, allocations: 0 / 438.6 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2463, allocations: 4.047 kB / 438.6 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007177/0.247, allocations: 443.8 kB / 439.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.247, allocations: 0 / 439.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.2472, allocations: 47.97 kB / 439.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2472, allocations: 0 / 439.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.2472, allocations: 4 kB / 439.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2472, allocations: 0 / 439.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2472, allocations: 0 / 439.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.2477, allocations: 305 kB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.2478, allocations: 11.95 kB / 439.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.2478, allocations: 4 kB / 439.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.2479, allocations: 12.03 kB / 439.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.248, allocations: 11.92 kB / 439.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.248, allocations: 4 kB / 439.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.78e-05/0.248, allocations: 105.5 kB / 439.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.248, allocations: 7.938 kB / 439.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000254/0.2483, allocations: 28 kB / 439.6 MB, free: 15.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (13): * Single equations (assignments): 13 * 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.89e-05/0.2484, allocations: 99.19 kB / 439.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.2487, allocations: 111.9 kB / 439.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2487, allocations: 0 / 439.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.2489, allocations: 64.2 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.2492, allocations: 23.98 kB / 439.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.25, allocations: 494.7 kB / 440.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.2503, allocations: 0.708 MB / 441.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.356e-05/0.2503, allocations: 16.42 kB / 441.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.2504, allocations: 19.38 kB / 441.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2504, allocations: 0 / 441.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of Templates: time 0.004224/0.2546, allocations: 1.49 MB / 442.6 MB, free: 11.97 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.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.080421052873135]