Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 80.62 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 145.2 kB / 25.59 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9/0.9, allocations: 173.4 MB / 202.2 MB, free: 8.293 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 269.2 MB, free: 9.875 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.399e-05, allocations: 2.312 kB / 269.2 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00202/0.002034, allocations: 1.817 MB / 271 MB, free: 8.059 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007333/0.002767, allocations: 0.6278 MB / 271.6 MB, free: 7.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.242e-05/0.002839, allocations: 3.938 kB / 271.6 MB, free: 7.426 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.002943, allocations: 11.86 kB / 271.6 MB, free: 7.414 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.003004, allocations: 40.64 kB / 271.7 MB, free: 7.375 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.003183, allocations: 48.56 kB / 271.7 MB, free: 7.328 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.003314, allocations: 127.3 kB / 271.9 MB, free: 7.203 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.003412, allocations: 18.27 kB / 271.9 MB, free: 7.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.091e-05/0.003483, allocations: 71.81 kB / 271.9 MB, free: 7.109 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.044e-05/0.003564, allocations: 36.62 kB / 272 MB, free: 7.074 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.00358, allocations: 8 kB / 272 MB, free: 7.066 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.895e-05/0.003639, allocations: 34.97 kB / 272 MB, free: 7.035 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.003661, allocations: 23.86 kB / 272 MB, free: 7.012 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.003694, allocations: 39.91 kB / 272.1 MB, free: 6.973 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.003841, allocations: 95.66 kB / 272.2 MB, free: 6.879 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003843, allocations: 0 / 272.2 MB, free: 6.879 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003844, allocations: 0 / 272.2 MB, free: 6.879 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.003847, allocations: 0 / 272.2 MB, free: 6.879 MB / 250.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.0003785/0.004226, allocations: 437.3 kB / 272.6 MB, free: 6.418 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.004258, allocations: 8.031 kB / 272.6 MB, free: 6.41 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.004394, allocations: 40.83 kB / 272.7 MB, free: 6.371 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.004575, allocations: 140.4 kB / 272.8 MB, free: 6.207 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.004587, allocations: 12.56 kB / 272.8 MB, free: 6.195 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.004605, allocations: 8.375 kB / 272.8 MB, free: 6.188 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.18e-05/0.004697, allocations: 76.41 kB / 272.9 MB, free: 6.109 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.004707, allocations: 0 / 272.9 MB, free: 6.109 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.004715, allocations: 0 / 272.9 MB, free: 6.109 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.004721, allocations: 4 kB / 272.9 MB, free: 6.105 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.667e-05/0.004777, allocations: 31.97 kB / 272.9 MB, free: 6.074 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.005143, allocations: 395.3 kB / 273.3 MB, free: 5.656 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.005287, allocations: 82.98 kB / 273.4 MB, free: 5.562 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.417e-05/0.005311, allocations: 23.73 kB / 273.4 MB, free: 5.535 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.005321, allocations: 4 kB / 273.4 MB, free: 5.531 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.005338, allocations: 33.61 kB / 273.4 MB, free: 5.488 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.005339, allocations: 3.938 kB / 273.4 MB, free: 5.484 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006118/0.005951, allocations: 350 kB / 273.8 MB, free: 5.105 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.005972, allocations: 51.41 kB / 273.8 MB, free: 5.043 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.006045, allocations: 180.2 kB / 274 MB, free: 4.852 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.006055, allocations: 33.7 kB / 274.1 MB, free: 4.812 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.006109, allocations: 154.7 kB / 274.2 MB, free: 4.656 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.006132, allocations: 43.62 kB / 274.2 MB, free: 4.613 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.006168, allocations: 35.36 kB / 274.3 MB, free: 4.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.006277, allocations: 0.4961 MB / 274.8 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.006295, allocations: 15.92 kB / 274.8 MB, free: 4.047 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.933e-05/0.006334, allocations: 54.72 kB / 274.8 MB, free: 3.977 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.55e-05/0.006399, allocations: 78.66 kB / 274.9 MB, free: 3.883 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.0064, allocations: 0 / 274.9 MB, free: 3.883 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000108/0.006509, allocations: 113.5 kB / 275 MB, free: 3.766 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.006518, allocations: 8 kB / 275 MB, free: 3.758 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006522, allocations: 0 / 275 MB, free: 3.758 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.006531, allocations: 4 kB / 275 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/0.006606, allocations: 35.92 kB / 275.1 MB, free: 3.719 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006609, allocations: 0 / 275.1 MB, free: 3.719 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.006637, allocations: 4 kB / 275.1 MB, free: 3.715 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.006643, allocations: 4 kB / 275.1 MB, free: 3.711 MB / 250.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.109e-05/0.006704, allocations: 172.4 kB / 275.3 MB, free: 3.531 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.006727, allocations: 23.95 kB / 275.3 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.006752, allocations: 12.44 kB / 275.3 MB, free: 3.496 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.006753, allocations: 4 kB / 275.3 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006755, allocations: 0 / 275.3 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.006758, allocations: 0 / 275.3 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.007037, allocations: 369.3 kB / 275.7 MB, free: 3.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.007039, allocations: 0 / 275.7 MB, free: 3.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.648e-05/0.007115, allocations: 31.92 kB / 275.7 MB, free: 3.059 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007117, allocations: 0 / 275.7 MB, free: 3.059 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.007124, allocations: 8.062 kB / 275.7 MB, free: 3.051 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.007124, allocations: 0 / 275.7 MB, free: 3.051 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.007125, allocations: 0 / 275.7 MB, free: 3.051 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.007288, allocations: 291 kB / 276 MB, free: 2.738 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.007297, allocations: 7.953 kB / 276 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.007309, allocations: 4 kB / 276 MB, free: 2.727 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.286e-05/0.007352, allocations: 4 kB / 276 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.007367, allocations: 3.984 kB / 276 MB, free: 2.719 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.007371, allocations: 4 kB / 276 MB, free: 2.715 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.704e-05/0.007408, allocations: 139.1 kB / 276.1 MB, free: 2.578 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007408, allocations: 4 kB / 276.1 MB, free: 2.574 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001602/0.007568, allocations: 28 kB / 276.2 MB, free: 2.547 MB / 250.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 6.727e-05/0.007635, allocations: 95.23 kB / 276.3 MB, free: 2.445 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.982e-05/0.007735, allocations: 73.55 kB / 276.3 MB, free: 2.371 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.007736, allocations: 0 / 276.3 MB, free: 2.371 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.803e-05/0.007764, allocations: 31.61 kB / 276.4 MB, free: 2.336 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.00797, allocations: 24.83 kB / 276.4 MB, free: 2.312 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.008494, allocations: 389 kB / 276.8 MB, free: 1.898 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.782e-05/0.008532, allocations: 63.34 kB / 276.8 MB, free: 1.816 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.761e-05/0.008569, allocations: 8.969 kB / 276.8 MB, free: 1.805 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.008637, allocations: 94.19 kB / 276.9 MB, free: 1.711 MB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.008637, allocations: 0 / 276.9 MB, free: 1.711 MB / 250.7 MB Notification: Performance of Templates: time 0.002517/0.01115, allocations: 1.268 MB / 278.2 MB, free: 484 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6157020227983594]