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.001351/0.001351, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001551/0.001551, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001639/0.001639, allocations: 47.91 kB / 378.2 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.26, allocations: 53.37 MB / 431.6 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003935/0.2639, allocations: 2.026 MB / 433.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2652, allocations: 0.7013 MB / 434.3 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.2653, allocations: 3.938 kB / 434.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.2655, allocations: 23.8 kB / 434.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.2656, allocations: 39.62 kB / 434.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.266, allocations: 59.8 kB / 434.5 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.2662, allocations: 151.2 kB / 434.6 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.2664, allocations: 29.28 kB / 434.6 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.2665, allocations: 47.86 kB / 434.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.2666, allocations: 63.7 kB / 434.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.2666, allocations: 8 kB / 434.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.683e-05/0.2667, allocations: 27.98 kB / 434.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.2668, allocations: 27.91 kB / 434.8 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.686e-05/0.2668, allocations: 63.61 kB / 434.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.2671, allocations: 148.7 kB / 435 MB, free: 3.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2671, allocations: 4 kB / 435 MB, free: 3.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2671, allocations: 0 / 435 MB, free: 3.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.2672, allocations: 4 kB / 435 MB, free: 3.516 MB / 334.1 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.0007975/0.268, allocations: 365.6 kB / 435.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.268, allocations: 12.03 kB / 435.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.2682, allocations: 32.83 kB / 435.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.2685, allocations: 146.3 kB / 435.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.2685, allocations: 8.375 kB / 435.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.2686, allocations: 12.38 kB / 435.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.2689, allocations: 117.5 kB / 435.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.2689, allocations: 3.953 kB / 435.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.269, allocations: 8 kB / 435.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.269, allocations: 3.984 kB / 435.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002811/0.2692, allocations: 99.92 kB / 435.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000938/0.2702, allocations: 450.5 kB / 436.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.2706, allocations: 122.5 kB / 436.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.2707, allocations: 40.88 kB / 436.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.2707, allocations: 0 / 436.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.2707, allocations: 38.56 kB / 436.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.2707, allocations: 0 / 436.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001039/0.2718, allocations: 411.4 kB / 436.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.2718, allocations: 51.41 kB / 436.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.272, allocations: 140.7 kB / 437 MB, free: 1.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.272, allocations: 25.7 kB / 437.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/0.2721, allocations: 120.2 kB / 437.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.2722, allocations: 51.56 kB / 437.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.2723, allocations: 41.61 kB / 437.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.2725, allocations: 318.8 kB / 437.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.2727, allocations: 43.97 kB / 437.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.2728, allocations: 82.05 kB / 437.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.2731, allocations: 127.3 kB / 437.8 MB, free: 484 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2731, allocations: 0 / 437.8 MB, free: 484 kB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004743/0.2736, allocations: 161.5 kB / 438 MB, free: 316 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2736, allocations: 8 kB / 438 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2736, allocations: 4 kB / 438 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2736, allocations: 4 kB / 438 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.2738, allocations: 43.91 kB / 438.1 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.2738, allocations: 8 kB / 438.1 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.262e-05/0.2739, allocations: 4 kB / 438.1 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.2739, allocations: 8 kB / 438.1 MB, free: 236 kB / 334.1 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 0.0001774/0.2741, allocations: 117.8 kB / 438.2 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.2741, allocations: 19.88 kB / 438.2 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.2742, allocations: 16.78 kB / 438.2 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2742, allocations: 7.938 kB / 438.2 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2742, allocations: 0 / 438.2 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2742, allocations: 0 / 438.2 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008073/0.275, allocations: 443.8 kB / 438.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.275, allocations: 0 / 438.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.2752, allocations: 35.98 kB / 438.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.371e-06/0.2752, allocations: 4 kB / 438.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.2752, allocations: 3.984 kB / 438.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2752, allocations: 0 / 438.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.2753, allocations: 4 kB / 438.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000559/0.2758, allocations: 316.4 kB / 439 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.2758, allocations: 7.953 kB / 439 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.2758, allocations: 0 / 439 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.276, allocations: 15.97 kB / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.276, allocations: 7.984 kB / 439.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.2761, allocations: 4 kB / 439.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.474e-05/0.2761, allocations: 107.3 kB / 439.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2761, allocations: 0 / 439.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.2764, allocations: 28 kB / 439.2 MB, free: 15.03 MB / 350.1 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 0.000131/0.2765, allocations: 111.1 kB / 439.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.2769, allocations: 103.9 kB / 439.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2769, allocations: 4.125 kB / 439.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.2771, allocations: 59.95 kB / 439.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.2774, allocations: 34.31 kB / 439.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009777/0.2784, allocations: 490.9 kB / 440 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.2788, allocations: 0.7196 MB / 440.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.34e-05/0.2788, allocations: 16.42 kB / 440.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.2789, allocations: 15.44 kB / 440.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2789, allocations: 0 / 440.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of Templates: time 0.005069/0.284, allocations: 1.472 MB / 442.2 MB, free: 11.98 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.476072902791202]