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.001726/0.001726, allocations: 116.7 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.002123/0.002123, allocations: 206.6 kB / 22.12 MB, free: 0.9219 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.516/1.516, allocations: 230.2 MB / 255.2 MB, free: 15.26 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.001933/0.001933, allocations: 59.91 kB / 374.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09686/0.0988, allocations: 53.33 MB / 427.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003536/0.1023, allocations: 2.01 MB / 429.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1036, allocations: 0.7013 MB / 430.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.1037, allocations: 11.88 kB / 430.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.1039, allocations: 19.8 kB / 430.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.104, allocations: 43.62 kB / 430.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.1042, allocations: 47.86 kB / 430.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.1045, allocations: 143.3 kB / 430.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1046, allocations: 29.03 kB / 430.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1047, allocations: 63.78 kB / 430.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.712e-05/0.1048, allocations: 47.78 kB / 431 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.1048, allocations: 16 kB / 431 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.778e-05/0.1049, allocations: 27.98 kB / 431 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.105, allocations: 27.91 kB / 431.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.09e-05/0.105, allocations: 59.67 kB / 431.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.1053, allocations: 159.3 kB / 431.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1053, allocations: 0 / 431.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1053, allocations: 0 / 431.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1053, allocations: 0 / 431.3 MB, free: 1.062 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.0007458/0.106, allocations: 449.7 kB / 431.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1061, allocations: 12.03 kB / 431.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.1063, allocations: 28.83 kB / 431.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.1066, allocations: 208.1 kB / 432 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1066, allocations: 8.375 kB / 432 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.1066, allocations: 12.36 kB / 432 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.1069, allocations: 121.6 kB / 432.1 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1069, allocations: 3.953 kB / 432.1 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.107, allocations: 4 kB / 432.1 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.107, allocations: 4 kB / 432.1 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.1073, allocations: 91.88 kB / 432.2 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009148/0.1082, allocations: 491.4 kB / 432.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.1085, allocations: 110.5 kB / 432.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.1087, allocations: 49.05 kB / 432.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.1087, allocations: 3.938 kB / 432.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.1087, allocations: 38.56 kB / 432.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.1087, allocations: 0 / 432.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001143/0.1099, allocations: 482.2 kB / 433.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1099, allocations: 55.41 kB / 433.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.11, allocations: 138.1 kB / 433.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.1101, allocations: 29.7 kB / 433.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.1101, allocations: 112.2 kB / 433.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.1102, allocations: 51.62 kB / 433.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.1103, allocations: 37.59 kB / 433.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1104, allocations: 326.8 kB / 434.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.1105, allocations: 43.91 kB / 434.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.1107, allocations: 79.34 kB / 434.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.111, allocations: 115.4 kB / 434.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.111, allocations: 11.94 kB / 434.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003763/0.1114, allocations: 157.5 kB / 434.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1114, allocations: 15.92 kB / 434.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1114, allocations: 0 / 434.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1114, allocations: 4 kB / 434.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.1116, allocations: 31.98 kB / 434.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1116, allocations: 3.938 kB / 434.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.1117, allocations: 24.05 kB / 434.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1117, allocations: 4 kB / 434.6 MB, free: 13.48 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.0001122/0.1118, allocations: 117.8 kB / 434.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.1119, allocations: 15.89 kB / 434.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.1119, allocations: 16.84 kB / 434.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1119, allocations: 3.984 kB / 434.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.1119, allocations: 4 kB / 434.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1119, allocations: 4.031 kB / 434.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000775/0.1127, allocations: 479.9 kB / 435.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1127, allocations: 0 / 435.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.1129, allocations: 31.98 kB / 435.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1129, allocations: 0 / 435.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.1129, allocations: 8 kB / 435.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1129, allocations: 0 / 435.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.1129, allocations: 8.047 kB / 435.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.1135, allocations: 307.1 kB / 435.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.1136, allocations: 85.06 kB / 435.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.1136, allocations: 12 kB / 435.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.1137, allocations: 8.031 kB / 435.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.1138, allocations: 8 kB / 435.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.1138, allocations: 4 kB / 435.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.42e-05/0.1138, allocations: 105.7 kB / 435.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1138, allocations: 0 / 435.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1141, allocations: 32 kB / 435.8 MB, free: 12.14 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.0001238/0.1142, allocations: 111.1 kB / 435.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003606/0.1146, allocations: 107.9 kB / 436 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1146, allocations: 0 / 436 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.1148, allocations: 59.84 kB / 436.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1151, allocations: 23.92 kB / 436.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000926/0.116, allocations: 0.507 MB / 436.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.1164, allocations: 0.7041 MB / 437.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.1164, allocations: 19.38 kB / 437.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1164, allocations: 4 kB / 437.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of Templates: time 0.003864/0.1203, allocations: 1.69 MB / 439 MB, free: 8.855 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/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: 6.936820470029488]