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.001753/0.001753, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.002182/0.002182, allocations: 185 kB / 24.46 MB, free: 3.863 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.497/1.497, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.001697/0.001697, allocations: 47.92 kB / 371.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2938, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.004725/0.2986, allocations: 1.754 MB / 425.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.3002, allocations: 0.5805 MB / 426.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.3004, allocations: 0 / 426.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.3005, allocations: 15.86 kB / 426.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.3007, allocations: 39.64 kB / 426.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.301, allocations: 51.81 kB / 426.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.3013, allocations: 123.4 kB / 426.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.3015, allocations: 33.34 kB / 426.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.3016, allocations: 43.86 kB / 426.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.3017, allocations: 43.78 kB / 426.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.3018, allocations: 8 kB / 426.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.3019, allocations: 23.98 kB / 426.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.663e-05/0.3019, allocations: 23.92 kB / 426.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.666e-05/0.302, allocations: 43.73 kB / 426.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.3024, allocations: 134.3 kB / 426.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.3024, allocations: 8 kB / 426.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.3024, allocations: 0 / 426.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.3024, allocations: 0 / 426.7 MB, free: 11.55 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.0008064/0.3032, allocations: 334 kB / 427 MB, free: 11.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.3032, allocations: 8.031 kB / 427 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/0.3035, allocations: 28.83 kB / 427.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.304, allocations: 138.3 kB / 427.2 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.304, allocations: 8.562 kB / 427.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.3041, allocations: 12.31 kB / 427.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.3044, allocations: 97.53 kB / 427.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.3044, allocations: 4 kB / 427.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.3044, allocations: 8 kB / 427.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3044, allocations: 0 / 427.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.3046, allocations: 59.97 kB / 427.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.3057, allocations: 375.3 kB / 427.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.3061, allocations: 94.58 kB / 427.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.437e-05/0.3062, allocations: 28.86 kB / 427.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.3062, allocations: 4 kB / 427.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.3062, allocations: 42.77 kB / 427.9 MB, free: 10.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 4.558e-06/0.3062, allocations: 7.922 kB / 427.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001731/0.308, allocations: 388.9 kB / 428.3 MB, free: 9.797 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.308, allocations: 51.41 kB / 428.4 MB, free: 9.734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.3082, allocations: 128.3 kB / 428.5 MB, free: 9.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.3082, allocations: 25.7 kB / 428.5 MB, free: 9.566 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.3083, allocations: 104 kB / 428.6 MB, free: 9.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/0.3084, allocations: 43.64 kB / 428.7 MB, free: 9.418 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.217e-05/0.3085, allocations: 33.7 kB / 428.7 MB, free: 9.379 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.3087, allocations: 326.8 kB / 429 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/0.3088, allocations: 27.98 kB / 429 MB, free: 9.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.3089, allocations: 55.42 kB / 429.1 MB, free: 8.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.3091, allocations: 91.38 kB / 429.2 MB, free: 8.855 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.3091, allocations: 4 kB / 429.2 MB, free: 8.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000381/0.3095, allocations: 134.3 kB / 429.3 MB, free: 8.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3095, allocations: 4 kB / 429.3 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3095, allocations: 0 / 429.3 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3095, allocations: 4 kB / 429.3 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.3097, allocations: 31.98 kB / 429.4 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.3098, allocations: 7.938 kB / 429.4 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.003e-05/0.3098, allocations: 3.984 kB / 429.4 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.3098, allocations: 16 kB / 429.4 MB, free: 8.648 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.0001614/0.31, allocations: 117.8 kB / 429.5 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/0.3101, allocations: 7.953 kB / 429.5 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.885e-05/0.3101, allocations: 16.38 kB / 429.5 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3101, allocations: 0 / 429.5 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.3101, allocations: 4 kB / 429.5 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3101, allocations: 4 kB / 429.5 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009251/0.3111, allocations: 367.6 kB / 429.9 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3111, allocations: 4.062 kB / 429.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.3113, allocations: 31.98 kB / 429.9 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.3113, allocations: 0 / 429.9 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3113, allocations: 0 / 429.9 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.3113, allocations: 11.88 kB / 429.9 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3113, allocations: 0 / 429.9 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005158/0.3118, allocations: 249.2 kB / 430.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.3119, allocations: 7.953 kB / 430.2 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.3119, allocations: 8 kB / 430.2 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.312, allocations: 3.938 kB / 430.2 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.312, allocations: 16.03 kB / 430.2 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.3121, allocations: 7.938 kB / 430.2 MB, free: 7.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.841e-05/0.3121, allocations: 91.27 kB / 430.3 MB, free: 7.645 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3121, allocations: 0 / 430.3 MB, free: 7.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004004/0.3125, allocations: 28 kB / 430.3 MB, free: 7.617 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.0001397/0.3127, allocations: 99.23 kB / 430.4 MB, free: 7.512 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.3129, allocations: 71.92 kB / 430.5 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3129, allocations: 0 / 430.5 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.772e-05/0.313, allocations: 44.05 kB / 430.5 MB, free: 7.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.3135, allocations: 23.92 kB / 430.6 MB, free: 7.375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.3147, allocations: 495.1 kB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.3148, allocations: 92.17 kB / 431.1 MB, free: 6.742 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.3149, allocations: 15.44 kB / 431.2 MB, free: 6.727 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3149, allocations: 4 kB / 431.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of Templates: time 0.004802/0.3197, allocations: 1.471 MB / 432.6 MB, free: 5.262 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.070621560327709]