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.0009396/0.0009396, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002321, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.00129/0.00129, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001977/0.003268, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.015/1.015, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2479/1.263, allocations: 49.5 MB / 220.7 MB, free: 1.352 MB / 218.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 2.885e-06/2.885e-06, allocations: 0 / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.625e-05/3.913e-05, allocations: 2.312 kB / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00514/0.00518, allocations: 1.854 MB / 223.8 MB, free: 14.2 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.00686, allocations: 0.6902 MB / 224.5 MB, free: 13.5 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.00698, allocations: 3.938 kB / 224.5 MB, free: 13.5 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.007098, allocations: 19.86 kB / 224.5 MB, free: 13.48 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.007249, allocations: 35.64 kB / 224.6 MB, free: 13.45 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.007555, allocations: 43.81 kB / 224.6 MB, free: 13.4 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.007862, allocations: 131.3 kB / 224.8 MB, free: 13.27 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.008, allocations: 26.17 kB / 224.8 MB, free: 13.25 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.008151, allocations: 79.8 kB / 224.9 MB, free: 13.17 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.008286, allocations: 31.91 kB / 224.9 MB, free: 13.14 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.008312, allocations: 11.94 kB / 224.9 MB, free: 13.13 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.008439, allocations: 27.98 kB / 224.9 MB, free: 13.1 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.008465, allocations: 15.94 kB / 224.9 MB, free: 13.09 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.008508, allocations: 27.94 kB / 225 MB, free: 13.06 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.008748, allocations: 95.67 kB / 225.1 MB, free: 12.96 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.525e-05/0.008763, allocations: 0 / 225.1 MB, free: 12.96 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.008766, allocations: 0 / 225.1 MB, free: 12.96 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.008782, allocations: 0 / 225.1 MB, free: 12.96 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.0005966/0.009379, allocations: 336.3 kB / 225.4 MB, free: 12.61 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.009423, allocations: 8.031 kB / 225.4 MB, free: 12.61 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002686/0.009692, allocations: 110 kB / 225.5 MB, free: 12.48 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.009908, allocations: 133.6 kB / 225.6 MB, free: 12.32 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.009925, allocations: 4.562 kB / 225.6 MB, free: 12.32 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.009963, allocations: 16.36 kB / 225.7 MB, free: 12.3 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.0101, allocations: 70.34 kB / 225.7 MB, free: 12.23 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.01011, allocations: 4 kB / 225.7 MB, free: 12.23 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.01012, allocations: 4 kB / 225.7 MB, free: 12.22 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.01013, allocations: 4 kB / 225.7 MB, free: 12.22 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.582e-05/0.0102, allocations: 31.91 kB / 225.8 MB, free: 12.19 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.01076, allocations: 287.3 kB / 226 MB, free: 11.88 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.01099, allocations: 78.34 kB / 226.1 MB, free: 11.8 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.01102, allocations: 20.86 kB / 226.1 MB, free: 11.77 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.01104, allocations: 4 kB / 226.1 MB, free: 11.77 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.01107, allocations: 42.55 kB / 226.2 MB, free: 11.72 MB / 234.7 MB Notification: Performance of pre-optimization done (n=11): time 2.935e-06/0.01107, allocations: 0 / 226.2 MB, free: 11.72 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008969/0.01197, allocations: 333.1 kB / 226.5 MB, free: 11.36 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.01201, allocations: 51.41 kB / 226.6 MB, free: 11.3 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.01211, allocations: 126.7 kB / 226.7 MB, free: 11.16 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.01213, allocations: 29.7 kB / 226.7 MB, free: 11.12 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.0122, allocations: 104 kB / 226.8 MB, free: 11.02 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.01224, allocations: 51.56 kB / 226.9 MB, free: 10.97 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.01229, allocations: 29.7 kB / 226.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.0124, allocations: 322.8 kB / 227.2 MB, free: 10.61 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.01242, allocations: 11.94 kB / 227.2 MB, free: 10.6 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.795e-05/0.01248, allocations: 51.31 kB / 227.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.182e-05/0.01256, allocations: 79.23 kB / 227.4 MB, free: 10.45 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.01256, allocations: 0 / 227.4 MB, free: 10.45 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001105/0.01267, allocations: 89.53 kB / 227.4 MB, free: 10.35 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.01269, allocations: 4 kB / 227.4 MB, free: 10.35 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.0127, allocations: 4 kB / 227.4 MB, free: 10.34 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.01271, allocations: 0 / 227.4 MB, free: 10.34 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.01287, allocations: 43.98 kB / 227.5 MB, free: 10.3 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.01287, allocations: 4 kB / 227.5 MB, free: 10.3 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.0129, allocations: 4 kB / 227.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.01291, allocations: 4 kB / 227.5 MB, free: 10.29 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 8.056e-05/0.01299, allocations: 117.8 kB / 227.6 MB, free: 10.16 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.01302, allocations: 12 kB / 227.6 MB, free: 10.15 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.01306, allocations: 16.38 kB / 227.6 MB, free: 10.14 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.01307, allocations: 7.984 kB / 227.7 MB, free: 10.13 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.01307, allocations: 0 / 227.7 MB, free: 10.13 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.01307, allocations: 0 / 227.7 MB, free: 10.13 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.01344, allocations: 272.3 kB / 227.9 MB, free: 9.832 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.01344, allocations: 0 / 227.9 MB, free: 9.832 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.01358, allocations: 41.88 kB / 228 MB, free: 9.793 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.01359, allocations: 7.953 kB / 228 MB, free: 9.785 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01359, allocations: 0 / 228 MB, free: 9.785 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.0136, allocations: 4 kB / 228 MB, free: 9.781 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.01361, allocations: 4 kB / 228 MB, free: 9.777 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.01361, allocations: 3.938 kB / 228 MB, free: 9.773 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.01381, allocations: 210.1 kB / 228.2 MB, free: 9.547 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.01383, allocations: 4 kB / 228.2 MB, free: 9.543 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.603e-05/0.01388, allocations: 4 kB / 228.2 MB, free: 9.539 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.0139, allocations: 11.92 kB / 228.2 MB, free: 9.527 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.0139, allocations: 0 / 228.2 MB, free: 9.527 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.517e-05/0.01394, allocations: 24.83 kB / 228.2 MB, free: 9.5 MB / 234.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.01394, allocations: 0 / 228.2 MB, free: 9.5 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001563/0.01409, allocations: 28 kB / 228.3 MB, free: 9.473 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 0.0001373/0.01423, allocations: 76.42 kB / 228.3 MB, free: 9.391 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.01438, allocations: 68.77 kB / 228.4 MB, free: 9.32 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.01438, allocations: 0 / 228.4 MB, free: 9.32 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.145e-05/0.01444, allocations: 40.72 kB / 228.4 MB, free: 9.277 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.0148, allocations: 234.3 kB / 228.7 MB, free: 9.008 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.01671, allocations: 313 kB / 229 MB, free: 8.668 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.286e-05/0.01676, allocations: 63.34 kB / 229 MB, free: 8.586 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 7.55e-05/0.01684, allocations: 20.62 kB / 229.1 MB, free: 8.566 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.01694, allocations: 71.3 kB / 229.1 MB, free: 8.496 MB / 234.7 MB Notification: Performance of SimCode: time 1.763e-06/0.01694, allocations: 0 / 229.1 MB, free: 8.496 MB / 234.7 MB Notification: Performance of Templates: time 0.003926/0.02087, allocations: 1.361 MB / 230.5 MB, free: 7.152 MB / 234.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0277771800756454]