Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.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.001327/0.001327, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.001438/0.001438, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.467/1.467, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.89 kB / 373.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09821, allocations: 53.31 MB / 427.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003152/0.1014, allocations: 1.996 MB / 429.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1024, allocations: 0.7013 MB / 429.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-05/0.1025, allocations: 4 kB / 429.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.1026, allocations: 15.8 kB / 429.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.83e-05/0.1027, allocations: 43.62 kB / 429.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.1029, allocations: 51.81 kB / 429.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.1031, allocations: 143.3 kB / 430.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1032, allocations: 29.11 kB / 430.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.861e-05/0.1033, allocations: 51.84 kB / 430.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.422e-05/0.1034, allocations: 59.7 kB / 430.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.1034, allocations: 8 kB / 430.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.793e-05/0.1035, allocations: 24 kB / 430.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.1035, allocations: 31.84 kB / 430.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.605e-05/0.1036, allocations: 67.61 kB / 430.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.1038, allocations: 143.4 kB / 430.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1038, allocations: 0 / 430.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1038, allocations: 0 / 430.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.936e-06/0.1038, allocations: 0 / 430.5 MB, free: 1.113 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.0007424/0.1045, allocations: 450.8 kB / 430.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1046, allocations: 8.031 kB / 430.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.1047, allocations: 32.88 kB / 431 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.105, allocations: 197.7 kB / 431.2 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.105, allocations: 12.38 kB / 431.2 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.105, allocations: 8.375 kB / 431.2 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.1053, allocations: 125.5 kB / 431.3 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1054, allocations: 7.938 kB / 431.3 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1054, allocations: 0 / 431.3 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.1054, allocations: 4 kB / 431.3 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.1057, allocations: 91.92 kB / 431.4 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009534/0.1066, allocations: 0.5205 MB / 431.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.1069, allocations: 90.61 kB / 432 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.1071, allocations: 44.83 kB / 432.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.1071, allocations: 7.938 kB / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1071, allocations: 34.56 kB / 432.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.1071, allocations: 0 / 432.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004585/0.1076, allocations: 149.7 kB / 432.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.1076, allocations: 55.34 kB / 432.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.1078, allocations: 129.8 kB / 432.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.1078, allocations: 33.7 kB / 432.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.774e-05/0.1079, allocations: 112.2 kB / 432.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.1079, allocations: 35.69 kB / 432.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.108, allocations: 25.72 kB / 432.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1081, allocations: 322.8 kB / 432.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.1082, allocations: 39.97 kB / 433 MB, free: 14.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.1084, allocations: 71.78 kB / 433.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.1086, allocations: 103.3 kB / 433.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1086, allocations: 0 / 433.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003287/0.109, allocations: 157.4 kB / 433.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.109, allocations: 13.97 kB / 433.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.109, allocations: 0 / 433.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.109, allocations: 0 / 433.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.1092, allocations: 35.92 kB / 433.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1092, allocations: 0 / 433.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.501e-05/0.1093, allocations: 15.98 kB / 433.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1093, allocations: 4.094 kB / 433.4 MB, free: 13.96 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 (14): * Single equations (assignments): 14 * 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 9.85e-05/0.1094, allocations: 121.8 kB / 433.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.1094, allocations: 11.89 kB / 433.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.1094, allocations: 12.66 kB / 433.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.1094, allocations: 7.984 kB / 433.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1095, allocations: 0 / 433.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1095, allocations: 0 / 433.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.1097, allocations: 221.4 kB / 433.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1097, allocations: 0 / 433.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.1099, allocations: 35.97 kB / 433.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1099, allocations: 0 / 433.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1099, allocations: 4 kB / 433.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1099, allocations: 3.984 kB / 433.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1099, allocations: 4 kB / 433.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/0.1104, allocations: 259.3 kB / 434 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.1104, allocations: 89.09 kB / 434.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.1105, allocations: 3.938 kB / 434.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.1106, allocations: 8 kB / 434.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.1106, allocations: 7.984 kB / 434.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.1106, allocations: 0 / 434.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.949e-05/0.1107, allocations: 107.2 kB / 434.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1107, allocations: 0 / 434.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.111, allocations: 35.89 kB / 434.3 MB, free: 12.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,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 (9): * Single equations (assignments): 9 * 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.0001053/0.1111, allocations: 103.2 kB / 434.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.1114, allocations: 83.89 kB / 434.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1114, allocations: 96 / 434.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.1115, allocations: 55.84 kB / 434.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.1118, allocations: 22.52 kB / 434.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007824/0.1126, allocations: 463.1 kB / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.1129, allocations: 0.7041 MB / 435.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.343e-05/0.113, allocations: 8.562 kB / 435.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.113, allocations: 15.44 kB / 435.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.113, allocations: 0 / 435.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of Templates: time 0.003979/0.117, allocations: 1.222 MB / 437 MB, free: 10.25 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.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.405632157810032]