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.001649/0.001649, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001464/0.001464, allocations: 160 kB / 24.49 MB, free: 3.453 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.492/1.492, allocations: 177.1 MB / 204.7 MB, free: 8.98 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.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.001972/0.001972, allocations: 61.22 kB / 325.5 MB, free: 212 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09871/0.1007, allocations: 53.39 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.004552/0.1052, allocations: 1.935 MB / 380.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1068, allocations: 0.6468 MB / 381.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.107, allocations: 4 kB / 381.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.1071, allocations: 19.78 kB / 381.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.1073, allocations: 39.64 kB / 381.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.1076, allocations: 55.8 kB / 381.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.1079, allocations: 139.3 kB / 381.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.1081, allocations: 29.28 kB / 381.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1082, allocations: 55.73 kB / 381.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.1083, allocations: 55.77 kB / 381.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.1084, allocations: 8 kB / 381.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1085, allocations: 23.98 kB / 381.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/0.1085, allocations: 31.84 kB / 381.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.1086, allocations: 47.8 kB / 382 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.1089, allocations: 155.3 kB / 382.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1089, allocations: 0 / 382.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1089, allocations: 0 / 382.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1089, allocations: 0 / 382.1 MB, free: 12.23 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.0008302/0.1098, allocations: 365.7 kB / 382.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1098, allocations: 15.98 kB / 382.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.11, allocations: 24.88 kB / 382.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.1104, allocations: 146.3 kB / 382.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.1104, allocations: 8.375 kB / 382.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.1104, allocations: 8.375 kB / 382.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.1108, allocations: 117.6 kB / 382.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1108, allocations: 0 / 382.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.1108, allocations: 11.94 kB / 382.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.1108, allocations: 7.984 kB / 382.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.1111, allocations: 92.52 kB / 382.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009618/0.1121, allocations: 423.2 kB / 383.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.1124, allocations: 102.6 kB / 383.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.1125, allocations: 36.84 kB / 383.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.1126, allocations: 192 / 383.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.1126, allocations: 46.42 kB / 383.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1126, allocations: 0 / 383.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005061/0.1131, allocations: 149.5 kB / 383.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.1131, allocations: 55.41 kB / 383.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.1133, allocations: 136.5 kB / 383.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1133, allocations: 25.7 kB / 383.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.1134, allocations: 112.2 kB / 384 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.1134, allocations: 39.72 kB / 384 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.1135, allocations: 25.72 kB / 384 MB, free: 10.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1137, allocations: 322.8 kB / 384.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.1138, allocations: 39.91 kB / 384.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.1139, allocations: 67.41 kB / 384.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.1142, allocations: 111.3 kB / 384.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1142, allocations: 0 / 384.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003584/0.1145, allocations: 149.4 kB / 384.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1146, allocations: 4 kB / 384.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.1146, allocations: 12.08 kB / 384.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1146, allocations: 0 / 384.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.1148, allocations: 27.98 kB / 384.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1148, allocations: 8 kB / 384.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.1149, allocations: 15.92 kB / 384.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1149, allocations: 7.938 kB / 384.8 MB, free: 9.375 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 (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.0001175/0.115, allocations: 125.8 kB / 384.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.115, allocations: 15.84 kB / 384.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/0.1151, allocations: 13.16 kB / 384.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1151, allocations: 8 kB / 385 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1151, allocations: 0 / 385 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1151, allocations: 0 / 385 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.1153, allocations: 145.2 kB / 385.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1153, allocations: 0 / 385.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.1155, allocations: 27.98 kB / 385.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.1155, allocations: 3.938 kB / 385.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1155, allocations: 0 / 385.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1155, allocations: 0 / 385.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1155, allocations: 0 / 385.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.1161, allocations: 263.4 kB / 385.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.361e-05/0.1161, allocations: 15.91 kB / 385.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1161, allocations: 3.938 kB / 385.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.1162, allocations: 12.03 kB / 385.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.1163, allocations: 7.984 kB / 385.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.1163, allocations: 0 / 385.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.984e-05/0.1164, allocations: 107.2 kB / 385.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1164, allocations: 0 / 385.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1166, allocations: 27.94 kB / 385.6 MB, free: 8.559 MB / 350.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.0001181/0.1168, allocations: 99.25 kB / 385.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003373/0.1171, allocations: 87.88 kB / 385.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1171, allocations: 0 / 385.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.1172, allocations: 47.91 kB / 385.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.1176, allocations: 20.55 kB / 385.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009204/0.1185, allocations: 468.5 kB / 386.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.785e-05/0.1186, allocations: 97.17 kB / 386.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.936e-05/0.1186, allocations: 12.42 kB / 386.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.1187, allocations: 16.5 kB / 386.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1187, allocations: 4 kB / 386.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of Templates: time 0.0047/0.1234, allocations: 1.212 MB / 387.6 MB, free: 6.488 MB / 350.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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/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.235266100964509]