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.00144/0.00144, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001584/0.001584, allocations: 156.9 kB / 24.26 MB, free: 168 kB / 18.57 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.513/1.513, allocations: 177 MB / 204.4 MB, free: 5.598 MB / 186.7 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 1.102e-06/1.102e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.408e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003925/0.003949, allocations: 1.949 MB / 274.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.005236, allocations: 0.6312 MB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.005338, allocations: 7.938 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.005482, allocations: 15.84 kB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.005586, allocations: 47.58 kB / 274.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.005864, allocations: 59.72 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.006093, allocations: 147.2 kB / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.006214, allocations: 25.28 kB / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.006359, allocations: 75.81 kB / 275.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.946e-05/0.006458, allocations: 47.88 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.006485, allocations: 12 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-05/0.006568, allocations: 24 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.006603, allocations: 23.91 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.006675, allocations: 43.84 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.006969, allocations: 155.5 kB / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.006973, allocations: 0 / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006974, allocations: 0 / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.006978, allocations: 0 / 275.4 MB, free: 14.53 MB / 266.7 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.0008131/0.007791, allocations: 369.6 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.007841, allocations: 19.98 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002822/0.008123, allocations: 32.88 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.008461, allocations: 141.5 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.00848, allocations: 8.375 kB / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.008528, allocations: 12.38 kB / 276 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.008859, allocations: 114.1 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.008876, allocations: 4.188 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.008896, allocations: 7.938 kB / 276.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.008907, allocations: 8 kB / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.009223, allocations: 91.88 kB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.01023, allocations: 423.2 kB / 276.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.01061, allocations: 110.5 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.01075, allocations: 36.88 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.01077, allocations: 8 kB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002802/0.01105, allocations: 30.56 kB / 276.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.01105, allocations: 0 / 276.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005233/0.01158, allocations: 157.8 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.01163, allocations: 59.34 kB / 277 MB, free: 12.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.01177, allocations: 133.8 kB / 277.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.0118, allocations: 29.7 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.719e-05/0.01189, allocations: 108.2 kB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.01193, allocations: 39.69 kB / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.012, allocations: 29.7 kB / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.0122, allocations: 314.8 kB / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.01234, allocations: 43.97 kB / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.01249, allocations: 71.03 kB / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.01276, allocations: 107.3 kB / 277.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01276, allocations: 0 / 277.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003941/0.01316, allocations: 157.4 kB / 278 MB, free: 11.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.01317, allocations: 6.812 kB / 278 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01318, allocations: 96 / 278 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.01321, allocations: 11.94 kB / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.01338, allocations: 31.92 kB / 278.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.01339, allocations: 4 kB / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.01349, allocations: 15.92 kB / 278.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.01351, allocations: 4 kB / 278.1 MB, free: 11.64 MB / 266.7 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.0001291/0.01364, allocations: 121.8 kB / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.01368, allocations: 15.91 kB / 278.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.01373, allocations: 16.77 kB / 278.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.01374, allocations: 7.938 kB / 278.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.01375, allocations: 4 kB / 278.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.01375, allocations: 0 / 278.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.01399, allocations: 141.3 kB / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01399, allocations: 0 / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.01418, allocations: 31.97 kB / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.01418, allocations: 0 / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.0142, allocations: 0 / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.0142, allocations: 4 kB / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.01421, allocations: 3.938 kB / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005467/0.01475, allocations: 259.4 kB / 278.7 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.01477, allocations: 7.906 kB / 278.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.0148, allocations: 12.03 kB / 278.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.01493, allocations: 4 kB / 278.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.01499, allocations: 7.922 kB / 278.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.01499, allocations: 7.938 kB / 278.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.562e-05/0.01509, allocations: 99.27 kB / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01509, allocations: 4 kB / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002832/0.01537, allocations: 27.94 kB / 278.9 MB, free: 10.83 MB / 266.7 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.000136/0.01551, allocations: 107.2 kB / 279 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003277/0.01583, allocations: 87.89 kB / 279.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01584, allocations: 0 / 279.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.01597, allocations: 43.91 kB / 279.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.01631, allocations: 20.17 kB / 279.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008306/0.01714, allocations: 388.2 kB / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.01725, allocations: 101 kB / 279.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.727e-05/0.01731, allocations: 4.5 kB / 279.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/0.01736, allocations: 12.5 kB / 279.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01736, allocations: 4 kB / 279.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of Templates: time 0.004411/0.02177, allocations: 1.22 MB / 280.8 MB, free: 8.832 MB / 266.7 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.407458629924804]