Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009696/0.0009696, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001696/0.001696, allocations: 160.2 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.017/1.017, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.698e-05, allocations: 2.312 kB / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003454/0.003481, allocations: 2.038 MB / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.004691, allocations: 0.6933 MB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.004794, allocations: 0 / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.004941, allocations: 23.78 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.005045, allocations: 43.58 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.005328, allocations: 51.8 kB / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.005544, allocations: 155.2 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.005667, allocations: 33.94 kB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.005816, allocations: 79.75 kB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.005926, allocations: 47.88 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.00595, allocations: 8 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.27e-05/0.006033, allocations: 23.98 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.006064, allocations: 27.91 kB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.006114, allocations: 39.86 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.006339, allocations: 115.6 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006342, allocations: 0 / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006343, allocations: 0 / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.006347, allocations: 0 / 276.7 MB, free: 13.86 MB / 266.7 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.0005311/0.006878, allocations: 344.3 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.006917, allocations: 11.98 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.007131, allocations: 40.89 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.007316, allocations: 133.5 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.007331, allocations: 8.375 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.007364, allocations: 20.31 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.00754, allocations: 98.84 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.007553, allocations: 4.125 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.007569, allocations: 11.94 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.007578, allocations: 3.984 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.747e-05/0.007665, allocations: 31.92 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/0.008243, allocations: 319 kB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.008461, allocations: 70.48 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.129e-05/0.008502, allocations: 24.84 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.008514, allocations: 0 / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.00854, allocations: 34.56 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.472e-06/0.008541, allocations: 0 / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006006/0.009142, allocations: 269 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.009181, allocations: 55.41 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/0.009273, allocations: 137.9 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.009289, allocations: 29.7 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.009346, allocations: 112.3 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.009382, allocations: 47.75 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.00944, allocations: 37.69 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.00954, allocations: 334.7 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.916e-05/0.00957, allocations: 8 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.315e-05/0.009623, allocations: 50.12 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.009724, allocations: 71.31 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.009725, allocations: 0 / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001527/0.009878, allocations: 93.59 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.009892, allocations: 8 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.009897, allocations: 4 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.009911, allocations: 0 / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.01005, allocations: 39.98 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01005, allocations: 4 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.01011, allocations: 7.938 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.01012, allocations: 4 kB / 279.2 MB, free: 11.23 MB / 266.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 (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 7.829e-05/0.0102, allocations: 117.8 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.01023, allocations: 12 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/0.01027, allocations: 24.77 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.01027, allocations: 0 / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01028, allocations: 0 / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01028, allocations: 0 / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.01069, allocations: 288.2 kB / 279.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01069, allocations: 0 / 279.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.01083, allocations: 35.92 kB / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01083, allocations: 0 / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.01084, allocations: 4 kB / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01084, allocations: 4.062 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.01085, allocations: 3.938 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.01107, allocations: 217.9 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.01109, allocations: 7.953 kB / 279.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.01111, allocations: 7.984 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.482e-05/0.0112, allocations: 4 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.01124, allocations: 11.92 kB / 279.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.01125, allocations: 8 kB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.469e-05/0.01128, allocations: 28.78 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01128, allocations: 0 / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.01155, allocations: 36 kB / 279.9 MB, free: 10.38 MB / 266.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 (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.00013/0.01168, allocations: 80.41 kB / 280 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.01182, allocations: 60.72 kB / 280.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.01183, allocations: 4 kB / 280.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.361e-05/0.01188, allocations: 36.77 kB / 280.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.01217, allocations: 24.39 kB / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008262/0.01299, allocations: 382.5 kB / 280.5 MB, free: 9.754 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.198e-05/0.01305, allocations: 71.34 kB / 280.6 MB, free: 9.664 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.295e-05/0.01311, allocations: 8.641 kB / 280.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.01321, allocations: 75.36 kB / 280.7 MB, free: 9.582 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01321, allocations: 0 / 280.7 MB, free: 9.582 MB / 266.7 MB Notification: Performance of Templates: time 0.00427/0.01748, allocations: 1.49 MB / 282.2 MB, free: 8.121 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.7265925309620798]