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.001968/0.001968, allocations: 79.52 kB / 20.49 MB, free: 1.387 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.002297/0.002297, allocations: 162.2 kB / 23.74 MB, free: 4.578 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.514/1.514, allocations: 177.1 MB / 204 MB, free: 9.246 MB / 190.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.00203/0.00203, allocations: 65.12 kB / 324.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1042, allocations: 53.38 MB / 378.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003846/0.1081, allocations: 1.958 MB / 380.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1093, allocations: 0.6429 MB / 380.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1094, allocations: 3.938 kB / 380.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.1096, allocations: 23.8 kB / 380.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.779e-05/0.1097, allocations: 35.64 kB / 380.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.1099, allocations: 63.8 kB / 380.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.1101, allocations: 151.2 kB / 381 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1102, allocations: 21.31 kB / 381 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.1104, allocations: 87.73 kB / 381.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.767e-05/0.1105, allocations: 47.7 kB / 381.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.1105, allocations: 12 kB / 381.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-05/0.1106, allocations: 27.98 kB / 381.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.459e-05/0.1106, allocations: 23.92 kB / 381.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.1107, allocations: 51.73 kB / 381.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.1109, allocations: 155.4 kB / 381.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1109, allocations: 8 kB / 381.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1109, allocations: 0 / 381.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.111, allocations: 0 / 381.4 MB, free: 12.48 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.000671/0.1116, allocations: 361.7 kB / 381.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1117, allocations: 11.98 kB / 381.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.1119, allocations: 28.83 kB / 381.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.1122, allocations: 150.3 kB / 382 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.1122, allocations: 8.375 kB / 382 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.1122, allocations: 16.31 kB / 382 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.1126, allocations: 121.5 kB / 382.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1126, allocations: 3.953 kB / 382.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.1127, allocations: 4 kB / 382.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1127, allocations: 4 kB / 382.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.113, allocations: 92.52 kB / 382.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.1142, allocations: 411.3 kB / 382.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005255/0.1147, allocations: 114.5 kB / 382.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.1149, allocations: 44.88 kB / 382.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1149, allocations: 0 / 382.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.1149, allocations: 34.56 kB / 382.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.904e-06/0.115, allocations: 4 kB / 382.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00114/0.1161, allocations: 409.2 kB / 383.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.1161, allocations: 63.34 kB / 383.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1163, allocations: 134.1 kB / 383.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.1163, allocations: 29.7 kB / 383.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/0.1164, allocations: 116.2 kB / 383.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.226e-05/0.1164, allocations: 55.53 kB / 383.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.1165, allocations: 29.66 kB / 383.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1167, allocations: 326.8 kB / 383.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.1168, allocations: 43.88 kB / 384 MB, free: 9.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.117, allocations: 78.52 kB / 384.1 MB, free: 9.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.1173, allocations: 130.7 kB / 384.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1173, allocations: 0 / 384.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000375/0.1177, allocations: 161.5 kB / 384.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1177, allocations: 4 kB / 384.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1177, allocations: 3.938 kB / 384.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1177, allocations: 4 kB / 384.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.1179, allocations: 39.91 kB / 384.4 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.1179, allocations: 8 kB / 384.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.118, allocations: 12.06 kB / 384.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.118, allocations: 4 kB / 384.4 MB, free: 9.258 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 0.000111/0.1181, allocations: 125.8 kB / 384.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.1182, allocations: 15.89 kB / 384.6 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.409e-05/0.1182, allocations: 20.72 kB / 384.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1182, allocations: 4 kB / 384.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1182, allocations: 0 / 384.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1182, allocations: 3.984 kB / 384.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007965/0.119, allocations: 403.7 kB / 385 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.119, allocations: 4 kB / 385 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.1192, allocations: 31.97 kB / 385 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1192, allocations: 4 kB / 385 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1193, allocations: 0 / 385 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.1193, allocations: 7.938 kB / 385 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1193, allocations: 0 / 385 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005564/0.1198, allocations: 309.1 kB / 385.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.1198, allocations: 7.953 kB / 385.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.1199, allocations: 4 kB / 385.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.12, allocations: 12.03 kB / 385.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.12, allocations: 11.92 kB / 385.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.1201, allocations: 4 kB / 385.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.1202, allocations: 106.1 kB / 385.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1202, allocations: 0 / 385.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.1205, allocations: 36 kB / 385.5 MB, free: 8.098 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 0.00014/0.1206, allocations: 99.23 kB / 385.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003784/0.121, allocations: 107.9 kB / 385.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.121, allocations: 0 / 385.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.1212, allocations: 55.91 kB / 385.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.1215, allocations: 32.11 kB / 385.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009939/0.1225, allocations: 482.8 kB / 386.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.1226, allocations: 102.3 kB / 386.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.981e-05/0.1227, allocations: 16.42 kB / 386.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.1228, allocations: 16.5 kB / 386.4 MB, free: 7.145 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1228, allocations: 0 / 386.4 MB, free: 7.145 MB / 350.1 MB Notification: Performance of Templates: time 0.004837/0.1276, allocations: 1.422 MB / 387.8 MB, free: 5.75 MB / 350.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.365731744095683]