Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.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.001029/0.001029, allocations: 84.39 kB / 22.21 MB, free: 2.285 MB / 18.57 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.0009793/0.0009793, allocations: 163.7 kB / 25.6 MB, free: 8.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9251/0.9251, allocations: 158.6 MB / 187.5 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 251.4 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.607e-05, allocations: 2.312 kB / 251.4 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001889/0.001905, allocations: 1.807 MB / 253.2 MB, free: 5.453 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000758/0.002663, allocations: 0.6631 MB / 253.9 MB, free: 4.781 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.002732, allocations: 3.938 kB / 253.9 MB, free: 4.777 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.64e-05/0.002828, allocations: 15.86 kB / 253.9 MB, free: 4.762 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.638e-05/0.002885, allocations: 39.64 kB / 254 MB, free: 4.723 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.003068, allocations: 47.8 kB / 254 MB, free: 4.676 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.003186, allocations: 123.3 kB / 254.1 MB, free: 4.555 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.003286, allocations: 33.56 kB / 254.2 MB, free: 4.523 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.744e-05/0.003364, allocations: 63.83 kB / 254.2 MB, free: 4.461 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.003438, allocations: 35.89 kB / 254.3 MB, free: 4.426 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.003454, allocations: 8 kB / 254.3 MB, free: 4.418 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.377e-05/0.003518, allocations: 23.98 kB / 254.3 MB, free: 4.395 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.003537, allocations: 23.91 kB / 254.3 MB, free: 4.371 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.003567, allocations: 39.86 kB / 254.4 MB, free: 4.332 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.003713, allocations: 103.6 kB / 254.5 MB, free: 4.23 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003715, allocations: 0 / 254.5 MB, free: 4.23 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.003715, allocations: 0 / 254.5 MB, free: 4.23 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.003718, allocations: 0 / 254.5 MB, free: 4.23 MB / 234.7 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.0003996/0.004118, allocations: 436.3 kB / 254.9 MB, free: 3.77 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.004153, allocations: 11.98 kB / 254.9 MB, free: 3.758 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.004285, allocations: 40.81 kB / 254.9 MB, free: 3.719 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.004401, allocations: 144.4 kB / 255.1 MB, free: 3.551 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.004411, allocations: 8.562 kB / 255.1 MB, free: 3.543 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.004431, allocations: 16.33 kB / 255.1 MB, free: 3.527 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.774e-05/0.004529, allocations: 70.34 kB / 255.2 MB, free: 3.453 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.004538, allocations: 4 kB / 255.2 MB, free: 3.449 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.004546, allocations: 8 kB / 255.2 MB, free: 3.441 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.004552, allocations: 0 / 255.2 MB, free: 3.441 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.417e-05/0.004606, allocations: 31.91 kB / 255.2 MB, free: 3.41 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.004995, allocations: 399.3 kB / 255.6 MB, free: 2.988 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.005406, allocations: 86.97 kB / 255.7 MB, free: 2.891 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/0.005431, allocations: 19.67 kB / 255.7 MB, free: 2.867 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.005441, allocations: 4 kB / 255.7 MB, free: 2.863 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.00546, allocations: 41.39 kB / 255.8 MB, free: 2.812 MB / 234.7 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.005461, allocations: 4 kB / 255.8 MB, free: 2.809 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006039/0.006065, allocations: 334.4 kB / 256.1 MB, free: 2.445 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.006089, allocations: 55.39 kB / 256.1 MB, free: 2.379 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/0.006165, allocations: 181.5 kB / 256.3 MB, free: 2.188 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.006176, allocations: 29.7 kB / 256.3 MB, free: 2.152 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.006227, allocations: 158.6 kB / 256.5 MB, free: 1.992 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.00625, allocations: 43.62 kB / 256.5 MB, free: 1.949 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.006285, allocations: 35.38 kB / 256.6 MB, free: 1.906 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.006385, allocations: 0.4961 MB / 257.1 MB, free: 1.398 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.006404, allocations: 19.92 kB / 257.1 MB, free: 1.379 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/0.006442, allocations: 50.66 kB / 257.1 MB, free: 1.312 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.432e-05/0.006506, allocations: 86.67 kB / 257.2 MB, free: 1.211 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.006507, allocations: 0 / 257.2 MB, free: 1.211 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001007/0.006608, allocations: 109.5 kB / 257.3 MB, free: 1.098 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.006618, allocations: 4 kB / 257.3 MB, free: 1.094 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.006622, allocations: 0 / 257.3 MB, free: 1.094 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.006632, allocations: 4 kB / 257.3 MB, free: 1.09 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.464e-05/0.006707, allocations: 31.92 kB / 257.4 MB, free: 1.059 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.00671, allocations: 4 kB / 257.4 MB, free: 1.055 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.783e-05/0.006738, allocations: 8.062 kB / 257.4 MB, free: 1.047 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.006744, allocations: 4 kB / 257.4 MB, free: 1.043 MB / 234.7 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 6.453e-05/0.006808, allocations: 168.5 kB / 257.6 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.006826, allocations: 11.89 kB / 257.6 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.006856, allocations: 16.44 kB / 257.6 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.006857, allocations: 0 / 257.6 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.006859, allocations: 0 / 257.6 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.006861, allocations: 0 / 257.6 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.007163, allocations: 377.2 kB / 258 MB, free: 440 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.007165, allocations: 4 kB / 258 MB, free: 436 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-05/0.007244, allocations: 27.92 kB / 258 MB, free: 408 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.007246, allocations: 4 kB / 258 MB, free: 404 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.007254, allocations: 4 kB / 258 MB, free: 400 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.007259, allocations: 8 kB / 258 MB, free: 392 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.007261, allocations: 3.984 kB / 258 MB, free: 388 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.007436, allocations: 271.1 kB / 258.3 MB, free: 88 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.007445, allocations: 7.953 kB / 258.3 MB, free: 80 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.007455, allocations: 0 / 258.3 MB, free: 80 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.91e-05/0.007494, allocations: 8.062 kB / 258.3 MB, free: 72 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.00751, allocations: 11.98 kB / 258.3 MB, free: 60 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.007513, allocations: 0 / 258.3 MB, free: 60 kB / 234.7 MB Notification: Performance of sorting global known variables: time 4.839e-05/0.007562, allocations: 139.1 kB / 258.4 MB, free: 15.92 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007562, allocations: 0 / 258.4 MB, free: 15.92 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001524/0.007714, allocations: 28 kB / 258.5 MB, free: 15.89 MB / 250.7 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 6.394e-05/0.007778, allocations: 103.2 kB / 258.6 MB, free: 15.79 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.645e-05/0.007874, allocations: 67.06 kB / 258.6 MB, free: 15.72 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.007876, allocations: 0 / 258.6 MB, free: 15.72 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.231e-05/0.007908, allocations: 51.75 kB / 258.7 MB, free: 15.66 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.008108, allocations: 20.16 kB / 258.7 MB, free: 15.64 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005337/0.008642, allocations: 380.7 kB / 259.1 MB, free: 15.24 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.629e-05/0.008678, allocations: 67.34 kB / 259.1 MB, free: 15.15 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.786e-05/0.008716, allocations: 12.97 kB / 259.1 MB, free: 15.13 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.00878, allocations: 86.19 kB / 259.2 MB, free: 15.05 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008781, allocations: 0 / 259.2 MB, free: 15.05 MB / 250.7 MB Notification: Performance of Templates: time 0.002656/0.01144, allocations: 1.253 MB / 260.5 MB, free: 13.81 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.562990741804242]