Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 89.48 kB / 21.44 MB, free: 276 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 161.2 kB / 24.7 MB, free: 3.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 158.6 MB / 186.5 MB, free: 6.379 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 3.938 kB / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.33e-05/3.52e-05, allocations: 2.281 kB / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003156/0.003192, allocations: 1.712 MB / 300.6 MB, free: 7.008 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.004347, allocations: 0.6359 MB / 301.3 MB, free: 6.363 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.205e-05/0.004429, allocations: 3.938 kB / 301.3 MB, free: 6.359 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.004539, allocations: 15.86 kB / 301.3 MB, free: 6.344 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.803e-05/0.004627, allocations: 43.69 kB / 301.3 MB, free: 6.301 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.004882, allocations: 43.77 kB / 301.4 MB, free: 6.258 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.005083, allocations: 127.3 kB / 301.5 MB, free: 6.133 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.005208, allocations: 23.92 kB / 301.5 MB, free: 6.109 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.005312, allocations: 63.88 kB / 301.6 MB, free: 6.047 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.866e-05/0.005411, allocations: 31.91 kB / 301.6 MB, free: 6.016 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.005439, allocations: 11.94 kB / 301.6 MB, free: 6.004 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.729e-05/0.005526, allocations: 27.98 kB / 301.7 MB, free: 5.977 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.372e-05/0.00556, allocations: 31.84 kB / 301.7 MB, free: 5.945 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.005611, allocations: 31.92 kB / 301.7 MB, free: 5.914 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.005859, allocations: 131.6 kB / 301.9 MB, free: 5.785 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.005862, allocations: 0 / 301.9 MB, free: 5.785 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005863, allocations: 0 / 301.9 MB, free: 5.785 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.005869, allocations: 0 / 301.9 MB, free: 5.785 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006154/0.006484, allocations: 338 kB / 302.2 MB, free: 5.426 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.006523, allocations: 11.98 kB / 302.2 MB, free: 5.414 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.00672, allocations: 24.88 kB / 302.2 MB, free: 5.391 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.007001, allocations: 145.5 kB / 302.4 MB, free: 5.223 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.007021, allocations: 8.562 kB / 302.4 MB, free: 5.215 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.007063, allocations: 8.375 kB / 302.4 MB, free: 5.207 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.007273, allocations: 98.33 kB / 302.5 MB, free: 5.105 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.007288, allocations: 0 / 302.5 MB, free: 5.105 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.007304, allocations: 4 kB / 302.5 MB, free: 5.102 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.007313, allocations: 4 kB / 302.5 MB, free: 5.098 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.007452, allocations: 51.97 kB / 302.5 MB, free: 5.047 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000764/0.008216, allocations: 387.5 kB / 302.9 MB, free: 4.629 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.008503, allocations: 82.53 kB / 303 MB, free: 4.539 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.008555, allocations: 24.89 kB / 303 MB, free: 4.512 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.008566, allocations: 0 / 303 MB, free: 4.512 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.008596, allocations: 34.56 kB / 303.1 MB, free: 4.469 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.008597, allocations: 0 / 303.1 MB, free: 4.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.000283/0.008881, allocations: 89.64 kB / 303.1 MB, free: 4.375 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.008925, allocations: 59.34 kB / 303.2 MB, free: 4.305 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.009035, allocations: 121.8 kB / 303.3 MB, free: 4.176 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.009058, allocations: 29.7 kB / 303.4 MB, free: 4.141 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.484e-05/0.009143, allocations: 116.1 kB / 303.5 MB, free: 4.023 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.009176, allocations: 27.75 kB / 303.5 MB, free: 3.996 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.00923, allocations: 29.7 kB / 303.5 MB, free: 3.961 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.009396, allocations: 322.8 kB / 303.8 MB, free: 3.637 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.843e-05/0.009444, allocations: 24 kB / 303.9 MB, free: 3.613 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.906e-05/0.009523, allocations: 55.42 kB / 303.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.00965, allocations: 83.3 kB / 304 MB, free: 3.453 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.009653, allocations: 4 kB / 304 MB, free: 3.449 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001898/0.009842, allocations: 109.5 kB / 304.1 MB, free: 3.336 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.009856, allocations: 4 kB / 304.1 MB, free: 3.332 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.009861, allocations: 0 / 304.1 MB, free: 3.332 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.009883, allocations: 4 kB / 304.1 MB, free: 3.328 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.01, allocations: 27.98 kB / 304.1 MB, free: 3.301 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.01001, allocations: 0 / 304.1 MB, free: 3.301 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.946e-05/0.01007, allocations: 11.89 kB / 304.2 MB, free: 3.289 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.01008, allocations: 4.312 kB / 304.2 MB, free: 3.285 MB / 286.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 (13): * Single equations (assignments): 13 * 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.0001129/0.01019, allocations: 133.8 kB / 304.3 MB, free: 3.145 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.01023, allocations: 7.953 kB / 304.3 MB, free: 3.137 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.01026, allocations: 12.42 kB / 304.3 MB, free: 3.129 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.01027, allocations: 4 kB / 304.3 MB, free: 3.125 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01027, allocations: 0 / 304.3 MB, free: 3.125 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01027, allocations: 0 / 304.3 MB, free: 3.125 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.01048, allocations: 137.2 kB / 304.4 MB, free: 2.961 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01048, allocations: 0 / 304.4 MB, free: 2.961 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.01061, allocations: 20 kB / 304.5 MB, free: 2.941 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.01062, allocations: 0 / 304.5 MB, free: 2.941 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.01063, allocations: 0 / 304.5 MB, free: 2.941 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.01063, allocations: 7.984 kB / 304.5 MB, free: 2.934 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01063, allocations: 0 / 304.5 MB, free: 2.934 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.01091, allocations: 215.8 kB / 304.7 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.01092, allocations: 7.953 kB / 304.7 MB, free: 2.699 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.01094, allocations: 4 kB / 304.7 MB, free: 2.695 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/0.01102, allocations: 0 / 304.7 MB, free: 2.695 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.01104, allocations: 7.984 kB / 304.7 MB, free: 2.688 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.01105, allocations: 0 / 304.7 MB, free: 2.688 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.417e-05/0.01111, allocations: 95.31 kB / 304.8 MB, free: 2.594 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01111, allocations: 7.938 kB / 304.8 MB, free: 2.586 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000261/0.01137, allocations: 27.89 kB / 304.8 MB, free: 2.559 MB / 286.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 (8): * Single equations (assignments): 8 * 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.0001265/0.0115, allocations: 103.3 kB / 304.9 MB, free: 2.445 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.01168, allocations: 51.92 kB / 305 MB, free: 2.395 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01168, allocations: 0 / 305 MB, free: 2.395 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.624e-05/0.01174, allocations: 31.92 kB / 305 MB, free: 2.363 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.01211, allocations: 26.58 kB / 305 MB, free: 2.34 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007319/0.01284, allocations: 329.7 kB / 305.4 MB, free: 1.988 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.076e-05/0.01293, allocations: 96.06 kB / 305.5 MB, free: 1.875 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.606e-05/0.01298, allocations: 12.48 kB / 305.5 MB, free: 1.863 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.01301, allocations: 12.5 kB / 305.5 MB, free: 1.852 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01301, allocations: 0 / 305.5 MB, free: 1.852 MB / 286.1 MB Notification: Performance of Templates: time 0.00426/0.01727, allocations: 0.9198 MB / 306.4 MB, free: 0.9336 MB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.124475065618753]