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.001897/0.001897, allocations: 82.66 kB / 20.49 MB, free: 1.391 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.00224/0.00224, allocations: 160 kB / 23.74 MB, free: 4.59 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.415/1.415, allocations: 177.1 MB / 204 MB, free: 9.25 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.002127/0.002127, allocations: 61.5 kB / 324.7 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1053, allocations: 53.38 MB / 378.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003225/0.1085, allocations: 1.946 MB / 380.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1096, allocations: 0.639 MB / 380.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.1097, allocations: 3.938 kB / 380.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.1098, allocations: 23.78 kB / 380.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.202e-05/0.1099, allocations: 39.64 kB / 380.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.1102, allocations: 51.86 kB / 380.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.1104, allocations: 147.3 kB / 381 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1105, allocations: 21.3 kB / 381 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1106, allocations: 83.69 kB / 381.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.537e-05/0.1107, allocations: 51.77 kB / 381.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.1107, allocations: 8 kB / 381.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.064e-05/0.1108, allocations: 27.98 kB / 381.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.277e-05/0.1108, allocations: 31.84 kB / 381.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.1109, allocations: 51.73 kB / 381.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.1111, allocations: 155.3 kB / 381.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1111, allocations: 3.938 kB / 381.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1111, allocations: 4 kB / 381.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1111, 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.0006762/0.1118, allocations: 361.7 kB / 381.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1119, allocations: 15.98 kB / 381.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.1121, allocations: 24.88 kB / 381.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.1123, allocations: 138.4 kB / 381.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1123, allocations: 8.375 kB / 381.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.1123, allocations: 20.31 kB / 382 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.1126, allocations: 117.6 kB / 382.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1126, allocations: 0 / 382.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1127, allocations: 0 / 382.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.1127, allocations: 4 kB / 382.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.113, allocations: 88.59 kB / 382.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008612/0.1138, allocations: 427.2 kB / 382.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.1142, allocations: 94.52 kB / 382.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.1143, allocations: 44.88 kB / 382.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.1143, allocations: 3.984 kB / 382.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1143, allocations: 38.5 kB / 382.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1143, allocations: 0 / 382.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000456/0.1148, allocations: 149.7 kB / 382.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.1148, allocations: 55.41 kB / 383 MB, free: 10.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.115, allocations: 132.6 kB / 383.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.115, allocations: 29.7 kB / 383.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.1151, allocations: 120.2 kB / 383.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.1151, allocations: 31.73 kB / 383.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/0.1151, allocations: 33.7 kB / 383.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1153, allocations: 322.8 kB / 383.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.1154, allocations: 43.92 kB / 383.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.1156, allocations: 75.64 kB / 383.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.1158, allocations: 103.3 kB / 383.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1158, allocations: 0 / 383.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003451/0.1162, allocations: 153.4 kB / 384 MB, free: 9.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1162, allocations: 11.94 kB / 384 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1162, allocations: 0 / 384 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1162, allocations: 0 / 384 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.1164, allocations: 39.91 kB / 384 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.1164, allocations: 4 kB / 384 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.865e-05/0.1165, allocations: 11.88 kB / 384 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1165, allocations: 8 kB / 384.1 MB, free: 9.629 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.0001011/0.1166, allocations: 125.9 kB / 384.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.1167, allocations: 19.84 kB / 384.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.092e-05/0.1167, allocations: 8.781 kB / 384.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1167, allocations: 4 kB / 384.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1167, allocations: 0 / 384.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1167, allocations: 0 / 384.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.1169, allocations: 137.3 kB / 384.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1169, allocations: 0 / 384.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.1171, allocations: 35.91 kB / 384.4 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1171, allocations: 3.938 kB / 384.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1171, allocations: 8 kB / 384.4 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1171, allocations: 0 / 384.4 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1171, allocations: 4 kB / 384.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.1176, allocations: 255.4 kB / 384.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.1176, allocations: 15.91 kB / 384.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.1176, allocations: 3.938 kB / 384.7 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.1178, allocations: 4 kB / 384.7 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.1178, allocations: 15.98 kB / 384.7 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.1178, allocations: 0 / 384.7 MB, free: 8.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.21e-05/0.1179, allocations: 103.2 kB / 384.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1179, allocations: 0 / 384.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.1182, allocations: 31.94 kB / 384.8 MB, free: 8.812 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.0001106/0.1183, allocations: 95.25 kB / 384.9 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.1186, allocations: 91.81 kB / 385 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1186, allocations: 4.281 kB / 385 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.1187, allocations: 43.92 kB / 385 MB, free: 8.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.119, allocations: 22.8 kB / 385.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008081/0.1198, allocations: 460.6 kB / 385.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.903e-05/0.1199, allocations: 105.1 kB / 385.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.631e-05/0.12, allocations: 12.48 kB / 385.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.12, allocations: 16.5 kB / 385.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.12, allocations: 0 / 385.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of Templates: time 0.004211/0.1243, allocations: 1.207 MB / 386.9 MB, free: 6.746 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 -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.297757510095835]