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.001402/0.001402, allocations: 81.06 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001372/0.001372, allocations: 155.7 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.486/1.486, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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.092e-06/1.092e-06, allocations: 0 / 318.9 MB, free: 3.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.83e-05, allocations: 2.281 kB / 318.9 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002301/0.00232, allocations: 1.73 MB / 320.6 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008124/0.003132, allocations: 0.5971 MB / 321.2 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.003205, allocations: 2.5 kB / 321.2 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.003307, allocations: 13.95 kB / 321.2 MB, free: 2 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.154e-05/0.003379, allocations: 45.48 kB / 321.3 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.003584, allocations: 49.42 kB / 321.3 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.003732, allocations: 126.6 kB / 321.5 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.003835, allocations: 20.59 kB / 321.5 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.273e-05/0.003927, allocations: 69.58 kB / 321.6 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/0.004017, allocations: 33.7 kB / 321.6 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.00404, allocations: 6.688 kB / 321.6 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.963e-05/0.004119, allocations: 29.86 kB / 321.6 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.004143, allocations: 18.72 kB / 321.6 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.004189, allocations: 42.5 kB / 321.7 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.004401, allocations: 136.2 kB / 321.8 MB, free: 1.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004404, allocations: 0 / 321.8 MB, free: 1.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004404, allocations: 0 / 321.8 MB, free: 1.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.004408, allocations: 1.125 kB / 321.8 MB, free: 1.73 MB / 286.1 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.0004448/0.004852, allocations: 337 kB / 322.1 MB, free: 1.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.004886, allocations: 10.44 kB / 322.2 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.005067, allocations: 32.27 kB / 322.2 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.00523, allocations: 138 kB / 322.3 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.005243, allocations: 5.344 kB / 322.3 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.005273, allocations: 9.781 kB / 322.3 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.005452, allocations: 93.84 kB / 322.4 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.005466, allocations: 5.438 kB / 322.4 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.005478, allocations: 0 / 322.4 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.005484, allocations: 3.594 kB / 322.4 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.005612, allocations: 61.61 kB / 322.5 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.006159, allocations: 376.9 kB / 322.9 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.006421, allocations: 103.3 kB / 323 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.708e-05/0.006468, allocations: 25.78 kB / 323 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.006478, allocations: 3.812 kB / 323 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.144e-05/0.006489, allocations: 34.56 kB / 323 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.006491, allocations: 0 / 323 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.00121/0.0077, allocations: 393.3 kB / 323.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.007721, allocations: 54.06 kB / 323.5 MB, free: 464 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.198e-05/0.007793, allocations: 124 kB / 323.6 MB, free: 348 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.007803, allocations: 29.7 kB / 323.6 MB, free: 312 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.007845, allocations: 109.1 kB / 323.7 MB, free: 208 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.00787, allocations: 48.75 kB / 323.8 MB, free: 168 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.007911, allocations: 28.2 kB / 323.8 MB, free: 144 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.008032, allocations: 323.8 kB / 324.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.008093, allocations: 35.12 kB / 324.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.299e-05/0.008176, allocations: 64.56 kB / 324.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.008321, allocations: 91.5 kB / 324.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.008322, allocations: 0 / 324.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002026/0.008525, allocations: 131.4 kB / 324.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.008538, allocations: 9.5 kB / 324.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.008542, allocations: 1.125 kB / 324.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.008556, allocations: 2.656 kB / 324.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.008695, allocations: 32.14 kB / 324.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.008702, allocations: 3.656 kB / 324.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.047e-05/0.008763, allocations: 9.344 kB / 324.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.008773, allocations: 3.656 kB / 324.5 MB, free: 15.61 MB / 302.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 (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 0.0001048/0.008878, allocations: 127.1 kB / 324.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.008917, allocations: 9.562 kB / 324.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.478e-05/0.008962, allocations: 15.61 kB / 324.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.008965, allocations: 5.5 kB / 324.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.008968, allocations: 0 / 324.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.008972, allocations: 2.531 kB / 324.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/0.009486, allocations: 361.4 kB / 325 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.009488, allocations: 1.734 kB / 325 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.009657, allocations: 30.44 kB / 325 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.00966, allocations: 1.125 kB / 325 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.009671, allocations: 1.922 kB / 325 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.009673, allocations: 6.469 kB / 325 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.009674, allocations: 0.75 kB / 325 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.009992, allocations: 251.7 kB / 325.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.01001, allocations: 8.516 kB / 325.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.01003, allocations: 5.641 kB / 325.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.01012, allocations: 1.812 kB / 325.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.01016, allocations: 19.11 kB / 325.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.01016, allocations: 7.609 kB / 325.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.26e-05/0.01023, allocations: 96.59 kB / 325.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01023, allocations: 1.312 kB / 325.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.01049, allocations: 25.19 kB / 325.4 MB, free: 14.85 MB / 302.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 (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.0001206/0.01061, allocations: 99.72 kB / 325.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.01083, allocations: 80.38 kB / 325.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.01084, allocations: 0 / 325.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.927e-05/0.0109, allocations: 37.83 kB / 325.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.01126, allocations: 31.48 kB / 325.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007416/0.012, allocations: 365.3 kB / 326 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.01211, allocations: 91.88 kB / 326.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.727e-05/0.01216, allocations: 9.297 kB / 326.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.01221, allocations: 17.94 kB / 326.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.01221, allocations: 0 / 326.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of Templates: time 0.00444/0.01665, allocations: 1.129 MB / 327.3 MB, free: 14.17 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.222268112003803]