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.001587/0.001587, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.00171/0.00171, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.465/1.465, allocations: 230.2 MB / 255.1 MB, free: 15.22 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.001833/0.001833, allocations: 55.91 kB / 374.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09955/0.1014, allocations: 53.31 MB / 427.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003516/0.1049, allocations: 2.002 MB / 429.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1061, allocations: 0.6935 MB / 430.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.28e-05/0.1062, allocations: 0 / 430.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.1063, allocations: 19.8 kB / 430.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.843e-05/0.1064, allocations: 51.56 kB / 430.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.1067, allocations: 51.8 kB / 430.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.1069, allocations: 151.3 kB / 430.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.107, allocations: 21.11 kB / 430.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.833e-05/0.1071, allocations: 47.86 kB / 430.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1072, allocations: 67.62 kB / 430.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.1072, allocations: 8 kB / 430.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.219e-05/0.1073, allocations: 27.98 kB / 430.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/0.1074, allocations: 27.92 kB / 431 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.242e-05/0.1074, allocations: 59.67 kB / 431 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.1077, allocations: 143.4 kB / 431.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1077, allocations: 4 kB / 431.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1077, allocations: 0 / 431.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.1077, allocations: 0 / 431.2 MB, free: 1.094 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.0007375/0.1085, allocations: 442.8 kB / 431.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1085, allocations: 8.031 kB / 431.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.1087, allocations: 32.86 kB / 431.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.109, allocations: 204.1 kB / 431.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.109, allocations: 4.375 kB / 431.9 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.109, allocations: 16.36 kB / 431.9 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.1093, allocations: 121.5 kB / 432 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1094, allocations: 0 / 432 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1094, allocations: 8 kB / 432 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1094, allocations: 4 kB / 432 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.1097, allocations: 91.86 kB / 432.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009638/0.1106, allocations: 0.5128 MB / 432.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.111, allocations: 102.6 kB / 432.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.1111, allocations: 40.88 kB / 432.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.1111, allocations: 3.938 kB / 432.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.1112, allocations: 34.69 kB / 432.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.1112, allocations: 0 / 432.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004807/0.1116, allocations: 153.8 kB / 432.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.1117, allocations: 55.41 kB / 433 MB, free: 15.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.1118, allocations: 132.3 kB / 433.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1118, allocations: 29.64 kB / 433.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.972e-05/0.1119, allocations: 116.2 kB / 433.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.112, allocations: 39.69 kB / 433.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.112, allocations: 29.7 kB / 433.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1122, allocations: 322.8 kB / 433.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.1123, allocations: 35.97 kB / 433.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1125, allocations: 67.41 kB / 433.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.1127, allocations: 111.3 kB / 433.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1127, allocations: 0 / 433.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003499/0.1131, allocations: 157.3 kB / 434 MB, free: 14.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1131, allocations: 8.094 kB / 434 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1131, allocations: 4 kB / 434 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1131, allocations: 0 / 434 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.1133, allocations: 31.98 kB / 434 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.1133, allocations: 7.984 kB / 434.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/0.1134, allocations: 8 kB / 434.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1134, allocations: 4 kB / 434.1 MB, free: 13.95 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 0.0001193/0.1135, allocations: 121.8 kB / 434.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.1135, allocations: 15.89 kB / 434.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.1136, allocations: 20.7 kB / 434.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1136, allocations: 0 / 434.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1136, allocations: 0 / 434.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.1136, allocations: 4 kB / 434.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.1139, allocations: 217.4 kB / 434.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1139, allocations: 0 / 434.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.114, allocations: 23.98 kB / 434.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.114, allocations: 4 kB / 434.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.114, allocations: 0 / 434.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1141, allocations: 3.984 kB / 434.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1141, allocations: 4 kB / 434.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/0.1146, allocations: 267.3 kB / 434.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.1146, allocations: 85 kB / 434.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.1146, allocations: 4 kB / 434.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1148, allocations: 12.03 kB / 434.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.1148, allocations: 4.094 kB / 434.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.1148, allocations: 7.938 kB / 434.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.524e-05/0.1149, allocations: 109.3 kB / 434.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1149, allocations: 3.938 kB / 435 MB, free: 12.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1152, allocations: 35.89 kB / 435 MB, free: 12.92 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.0001162/0.1153, allocations: 95.25 kB / 435.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003296/0.1156, allocations: 95.88 kB / 435.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1156, allocations: 0 / 435.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.1157, allocations: 39.92 kB / 435.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1161, allocations: 19.92 kB / 435.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008654/0.1169, allocations: 489 kB / 435.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.1173, allocations: 0.7119 MB / 436.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.1173, allocations: 15.44 kB / 436.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1173, allocations: 0 / 436.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of Templates: time 0.003518/0.1209, allocations: 1.58 MB / 438 MB, free: 9.836 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.791256166994572]