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.001637/0.001637, allocations: 82.5 kB / 20.68 MB, free: 1.039 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.001845/0.001845, allocations: 163.5 kB / 23.95 MB, free: 4.172 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.525/1.525, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.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 1.353e-06/1.353e-06, allocations: 0 / 325 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.554e-05, allocations: 2.281 kB / 325 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002945/0.00297, allocations: 1.959 MB / 327 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.004104, allocations: 0.6599 MB / 327.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.797e-05/0.004192, allocations: 2.281 kB / 327.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.004327, allocations: 21.89 kB / 327.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.069e-05/0.004418, allocations: 46.36 kB / 327.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.004666, allocations: 57.8 kB / 327.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.004877, allocations: 150.8 kB / 327.9 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.004998, allocations: 34.05 kB / 328 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.00517, allocations: 76.84 kB / 328 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.766e-05/0.005268, allocations: 45.84 kB / 328.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.005293, allocations: 9.906 kB / 328.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.488e-05/0.005378, allocations: 31.47 kB / 328.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.005408, allocations: 20.02 kB / 328.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.005463, allocations: 41.83 kB / 328.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.005721, allocations: 152.6 kB / 328.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.005725, allocations: 5.094 kB / 328.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005725, allocations: 4 kB / 328.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.005734, allocations: 0 / 328.3 MB, free: 14.46 MB / 302.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.0007017/0.006436, allocations: 368.7 kB / 328.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.006467, allocations: 8.938 kB / 328.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.006654, allocations: 29.84 kB / 328.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.006885, allocations: 145.9 kB / 328.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.006898, allocations: 8.938 kB / 328.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.006933, allocations: 7.266 kB / 328.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.007228, allocations: 115.2 kB / 329 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.007243, allocations: 2.562 kB / 329 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.007262, allocations: 7.938 kB / 329 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.007267, allocations: 3.531 kB / 329 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.007566, allocations: 93.22 kB / 329.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008756/0.008442, allocations: 419.1 kB / 329.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.008813, allocations: 114 kB / 329.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.008954, allocations: 45.47 kB / 329.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.008966, allocations: 2.312 kB / 329.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.008995, allocations: 32.36 kB / 329.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.008997, allocations: 4 kB / 329.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001094/0.01009, allocations: 405.3 kB / 330.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.01014, allocations: 61.06 kB / 330.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.01028, allocations: 137.4 kB / 330.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.0103, allocations: 30.95 kB / 330.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.01039, allocations: 113.9 kB / 330.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.01044, allocations: 56.72 kB / 330.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.0105, allocations: 30.44 kB / 330.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.01065, allocations: 322.3 kB / 330.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.0108, allocations: 43 kB / 330.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.01096, allocations: 74.95 kB / 331 MB, free: 12.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.01125, allocations: 124.4 kB / 331.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01125, allocations: 5.094 kB / 331.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003638/0.01161, allocations: 156.9 kB / 331.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.01163, allocations: 5.75 kB / 331.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01163, allocations: 1.672 kB / 331.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.01165, allocations: 6 kB / 331.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.01184, allocations: 44.58 kB / 331.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.01185, allocations: 5.062 kB / 331.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.01195, allocations: 16.05 kB / 331.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.01196, allocations: 4.484 kB / 331.3 MB, free: 12.27 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 (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.0001162/0.01208, allocations: 124.3 kB / 331.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.01212, allocations: 13.5 kB / 331.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/0.01217, allocations: 20.33 kB / 331.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01217, allocations: 1.797 kB / 331.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.01218, allocations: 5.562 kB / 331.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01218, allocations: 1.172 kB / 331.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007127/0.01289, allocations: 400.5 kB / 331.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.0129, allocations: 2.062 kB / 331.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.01309, allocations: 35.77 kB / 331.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.0131, allocations: 2.312 kB / 331.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.01311, allocations: 6.188 kB / 331.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.01312, allocations: 5.031 kB / 331.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01312, allocations: 5 kB / 331.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.01367, allocations: 307.7 kB / 332.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.01368, allocations: 7.516 kB / 332.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.01371, allocations: 10.16 kB / 332.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.01383, allocations: 4.438 kB / 332.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.01389, allocations: 16.47 kB / 332.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.0139, allocations: 3.281 kB / 332.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.038e-05/0.01398, allocations: 106 kB / 332.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01398, allocations: 0 / 332.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.01424, allocations: 28.41 kB / 332.4 MB, free: 11.46 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 (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.0001203/0.01436, allocations: 99.69 kB / 332.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003259/0.01469, allocations: 106.2 kB / 332.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01469, allocations: 0 / 332.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.01488, allocations: 60.39 kB / 332.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.01521, allocations: 31.7 kB / 332.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007542/0.01597, allocations: 406.2 kB / 333.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.356e-05/0.01606, allocations: 105.6 kB / 333.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.958e-05/0.01612, allocations: 10.38 kB / 333.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.01618, allocations: 14.97 kB / 333.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01618, allocations: 0 / 333.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of Templates: time 0.004668/0.02085, allocations: 1.424 MB / 334.7 MB, free: 10.11 MB / 302.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.26591157913208]