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.002049/0.002049, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002061/0.002061, allocations: 207.2 kB / 20.75 MB, free: 2.273 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: 230.6 MB / 254.1 MB, free: 15.11 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.001844/0.001844, allocations: 51.92 kB / 373.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1188, allocations: 53.33 MB / 426.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003551/0.1224, allocations: 2.008 MB / 428.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.1235, allocations: 0.7051 MB / 429.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.61e-05/0.1236, allocations: 0 / 429.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.1237, allocations: 15.8 kB / 429.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.827e-05/0.1238, allocations: 43.64 kB / 429.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.1241, allocations: 59.8 kB / 429.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.1243, allocations: 147.3 kB / 429.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1244, allocations: 21.11 kB / 429.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.891e-05/0.1245, allocations: 59.72 kB / 429.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1246, allocations: 59.77 kB / 429.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.1246, allocations: 12 kB / 429.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.655e-05/0.1247, allocations: 23.98 kB / 429.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.1248, allocations: 27.91 kB / 430 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.271e-05/0.1249, allocations: 59.67 kB / 430 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.1251, allocations: 155.4 kB / 430.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1251, allocations: 0 / 430.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1251, allocations: 0 / 430.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1251, allocations: 0 / 430.2 MB, free: 0.9062 MB / 350.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.0007697/0.1259, allocations: 454.7 kB / 430.6 MB, free: 424 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1259, allocations: 8.031 kB / 430.6 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.1261, allocations: 36.83 kB / 430.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.1264, allocations: 196.2 kB / 430.8 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1264, allocations: 8.375 kB / 430.9 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.1265, allocations: 8.375 kB / 430.9 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.1268, allocations: 121.5 kB / 431 MB, free: 0 / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.2089/0.3357, allocations: 3.094 kB / 431 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.3357, allocations: 2.5 kB / 431 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3357, allocations: 1.562 kB / 431 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.3361, allocations: 96.95 kB / 431.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009121/0.337, allocations: 491.9 kB / 431.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.3374, allocations: 117.2 kB / 431.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.3375, allocations: 46.89 kB / 431.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.3375, allocations: 2.781 kB / 431.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.3375, allocations: 41.22 kB / 431.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.3375, allocations: 0 / 431.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001054/0.3386, allocations: 480.9 kB / 432.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.3386, allocations: 55.92 kB / 432.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.731e-05/0.3387, allocations: 136.3 kB / 432.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.3387, allocations: 34.25 kB / 432.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.3387, allocations: 107.5 kB / 432.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.3388, allocations: 56.69 kB / 432.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.3388, allocations: 34.45 kB / 432.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.374e-05/0.3389, allocations: 321.6 kB / 433 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.339, allocations: 44.31 kB / 433 MB, free: 10.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.3391, allocations: 76.3 kB / 433.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.3394, allocations: 128.9 kB / 433.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3394, allocations: 0 / 433.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003144/0.3397, allocations: 165.5 kB / 433.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3397, allocations: 8.562 kB / 433.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3397, allocations: 3.688 kB / 433.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3397, allocations: 1.688 kB / 433.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.3399, allocations: 40.84 kB / 433.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3399, allocations: 4.75 kB / 433.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.259e-05/0.34, allocations: 10.28 kB / 433.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.34, allocations: 7.25 kB / 433.4 MB, free: 10.1 MB / 350.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 6.199e-05/0.3401, allocations: 119.8 kB / 433.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.3401, allocations: 21.75 kB / 433.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.3402, allocations: 19.48 kB / 433.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3402, allocations: 2.094 kB / 433.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3402, allocations: 0 / 433.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3402, allocations: 0.7812 kB / 433.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005737/0.3407, allocations: 470.2 kB / 434.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3407, allocations: 0.6562 kB / 434.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.3409, allocations: 37.73 kB / 434.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3409, allocations: 1.344 kB / 434.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.341, allocations: 7.312 kB / 434.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.341, allocations: 1.031 kB / 434.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.341, allocations: 5.188 kB / 434.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004494/0.3414, allocations: 308.7 kB / 434.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.3414, allocations: 84.59 kB / 434.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.3415, allocations: 9.047 kB / 434.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3416, allocations: 4.438 kB / 434.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.3416, allocations: 11.58 kB / 434.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.3416, allocations: 6.547 kB / 434.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.391e-05/0.3417, allocations: 106.7 kB / 434.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3417, allocations: 0 / 434.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.3419, allocations: 34.5 kB / 434.7 MB, free: 9.32 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 8.872e-05/0.342, allocations: 105.7 kB / 434.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.3423, allocations: 106.8 kB / 434.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3423, allocations: 0 / 434.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.3425, allocations: 60.95 kB / 434.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.3428, allocations: 23.61 kB / 435 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007093/0.3435, allocations: 498.2 kB / 435.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.3436, allocations: 0.7068 MB / 436.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.082e-05/0.3437, allocations: 14.02 kB / 436.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.3437, allocations: 17.66 kB / 436.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3437, allocations: 0 / 436.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of Templates: time 0.004478/0.3482, allocations: 1.415 MB / 437.6 MB, free: 8.129 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.728957608342171]