Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009295/0.0009295, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009163/0.0009163, allocations: 163.9 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9328/0.9328, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 4 kB / 273 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.617e-05, allocations: 2.312 kB / 273 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002079/0.002095, allocations: 2.037 MB / 275.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007789/0.002874, allocations: 0.6856 MB / 275.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.002949, allocations: 4 kB / 275.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.003056, allocations: 23.73 kB / 275.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.142e-05/0.003117, allocations: 43.58 kB / 275.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.003325, allocations: 55.84 kB / 275.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.003478, allocations: 151.2 kB / 276 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.003579, allocations: 21.3 kB / 276.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.83e-05/0.003668, allocations: 83.73 kB / 276.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.089e-05/0.003738, allocations: 43.89 kB / 276.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.003759, allocations: 12 kB / 276.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.991e-05/0.003819, allocations: 27.98 kB / 276.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.003841, allocations: 27.84 kB / 276.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.857e-05/0.003879, allocations: 39.92 kB / 276.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.00405, allocations: 115.6 kB / 276.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004053, allocations: 0 / 276.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004053, allocations: 4 kB / 276.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.788e-06/0.004057, allocations: 0 / 276.4 MB, free: 14.48 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004739/0.004531, allocations: 468 kB / 276.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.004564, allocations: 12.03 kB / 276.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.004719, allocations: 44.75 kB / 276.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.004871, allocations: 155 kB / 277.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.004882, allocations: 12.38 kB / 277.1 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.004902, allocations: 4.375 kB / 277.1 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.005063, allocations: 103.6 kB / 277.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.005074, allocations: 4.141 kB / 277.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.005088, allocations: 11.94 kB / 277.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.005095, allocations: 3.938 kB / 277.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.848e-05/0.005184, allocations: 41.94 kB / 277.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.005679, allocations: 450.5 kB / 277.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.005876, allocations: 87.06 kB / 277.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/0.005916, allocations: 27.72 kB / 277.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.005925, allocations: 0 / 277.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.005947, allocations: 45.33 kB / 277.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 8.92e-07/0.005948, allocations: 0 / 277.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004805/0.006428, allocations: 308.8 kB / 278.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.006456, allocations: 59.34 kB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.006542, allocations: 197.1 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.006555, allocations: 29.7 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.006614, allocations: 163 kB / 278.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.006642, allocations: 55.52 kB / 278.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.006681, allocations: 35.38 kB / 278.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.00678, allocations: 0.4884 MB / 279.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.593e-05/0.006816, allocations: 19.98 kB / 279.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.367e-05/0.00687, allocations: 62.64 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.217e-05/0.006962, allocations: 86.67 kB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.006963, allocations: 0 / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000133/0.007096, allocations: 133.5 kB / 279.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.007108, allocations: 7.984 kB / 279.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.007114, allocations: 7.984 kB / 279.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.007126, allocations: 4 kB / 279.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.925e-05/0.007225, allocations: 35.98 kB / 279.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.885e-05/0.007264, allocations: 3.938 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.007304, allocations: 4 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.007311, allocations: 4 kB / 279.5 MB, free: 11.09 MB / 266.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 (18): * Single equations (assignments): 18 * 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.863e-05/0.00738, allocations: 168.5 kB / 279.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.007404, allocations: 15.97 kB / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.007434, allocations: 28.7 kB / 279.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.007435, allocations: 0 / 279.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.007439, allocations: 3.938 kB / 279.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.007442, allocations: 0 / 279.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.007775, allocations: 404.7 kB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.007776, allocations: 0 / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.426e-05/0.00787, allocations: 35.92 kB / 280.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.007873, allocations: 0 / 280.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.007885, allocations: 16 kB / 280.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.007887, allocations: 0 / 280.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007888, allocations: 0 / 280.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.00809, allocations: 294.9 kB / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-06/0.0081, allocations: 7.953 kB / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.008115, allocations: 7.875 kB / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.519e-05/0.00817, allocations: 8 kB / 280.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.008205, allocations: 11.97 kB / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.00821, allocations: 4 kB / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.831e-05/0.008258, allocations: 147.1 kB / 280.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008259, allocations: 4 kB / 280.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.008425, allocations: 32 kB / 280.7 MB, free: 9.836 MB / 266.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 (13): * Single equations (assignments): 13 * 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.588e-05/0.008491, allocations: 91.25 kB / 280.8 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.008619, allocations: 83.52 kB / 280.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.008621, allocations: 0 / 280.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.858e-05/0.008669, allocations: 44.48 kB / 280.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.008892, allocations: 20.23 kB / 280.9 MB, free: 9.586 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006508/0.009542, allocations: 422.1 kB / 281.3 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.888e-05/0.009581, allocations: 67.34 kB / 281.4 MB, free: 9.051 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.24e-05/0.009624, allocations: 12.64 kB / 281.4 MB, free: 9.039 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.009659, allocations: 16.5 kB / 281.4 MB, free: 9.023 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009659, allocations: 0 / 281.4 MB, free: 9.023 MB / 266.7 MB Notification: Performance of Templates: time 0.002855/0.01251, allocations: 1.451 MB / 282.9 MB, free: 7.605 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.6589172980748117]