Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001184/0.001184, allocations: 109.8 kB / 19.17 MB, free: 3.871 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.001321/0.001321, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.454/1.454, allocations: 230.4 MB / 255.4 MB, free: 15.02 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 72.06 kB / 374.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09688/0.09879, allocations: 53.32 MB / 428 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00327/0.1021, allocations: 2.015 MB / 430.1 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1032, allocations: 0.7013 MB / 430.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.423e-05/0.1033, allocations: 7.938 kB / 430.8 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.1034, allocations: 19.8 kB / 430.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.683e-05/0.1035, allocations: 47.62 kB / 430.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.1037, allocations: 55.8 kB / 430.9 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1039, allocations: 143.3 kB / 431 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.104, allocations: 25.09 kB / 431 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.455e-05/0.1041, allocations: 51.8 kB / 431.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1042, allocations: 59.77 kB / 431.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.1042, allocations: 8 kB / 431.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.664e-05/0.1043, allocations: 27.98 kB / 431.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.939e-05/0.1044, allocations: 19.92 kB / 431.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.1044, allocations: 75.59 kB / 431.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.1047, allocations: 147.4 kB / 431.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1047, allocations: 4 kB / 431.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1047, allocations: 0 / 431.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1047, allocations: 0 / 431.4 MB, free: 0.9727 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.0006962/0.1054, allocations: 449.3 kB / 431.9 MB, free: 500 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1054, allocations: 8.031 kB / 431.9 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.1056, allocations: 32.83 kB / 431.9 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1059, allocations: 208.1 kB / 432.1 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1059, allocations: 8.375 kB / 432.1 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.1059, allocations: 12.38 kB / 432.1 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.1062, allocations: 117.6 kB / 432.3 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1062, allocations: 3.953 kB / 432.3 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.1062, allocations: 4 kB / 432.3 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1062, allocations: 4 kB / 432.3 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1864/0.2926, allocations: 90.16 kB / 432.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000854/0.2935, allocations: 485 kB / 432.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.2938, allocations: 118.3 kB / 432.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.294, allocations: 46.88 kB / 433 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.294, allocations: 4.062 kB / 433 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.19e-05/0.294, allocations: 33.27 kB / 433 MB, free: 11.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.064e-06/0.294, allocations: 0 / 433 MB, free: 11.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009786/0.295, allocations: 486.2 kB / 433.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.295, allocations: 58.06 kB / 433.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.2951, allocations: 133.7 kB / 433.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.2951, allocations: 26.7 kB / 433.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.2952, allocations: 117.2 kB / 433.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.2952, allocations: 57.09 kB / 433.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.2952, allocations: 27.69 kB / 433.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.744e-05/0.2953, allocations: 323.6 kB / 434.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.2954, allocations: 46.95 kB / 434.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.2956, allocations: 75.19 kB / 434.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.2958, allocations: 123.9 kB / 434.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2958, allocations: 0.75 kB / 434.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003221/0.2961, allocations: 168 kB / 434.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2961, allocations: 8.844 kB / 434.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2962, allocations: 0.6875 kB / 434.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2962, allocations: 2.469 kB / 434.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.2963, allocations: 41.88 kB / 434.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2963, allocations: 6.969 kB / 434.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.14e-05/0.2964, allocations: 8.594 kB / 434.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.2965, allocations: 13.38 kB / 434.7 MB, free: 10.12 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.215e-05/0.2965, allocations: 116.2 kB / 434.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.2965, allocations: 12.78 kB / 434.8 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.2966, allocations: 19.19 kB / 434.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2966, allocations: 4.781 kB / 434.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.2966, allocations: 4.5 kB / 434.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.2966, allocations: 3.609 kB / 434.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005561/0.2972, allocations: 467.6 kB / 435.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2972, allocations: 0 / 435.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.2973, allocations: 41.12 kB / 435.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.2973, allocations: 1.938 kB / 435.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2974, allocations: 1.281 kB / 435.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2974, allocations: 12.11 kB / 435.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2974, allocations: 0.625 kB / 435.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.2978, allocations: 304.1 kB / 435.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.2978, allocations: 91.47 kB / 435.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.2979, allocations: 4.562 kB / 435.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.298, allocations: 7.266 kB / 435.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.298, allocations: 14.38 kB / 435.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.298, allocations: 9.125 kB / 435.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.759e-05/0.2981, allocations: 101.3 kB / 435.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2981, allocations: 3.875 kB / 435.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.2983, allocations: 31.25 kB / 435.9 MB, free: 9.352 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.402e-05/0.2984, allocations: 101.1 kB / 436 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.2987, allocations: 111.6 kB / 436.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2987, allocations: 0 / 436.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.2989, allocations: 57.53 kB / 436.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.2992, allocations: 25.98 kB / 436.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007167/0.2999, allocations: 0.5145 MB / 436.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.3, allocations: 0.7106 MB / 437.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.3001, allocations: 14.44 kB / 437.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3001, allocations: 0 / 437.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of Templates: time 0.003658/0.3037, allocations: 1.686 MB / 439.1 MB, free: 8.113 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.7782166111283]