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.001919/0.001919, allocations: 114.6 kB / 18.5 MB, free: 4.562 MB / 14.72 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.002807/0.002807, allocations: 198.6 kB / 21.45 MB, free: 1.613 MB / 14.72 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.493/1.493, allocations: 230.2 MB / 254.5 MB, free: 15.43 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001886/0.001886, allocations: 67.89 kB / 373.8 MB, free: 9.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.111, allocations: 53.32 MB / 427.1 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003567/0.1145, allocations: 2.012 MB / 429.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.1158, allocations: 0.7012 MB / 429.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.63e-05/0.1159, allocations: 0 / 429.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.116, allocations: 23.78 kB / 429.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.314e-05/0.1161, allocations: 43.64 kB / 429.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.1163, allocations: 59.78 kB / 430 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.1165, allocations: 139.3 kB / 430.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1167, allocations: 29.11 kB / 430.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.831e-05/0.1168, allocations: 59.72 kB / 430.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.582e-05/0.1169, allocations: 51.77 kB / 430.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1169, allocations: 12 kB / 430.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.56e-05/0.117, allocations: 31.98 kB / 430.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/0.117, allocations: 23.92 kB / 430.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.054e-05/0.1171, allocations: 63.66 kB / 430.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.1173, allocations: 151.4 kB / 430.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1173, allocations: 0 / 430.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1173, allocations: 0 / 430.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1173, allocations: 0 / 430.5 MB, free: 1.121 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.0007693/0.1181, allocations: 446.8 kB / 431 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1181, allocations: 12.03 kB / 431 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.1183, allocations: 32.81 kB / 431 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.1186, allocations: 210.3 kB / 431.2 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1187, allocations: 8.375 kB / 431.2 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.1187, allocations: 8.375 kB / 431.2 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.119, allocations: 117.6 kB / 431.3 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.119, allocations: 7.953 kB / 431.3 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.119, allocations: 4 kB / 431.4 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.119, allocations: 4 kB / 431.4 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.1193, allocations: 103.8 kB / 431.5 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009028/0.1202, allocations: 487.5 kB / 431.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.1206, allocations: 110.6 kB / 432 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.1207, allocations: 44.88 kB / 432.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.1208, allocations: 224 / 432.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.1208, allocations: 42.5 kB / 432.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.1208, allocations: 4 kB / 432.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.00113/0.1219, allocations: 488.8 kB / 432.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.122, allocations: 51.41 kB / 432.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.1221, allocations: 142.1 kB / 432.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1221, allocations: 25.7 kB / 432.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.1222, allocations: 112.2 kB / 432.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.1223, allocations: 55.56 kB / 433 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.234e-05/0.1223, allocations: 29.67 kB / 433 MB, free: 14.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1225, allocations: 326.8 kB / 433.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.1226, allocations: 43.97 kB / 433.4 MB, free: 14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.1228, allocations: 71.41 kB / 433.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.123, allocations: 123.3 kB / 433.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.123, allocations: 4 kB / 433.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003631/0.1234, allocations: 165.5 kB / 433.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1234, allocations: 11.94 kB / 433.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1234, allocations: 0 / 433.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1234, allocations: 0 / 433.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.1236, allocations: 43.92 kB / 433.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1236, allocations: 0 / 433.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.537e-05/0.1237, allocations: 11.98 kB / 433.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.1237, allocations: 8 kB / 433.8 MB, free: 13.54 MB / 366.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.0001106/0.1238, allocations: 125.8 kB / 433.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.1239, allocations: 11.89 kB / 433.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.1239, allocations: 20.83 kB / 434 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1239, allocations: 0 / 434 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.1239, allocations: 4 kB / 434 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1239, allocations: 0 / 434 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007559/0.1247, allocations: 480 kB / 434.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1247, allocations: 0 / 434.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.1249, allocations: 39.92 kB / 434.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1249, allocations: 0 / 434.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1249, allocations: 4 kB / 434.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1249, allocations: 3.984 kB / 434.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1249, allocations: 0 / 434.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.1255, allocations: 304.2 kB / 434.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.625e-05/0.1255, allocations: 89.06 kB / 434.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.1256, allocations: 4 kB / 434.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.1257, allocations: 16.03 kB / 434.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.1258, allocations: 15.92 kB / 434.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.1258, allocations: 4 kB / 434.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.478e-05/0.1258, allocations: 101.8 kB / 435 MB, free: 12.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1258, allocations: 0 / 435 MB, free: 12.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1261, allocations: 32 kB / 435 MB, free: 12.2 MB / 366.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.0001381/0.1262, allocations: 103.1 kB / 435.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003384/0.1266, allocations: 111.9 kB / 435.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1266, allocations: 0 / 435.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.1267, allocations: 59.84 kB / 435.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.1271, allocations: 27.92 kB / 435.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008893/0.128, allocations: 493.4 kB / 435.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1283, allocations: 0.708 MB / 436.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.959e-05/0.1284, allocations: 16.42 kB / 436.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.1284, allocations: 15.44 kB / 436.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1284, allocations: 0 / 436.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of Templates: time 0.00461/0.133, allocations: 1.417 MB / 438 MB, free: 9.215 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.5520666958764195]