Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 47.92 kB / 371.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3023, allocations: 52.19 MB / 423.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.004564/0.3068, allocations: 1.813 MB / 425.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.3084, allocations: 0.6389 MB / 426.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.3085, allocations: 4 kB / 426.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.3086, allocations: 23.73 kB / 426.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.3087, allocations: 35.7 kB / 426.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.3091, allocations: 51.81 kB / 426.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.3093, allocations: 123.4 kB / 426.6 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.3095, allocations: 21.58 kB / 426.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.488e-05/0.3096, allocations: 43.91 kB / 426.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3097, allocations: 43.78 kB / 426.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.3097, allocations: 12 kB / 426.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.3098, allocations: 24 kB / 426.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.028e-05/0.3099, allocations: 23.91 kB / 426.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.725e-05/0.31, allocations: 55.67 kB / 426.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.3103, allocations: 128.7 kB / 426.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3103, allocations: 0 / 426.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3103, allocations: 0 / 426.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.3103, allocations: 0 / 426.9 MB, free: 11.66 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00077/0.3111, allocations: 342 kB / 427.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.3111, allocations: 12.03 kB / 427.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002824/0.3114, allocations: 24.83 kB / 427.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.3117, allocations: 138.4 kB / 427.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3117, allocations: 8.5 kB / 427.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.3118, allocations: 8.375 kB / 427.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.3121, allocations: 101.6 kB / 427.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.3121, allocations: 0 / 427.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.3121, allocations: 4 kB / 427.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.3121, allocations: 4 kB / 427.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.3123, allocations: 59.97 kB / 427.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009545/0.3133, allocations: 414.7 kB / 428 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/0.3137, allocations: 114.4 kB / 428.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.3138, allocations: 32.84 kB / 428.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.3138, allocations: 4 kB / 428.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.3138, allocations: 34.56 kB / 428.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.3138, allocations: 0 / 428.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001771/0.3156, allocations: 389 kB / 428.6 MB, free: 9.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.3156, allocations: 51.41 kB / 428.6 MB, free: 9.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.3158, allocations: 126 kB / 428.7 MB, free: 9.645 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.3158, allocations: 29.7 kB / 428.8 MB, free: 9.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.921e-05/0.3159, allocations: 112 kB / 428.9 MB, free: 9.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.3159, allocations: 43.59 kB / 428.9 MB, free: 9.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/0.316, allocations: 25.72 kB / 428.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.3162, allocations: 326.8 kB / 429.3 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.86e-05/0.3163, allocations: 27.98 kB / 429.3 MB, free: 9.066 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.3164, allocations: 55.42 kB / 429.3 MB, free: 9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.3167, allocations: 95.36 kB / 429.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3167, allocations: 0 / 429.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003207/0.317, allocations: 137.5 kB / 429.6 MB, free: 8.754 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.317, allocations: 7.984 kB / 429.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.317, allocations: 0 / 429.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.317, allocations: 4 kB / 429.6 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.3172, allocations: 31.98 kB / 429.6 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.3173, allocations: 12 kB / 429.6 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.24e-05/0.3173, allocations: 3.938 kB / 429.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.3174, allocations: 4 kB / 429.6 MB, free: 8.691 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 (17): * Single equations (assignments): 17 * 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.0001263/0.3175, allocations: 117.8 kB / 429.7 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.3175, allocations: 7.953 kB / 429.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.032e-05/0.3176, allocations: 16.38 kB / 429.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3176, allocations: 0 / 429.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3176, allocations: 0 / 429.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.3176, allocations: 11.92 kB / 429.8 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008208/0.3184, allocations: 395.2 kB / 430.2 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3184, allocations: 0 / 430.2 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.3187, allocations: 31.98 kB / 430.2 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.3187, allocations: 8.031 kB / 430.2 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3187, allocations: 3.938 kB / 430.2 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.3187, allocations: 3.938 kB / 430.2 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3187, allocations: 12 kB / 430.2 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.3192, allocations: 238.1 kB / 430.5 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.3192, allocations: 15.98 kB / 430.5 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.3192, allocations: 7.938 kB / 430.5 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.3194, allocations: 0 / 430.5 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.3194, allocations: 19.92 kB / 430.5 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.3194, allocations: 4 kB / 430.5 MB, free: 7.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.635e-05/0.3195, allocations: 91.27 kB / 430.6 MB, free: 7.641 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3195, allocations: 0 / 430.6 MB, free: 7.641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004906/0.32, allocations: 28 kB / 430.6 MB, free: 7.613 MB / 334.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 (12): * Single equations (assignments): 12 * 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.000138/0.3202, allocations: 99.25 kB / 430.7 MB, free: 7.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.3204, allocations: 75.84 kB / 430.8 MB, free: 7.434 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.3204, allocations: 4.125 kB / 430.8 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.3206, allocations: 43.86 kB / 430.8 MB, free: 7.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.3211, allocations: 20.55 kB / 430.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3223, allocations: 494.9 kB / 431.3 MB, free: 6.844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.3227, allocations: 0.7041 MB / 432 MB, free: 6.113 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.058e-05/0.3228, allocations: 15.44 kB / 432.1 MB, free: 6.098 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3228, allocations: 0 / 432.1 MB, free: 6.098 MB / 334.1 MB Notification: Performance of Templates: time 0.004499/0.3273, allocations: 1.442 MB / 433.5 MB, free: 4.664 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.112533409148455]