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.001359/0.001359, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001669/0.001669, allocations: 167 kB / 25.7 MB, free: 8.402 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.9334/0.9334, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.903e-06/1.903e-06, allocations: 0 / 251.5 MB, free: 7.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/2.982e-05, allocations: 10.25 kB / 251.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003174/0.003203, allocations: 1.799 MB / 253.3 MB, free: 5.477 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000927/0.00413, allocations: 0.6746 MB / 254 MB, free: 4.793 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.772e-05/0.004208, allocations: 7.938 kB / 254 MB, free: 4.785 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.004322, allocations: 11.86 kB / 254 MB, free: 4.773 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.364e-05/0.004396, allocations: 43.62 kB / 254 MB, free: 4.73 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.004611, allocations: 51.75 kB / 254.1 MB, free: 4.68 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.004741, allocations: 127.3 kB / 254.2 MB, free: 4.555 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.276e-05/0.004834, allocations: 18.23 kB / 254.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.707e-05/0.004921, allocations: 71.8 kB / 254.3 MB, free: 4.469 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.581e-05/0.005007, allocations: 39.89 kB / 254.4 MB, free: 4.43 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.005025, allocations: 8 kB / 254.4 MB, free: 4.422 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.85e-05/0.005093, allocations: 24 kB / 254.4 MB, free: 4.398 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.005114, allocations: 19.92 kB / 254.4 MB, free: 4.379 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.005152, allocations: 43.84 kB / 254.4 MB, free: 4.336 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.005315, allocations: 103.6 kB / 254.5 MB, free: 4.234 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.005318, allocations: 0 / 254.5 MB, free: 4.234 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005319, allocations: 0 / 254.5 MB, free: 4.234 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.005323, allocations: 0 / 254.5 MB, free: 4.234 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.0003665/0.00569, allocations: 308.7 kB / 254.8 MB, free: 3.91 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.005721, allocations: 11.98 kB / 254.9 MB, free: 3.898 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.005874, allocations: 32.91 kB / 254.9 MB, free: 3.867 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.006016, allocations: 133.6 kB / 255 MB, free: 3.711 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.006027, allocations: 8.562 kB / 255 MB, free: 3.703 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.006051, allocations: 16.38 kB / 255 MB, free: 3.688 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.884e-05/0.006149, allocations: 74.33 kB / 255.1 MB, free: 3.609 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.006158, allocations: 0 / 255.1 MB, free: 3.609 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.006167, allocations: 4 kB / 255.1 MB, free: 3.605 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.006172, allocations: 8 kB / 255.1 MB, free: 3.598 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.412e-05/0.006226, allocations: 27.92 kB / 255.2 MB, free: 3.57 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.006597, allocations: 291.3 kB / 255.4 MB, free: 3.266 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.006747, allocations: 74.34 kB / 255.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.006771, allocations: 20.86 kB / 255.5 MB, free: 3.16 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.006779, allocations: 3.984 kB / 255.5 MB, free: 3.156 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.006801, allocations: 34.56 kB / 255.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.006802, allocations: 4 kB / 255.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006645/0.007466, allocations: 333.1 kB / 255.9 MB, free: 2.75 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.007495, allocations: 51.41 kB / 256 MB, free: 2.688 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/0.007561, allocations: 130.6 kB / 256.1 MB, free: 2.547 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.007572, allocations: 25.7 kB / 256.1 MB, free: 2.516 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.007614, allocations: 100 kB / 256.2 MB, free: 2.414 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.007645, allocations: 55.56 kB / 256.3 MB, free: 2.355 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.007683, allocations: 29.69 kB / 256.3 MB, free: 2.32 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.851e-05/0.007771, allocations: 322.8 kB / 256.6 MB, free: 1.996 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.515e-05/0.007796, allocations: 8 kB / 256.6 MB, free: 1.988 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.054e-05/0.007837, allocations: 55.25 kB / 256.7 MB, free: 1.922 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.805e-05/0.007905, allocations: 72.14 kB / 256.7 MB, free: 1.84 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.007906, allocations: 0 / 256.7 MB, free: 1.84 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001034/0.008009, allocations: 97.47 kB / 256.8 MB, free: 1.738 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.008023, allocations: 4 kB / 256.8 MB, free: 1.734 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.008028, allocations: 0 / 256.8 MB, free: 1.734 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.00804, allocations: 4 kB / 256.8 MB, free: 1.73 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/0.008121, allocations: 31.92 kB / 256.9 MB, free: 1.699 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.008124, allocations: 0 / 256.9 MB, free: 1.699 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.008153, allocations: 4.062 kB / 256.9 MB, free: 1.695 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.008161, allocations: 12 kB / 256.9 MB, free: 1.684 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.23e-05/0.008223, allocations: 117.8 kB / 257 MB, free: 1.559 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.008242, allocations: 8 kB / 257 MB, free: 1.551 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.00827, allocations: 12.44 kB / 257 MB, free: 1.539 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.008273, allocations: 4 kB / 257 MB, free: 1.535 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.008274, allocations: 0 / 257 MB, free: 1.535 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.008278, allocations: 7.922 kB / 257 MB, free: 1.527 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.008552, allocations: 272.4 kB / 257.3 MB, free: 1.23 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008554, allocations: 0 / 257.3 MB, free: 1.23 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.049e-05/0.008634, allocations: 31.92 kB / 257.3 MB, free: 1.199 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.008637, allocations: 4 kB / 257.3 MB, free: 1.195 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.008643, allocations: 0 / 257.3 MB, free: 1.195 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.008647, allocations: 4 kB / 257.3 MB, free: 1.191 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008648, allocations: 0 / 257.3 MB, free: 1.191 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.008798, allocations: 213.1 kB / 257.5 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.008808, allocations: 7.953 kB / 257.5 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.00882, allocations: 4 kB / 257.6 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.953e-05/0.008859, allocations: 32 / 257.6 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.008876, allocations: 19.92 kB / 257.6 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.008881, allocations: 4 kB / 257.6 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.752e-05/0.008899, allocations: 24.58 kB / 257.6 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008899, allocations: 0 / 257.6 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000149/0.009048, allocations: 31.94 kB / 257.6 MB, free: 0.8711 MB / 234.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 7.84e-05/0.009126, allocations: 72.42 kB / 257.7 MB, free: 0.793 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.491e-05/0.009221, allocations: 60.7 kB / 257.8 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.009225, allocations: 0 / 257.8 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.93e-05/0.009254, allocations: 36.91 kB / 257.8 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.009435, allocations: 20.17 kB / 257.8 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.01003, allocations: 344.7 kB / 258.2 MB, free: 308 kB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.01007, allocations: 63.34 kB / 258.2 MB, free: 224 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.46e-05/0.01011, allocations: 8.969 kB / 258.2 MB, free: 212 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.01018, allocations: 67.38 kB / 258.3 MB, free: 144 kB / 234.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01018, allocations: 4 kB / 258.3 MB, free: 140 kB / 234.7 MB Notification: Performance of Templates: time 0.002792/0.01297, allocations: 1.246 MB / 259.5 MB, free: 14.91 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.7366944099776447]