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.000895/0.000895, allocations: 84 kB / 21.43 MB, free: 3.137 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.004103/0.004103, allocations: 140.8 kB / 24.68 MB, free: 8.891 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.828/0.828, allocations: 173.4 MB / 201.2 MB, free: 9.465 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.533e-06/1.533e-06, allocations: 3.938 kB / 319.7 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.896e-05, allocations: 2.281 kB / 319.7 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002605/0.002624, allocations: 1.728 MB / 321.4 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009349/0.003559, allocations: 0.6076 MB / 322 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.085e-05/0.00364, allocations: 4 kB / 322 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.003755, allocations: 19.8 kB / 322 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.991e-05/0.003835, allocations: 47.56 kB / 322.1 MB, free: 3.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.00408, allocations: 51.75 kB / 322.1 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.004248, allocations: 127.3 kB / 322.2 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.004373, allocations: 17.58 kB / 322.3 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.348e-05/0.004466, allocations: 71.81 kB / 322.3 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.079e-05/0.004557, allocations: 35.89 kB / 322.4 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.004578, allocations: 8 kB / 322.4 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003636/0.004942, allocations: 20 kB / 322.4 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.00497, allocations: 23.91 kB / 322.4 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.005017, allocations: 35.91 kB / 322.5 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.005261, allocations: 139.6 kB / 322.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.005264, allocations: 0 / 322.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.005265, allocations: 0 / 322.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.005272, allocations: 0 / 322.6 MB, free: 2.945 MB / 282.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.0005239/0.005796, allocations: 334 kB / 322.9 MB, free: 2.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.00583, allocations: 11.97 kB / 322.9 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.006009, allocations: 28.83 kB / 323 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.006203, allocations: 137.6 kB / 323.1 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.006218, allocations: 8.562 kB / 323.1 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.006249, allocations: 12.38 kB / 323.1 MB, free: 2.371 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.006427, allocations: 93.34 kB / 323.2 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.006444, allocations: 7.938 kB / 323.2 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.006457, allocations: 4 kB / 323.2 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.006462, allocations: 0 / 323.2 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.0066, allocations: 63.95 kB / 323.3 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.007214, allocations: 371.5 kB / 323.6 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.00751, allocations: 94.64 kB / 323.7 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.636e-05/0.007566, allocations: 33.06 kB / 323.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.007579, allocations: 3.938 kB / 323.8 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.007598, allocations: 30.56 kB / 323.8 MB, free: 1.621 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/0.0076, allocations: 0 / 323.8 MB, free: 1.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.001065/0.008665, allocations: 392.8 kB / 324.2 MB, free: 1.203 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.0087, allocations: 51.41 kB / 324.2 MB, free: 1.141 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.008791, allocations: 126 kB / 324.4 MB, free: 1.004 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.008804, allocations: 25.7 kB / 324.4 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.008865, allocations: 108 kB / 324.5 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.0089, allocations: 47.64 kB / 324.5 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.008965, allocations: 25.72 kB / 324.6 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.009052, allocations: 334.7 kB / 324.9 MB, free: 460 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.444e-05/0.009096, allocations: 27.98 kB / 324.9 MB, free: 432 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.417e-05/0.00915, allocations: 55.42 kB / 325 MB, free: 364 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.212e-05/0.009242, allocations: 92.23 kB / 325.1 MB, free: 260 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.009244, allocations: 4 kB / 325.1 MB, free: 256 kB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001325/0.009377, allocations: 137.4 kB / 325.2 MB, free: 112 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.009389, allocations: 6.969 kB / 325.2 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.009392, allocations: 64 / 325.2 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.009403, allocations: 11.94 kB / 325.2 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.009487, allocations: 27.98 kB / 325.2 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.009492, allocations: 4 kB / 325.2 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.831e-05/0.009521, allocations: 0 / 325.2 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.009528, allocations: 8 kB / 325.3 MB, free: 56 kB / 282.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.563e-05/0.009604, allocations: 129.7 kB / 325.4 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.009621, allocations: 12 kB / 325.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.009648, allocations: 16.42 kB / 325.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.00965, allocations: 4 kB / 325.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.009654, allocations: 0 / 325.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.009659, allocations: 7.984 kB / 325.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.009972, allocations: 355.7 kB / 325.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.009973, allocations: 0 / 325.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.879e-05/0.01005, allocations: 31.98 kB / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01005, allocations: 0 / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.01006, allocations: 4 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01006, allocations: 4 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01006, allocations: 3.984 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.01025, allocations: 253.1 kB / 326.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.01026, allocations: 7.953 kB / 326.1 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.01027, allocations: 4 kB / 326.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.129e-05/0.01031, allocations: 4 kB / 326.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.01033, allocations: 11.97 kB / 326.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.01034, allocations: 7.984 kB / 326.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.315e-05/0.01037, allocations: 94.03 kB / 326.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01037, allocations: 0 / 326.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000156/0.01053, allocations: 28.09 kB / 326.2 MB, free: 15.02 MB / 298.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 7.106e-05/0.0106, allocations: 111.1 kB / 326.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.01071, allocations: 75.86 kB / 326.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01071, allocations: 0 / 326.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.667e-05/0.01075, allocations: 39.92 kB / 326.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.01097, allocations: 19.97 kB / 326.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.01141, allocations: 404.8 kB / 326.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.09e-05/0.01146, allocations: 88.27 kB / 326.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.01149, allocations: 16.5 kB / 326.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01149, allocations: 4 kB / 327 MB, free: 14.21 MB / 298.7 MB Notification: Performance of Templates: time 0.00188/0.01337, allocations: 1.485 MB / 328.4 MB, free: 12.73 MB / 298.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=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.1490456238389015]