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.001009/0.001009, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001786/0.001786, allocations: 158.9 kB / 25.75 MB, free: 8.949 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 1.007/1.007, allocations: 158.6 MB / 187.5 MB, free: 2.949 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 2.745e-06/2.745e-06, allocations: 4 kB / 251.1 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.31e-05, allocations: 2.312 kB / 251.1 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002231/0.002254, allocations: 1.811 MB / 252.9 MB, free: 6.004 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009504/0.003205, allocations: 0.6708 MB / 253.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.32e-05/0.003288, allocations: 4 kB / 253.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.003403, allocations: 15.86 kB / 253.6 MB, free: 5.305 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.71e-05/0.00347, allocations: 43.62 kB / 253.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.003707, allocations: 47.8 kB / 253.7 MB, free: 5.215 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.003858, allocations: 127.3 kB / 253.8 MB, free: 5.09 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.003969, allocations: 21.56 kB / 253.8 MB, free: 5.07 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.682e-05/0.004056, allocations: 71.81 kB / 253.9 MB, free: 5 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.463e-05/0.00415, allocations: 35.89 kB / 253.9 MB, free: 4.965 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.004171, allocations: 8 kB / 253.9 MB, free: 4.957 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.004243, allocations: 24 kB / 254 MB, free: 4.934 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.004265, allocations: 19.91 kB / 254 MB, free: 4.914 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.004305, allocations: 35.92 kB / 254 MB, free: 4.879 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.004484, allocations: 103.6 kB / 254.1 MB, free: 4.777 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004486, allocations: 3.938 kB / 254.1 MB, free: 4.773 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004487, allocations: 0 / 254.1 MB, free: 4.773 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.004491, allocations: 0 / 254.1 MB, free: 4.773 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.0004402/0.004932, allocations: 436.3 kB / 254.5 MB, free: 4.312 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.004967, allocations: 11.98 kB / 254.6 MB, free: 4.301 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.00514, allocations: 44.81 kB / 254.6 MB, free: 4.258 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.005308, allocations: 136.4 kB / 254.7 MB, free: 4.098 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.00532, allocations: 8.562 kB / 254.7 MB, free: 4.09 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.005346, allocations: 16.33 kB / 254.8 MB, free: 4.074 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.005473, allocations: 74.34 kB / 254.8 MB, free: 3.996 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.005484, allocations: 4 kB / 254.8 MB, free: 3.992 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.005495, allocations: 0 / 254.8 MB, free: 3.992 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.005503, allocations: 4 kB / 254.8 MB, free: 3.988 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.186e-05/0.005585, allocations: 43.89 kB / 254.9 MB, free: 3.945 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.00607, allocations: 414.8 kB / 255.3 MB, free: 3.5 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.006293, allocations: 87.06 kB / 255.4 MB, free: 3.402 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.006339, allocations: 27.67 kB / 255.4 MB, free: 3.371 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.006349, allocations: 4 kB / 255.4 MB, free: 3.367 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.006371, allocations: 33.39 kB / 255.4 MB, free: 3.324 MB / 234.7 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.006373, allocations: 0 / 255.4 MB, free: 3.324 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008906/0.007264, allocations: 370.2 kB / 255.8 MB, free: 2.926 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.007296, allocations: 55.34 kB / 255.9 MB, free: 2.859 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.007401, allocations: 181.9 kB / 256 MB, free: 2.664 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.007414, allocations: 29.7 kB / 256.1 MB, free: 2.629 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.941e-05/0.007483, allocations: 150.7 kB / 256.2 MB, free: 2.477 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.007515, allocations: 55.58 kB / 256.3 MB, free: 2.422 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.007565, allocations: 31.38 kB / 256.3 MB, free: 2.383 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.007682, allocations: 0.4961 MB / 256.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-05/0.00772, allocations: 19.98 kB / 256.8 MB, free: 1.852 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.277e-05/0.007773, allocations: 58.64 kB / 256.9 MB, free: 1.777 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.999e-05/0.007863, allocations: 86.7 kB / 256.9 MB, free: 1.676 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.007864, allocations: 4 kB / 257 MB, free: 1.672 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001364/0.008001, allocations: 117.5 kB / 257.1 MB, free: 1.551 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.008014, allocations: 4 kB / 257.1 MB, free: 1.547 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.00802, allocations: 8.047 kB / 257.1 MB, free: 1.539 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.008033, allocations: 7.922 kB / 257.1 MB, free: 1.531 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.008123, allocations: 31.98 kB / 257.1 MB, free: 1.5 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.008129, allocations: 0 / 257.1 MB, free: 1.5 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.00816, allocations: 0 / 257.1 MB, free: 1.5 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.008168, allocations: 8 kB / 257.1 MB, free: 1.492 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 7.32e-05/0.008241, allocations: 172.4 kB / 257.3 MB, free: 1.312 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.008263, allocations: 16.02 kB / 257.3 MB, free: 1.297 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.008294, allocations: 12.44 kB / 257.3 MB, free: 1.285 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.008297, allocations: 4 kB / 257.3 MB, free: 1.281 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.008301, allocations: 0 / 257.3 MB, free: 1.281 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.008305, allocations: 0 / 257.3 MB, free: 1.281 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.008647, allocations: 400.6 kB / 257.7 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.008649, allocations: 0 / 257.7 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.632e-05/0.008736, allocations: 27.98 kB / 257.7 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.008739, allocations: 4 kB / 257.7 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.00875, allocations: 8.062 kB / 257.8 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.008752, allocations: 0 / 257.8 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.008754, allocations: 4 kB / 257.8 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.008952, allocations: 283 kB / 258 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-06/0.008961, allocations: 7.953 kB / 258 MB, free: 496 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.008976, allocations: 4 kB / 258 MB, free: 492 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.254e-05/0.009019, allocations: 4 kB / 258.1 MB, free: 488 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.00904, allocations: 11.92 kB / 258.1 MB, free: 476 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.009044, allocations: 0 / 258.1 MB, free: 476 kB / 234.7 MB Notification: Performance of sorting global known variables: time 4.351e-05/0.009088, allocations: 139.2 kB / 258.2 MB, free: 336 kB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009088, allocations: 4 kB / 258.2 MB, free: 332 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.009257, allocations: 24 kB / 258.2 MB, free: 308 kB / 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 8.339e-05/0.00934, allocations: 103.1 kB / 258.3 MB, free: 196 kB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.009475, allocations: 71.03 kB / 258.4 MB, free: 124 kB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.009477, allocations: 4 kB / 258.4 MB, free: 120 kB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.009516, allocations: 43.62 kB / 258.4 MB, free: 72 kB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.009754, allocations: 16.8 kB / 258.5 MB, free: 56 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000699/0.01045, allocations: 400.2 kB / 258.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.155e-05/0.01049, allocations: 63.34 kB / 258.9 MB, free: 15.54 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.721e-05/0.01054, allocations: 12.97 kB / 258.9 MB, free: 15.52 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.01057, allocations: 16.5 kB / 258.9 MB, free: 15.51 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01057, allocations: 3.828 kB / 258.9 MB, free: 15.51 MB / 250.7 MB Notification: Performance of Templates: time 0.002972/0.01354, allocations: 1.147 MB / 260.1 MB, free: 14.37 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.7512030070647597]