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.001194/0.001194, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009375/0.0009375, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 0.9179/0.9179, allocations: 177 MB / 204.8 MB, free: 5.574 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.714e-06/1.714e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.627e-05, allocations: 6.25 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00799/0.008017, allocations: 2.036 MB / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.00905, allocations: 0.6895 MB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003112/0.01216, allocations: 4 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.01231, allocations: 19.73 kB / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.01241, allocations: 39.58 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.0127, allocations: 71.72 kB / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.01288, allocations: 151.2 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.013, allocations: 17.3 kB / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.01312, allocations: 83.8 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.0132, allocations: 39.89 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.01323, allocations: 12 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.647e-05/0.01331, allocations: 31.92 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.01333, allocations: 19.91 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.01338, allocations: 43.92 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.01359, allocations: 119.6 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.01359, allocations: 0 / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01359, allocations: 0 / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.0136, allocations: 3.938 kB / 276.3 MB, free: 14.07 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.0005165/0.01411, allocations: 471.9 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.01415, allocations: 15.97 kB / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.01433, allocations: 40.83 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.0145, allocations: 151.1 kB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.01451, allocations: 8.375 kB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.01454, allocations: 12.38 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.01472, allocations: 106.8 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.01473, allocations: 4.141 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.01475, allocations: 11.94 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.01475, allocations: 0 / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.01486, allocations: 43.95 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00362/0.01848, allocations: 446.5 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.0187, allocations: 98.94 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.697e-05/0.01875, allocations: 23.72 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.01876, allocations: 4 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.01878, allocations: 33.39 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.01878, allocations: 0 / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004794/0.01926, allocations: 313.6 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.0193, allocations: 59.34 kB / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.0194, allocations: 203.2 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.01941, allocations: 25.7 kB / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.01948, allocations: 155 kB / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.01951, allocations: 59.52 kB / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.01956, allocations: 31.38 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.01968, allocations: 0.4962 MB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.216e-05/0.01972, allocations: 15.98 kB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.01979, allocations: 66.58 kB / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.0199, allocations: 82.73 kB / 279.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.0199, allocations: 4 kB / 279.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001762/0.02007, allocations: 125.2 kB / 279.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.02009, allocations: 11.98 kB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.02009, allocations: 0 / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.0201, allocations: 4 kB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.02023, allocations: 39.92 kB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.02024, allocations: 7.875 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/0.02029, allocations: 4 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.0203, allocations: 8 kB / 279.4 MB, free: 10.67 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.773e-05/0.02038, allocations: 164.6 kB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.02041, allocations: 15.91 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.02044, allocations: 20.77 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.02045, allocations: 4 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.02045, allocations: 7.938 kB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.02045, allocations: 0 / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004075/0.02086, allocations: 408.7 kB / 280 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02086, allocations: 0 / 280 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003124/0.02399, allocations: 40.05 kB / 280 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.02399, allocations: 0 / 280 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.024, allocations: 3.938 kB / 280 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.02401, allocations: 4 kB / 280 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.02401, allocations: 0 / 280 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.02427, allocations: 295.1 kB / 280.3 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.02428, allocations: 7.953 kB / 280.3 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.0243, allocations: 7.938 kB / 280.3 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.02438, allocations: 4 kB / 280.3 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.02442, allocations: 11.97 kB / 280.4 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.02443, allocations: 12 kB / 280.4 MB, free: 9.594 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.683e-05/0.02449, allocations: 145.9 kB / 280.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02449, allocations: 0 / 280.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002609/0.02475, allocations: 28 kB / 280.5 MB, free: 9.426 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 9.179e-05/0.02484, allocations: 99.19 kB / 280.6 MB, free: 9.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.025, allocations: 79.58 kB / 280.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.025, allocations: 0 / 280.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.739e-05/0.02506, allocations: 39.61 kB / 280.8 MB, free: 9.195 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.02536, allocations: 28.23 kB / 280.8 MB, free: 9.168 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007998/0.02616, allocations: 417.9 kB / 281.2 MB, free: 8.723 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.667e-05/0.02621, allocations: 67.34 kB / 281.3 MB, free: 8.637 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.421e-05/0.02626, allocations: 16.58 kB / 281.3 MB, free: 8.621 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.02631, allocations: 16.5 kB / 281.3 MB, free: 8.605 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02631, allocations: 0 / 281.3 MB, free: 8.605 MB / 266.7 MB Notification: Performance of Templates: time 0.009757/0.03606, allocations: 1.519 MB / 282.8 MB, free: 7.117 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.5213036914356053]