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.001014/0.001014, allocations: 85.95 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001022/0.001022, allocations: 162.2 kB / 25.61 MB, free: 8.91 MB / 18.57 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 0.9419/0.9419, allocations: 158.6 MB / 187.5 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] 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.733e-06/1.733e-06, allocations: 0 / 251.4 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.624e-05, allocations: 6.25 kB / 251.4 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002138/0.002154, allocations: 1.799 MB / 253.2 MB, free: 5.461 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009135/0.003067, allocations: 0.6708 MB / 253.9 MB, free: 4.781 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.675e-05/0.003144, allocations: 4 kB / 253.9 MB, free: 4.777 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.003255, allocations: 15.8 kB / 253.9 MB, free: 4.762 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.024e-05/0.003315, allocations: 39.64 kB / 254 MB, free: 4.723 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.003532, allocations: 55.73 kB / 254 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.003675, allocations: 123.3 kB / 254.2 MB, free: 4.547 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.003804, allocations: 15.98 kB / 254.2 MB, free: 4.531 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.003893, allocations: 71.81 kB / 254.2 MB, free: 4.461 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.003996, allocations: 39.89 kB / 254.3 MB, free: 4.422 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.004019, allocations: 8 kB / 254.3 MB, free: 4.414 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.125e-05/0.00409, allocations: 16 kB / 254.3 MB, free: 4.398 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.004115, allocations: 23.91 kB / 254.3 MB, free: 4.375 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.004153, allocations: 35.92 kB / 254.4 MB, free: 4.34 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.004355, allocations: 99.66 kB / 254.5 MB, free: 4.242 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.004358, allocations: 0 / 254.5 MB, free: 4.242 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.004358, allocations: 0 / 254.5 MB, free: 4.242 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004363, allocations: 0 / 254.5 MB, free: 4.242 MB / 234.7 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.0004296/0.004792, allocations: 436.2 kB / 254.9 MB, free: 3.781 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.00483, allocations: 19.98 kB / 254.9 MB, free: 3.762 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.004969, allocations: 36.88 kB / 254.9 MB, free: 3.727 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.005122, allocations: 136.5 kB / 255.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.005134, allocations: 4.562 kB / 255.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.005156, allocations: 12.38 kB / 255.1 MB, free: 3.551 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.005259, allocations: 74.28 kB / 255.2 MB, free: 3.473 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.00527, allocations: 4 kB / 255.2 MB, free: 3.469 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.00528, allocations: 7.984 kB / 255.2 MB, free: 3.461 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.005288, allocations: 7.984 kB / 255.2 MB, free: 3.453 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.481e-05/0.005343, allocations: 31.91 kB / 255.2 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/0.005925, allocations: 407.3 kB / 255.6 MB, free: 2.992 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.006081, allocations: 74.98 kB / 255.7 MB, free: 2.906 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.006103, allocations: 19.72 kB / 255.7 MB, free: 2.883 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.006112, allocations: 0 / 255.7 MB, free: 2.883 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.006135, allocations: 41.39 kB / 255.7 MB, free: 2.832 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.006136, allocations: 4 kB / 255.7 MB, free: 2.828 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001527/0.006289, allocations: 69.64 kB / 255.8 MB, free: 2.754 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.006315, allocations: 51.41 kB / 255.9 MB, free: 2.691 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.284e-05/0.006398, allocations: 185.9 kB / 256 MB, free: 2.492 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.006409, allocations: 29.64 kB / 256.1 MB, free: 2.457 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.006469, allocations: 154.7 kB / 256.2 MB, free: 2.301 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.00649, allocations: 35.72 kB / 256.3 MB, free: 2.266 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.006525, allocations: 31.38 kB / 256.3 MB, free: 2.227 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.006677, allocations: 0.4922 MB / 256.8 MB, free: 1.723 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/0.006697, allocations: 8 kB / 256.8 MB, free: 1.715 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-05/0.006743, allocations: 54.36 kB / 256.8 MB, free: 1.648 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.045e-05/0.006814, allocations: 78.61 kB / 256.9 MB, free: 1.555 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.006816, allocations: 0 / 256.9 MB, free: 1.555 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001087/0.006925, allocations: 93.52 kB / 257 MB, free: 1.457 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.006942, allocations: 4 kB / 257 MB, free: 1.453 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.006949, allocations: 4 kB / 257 MB, free: 1.449 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.006965, allocations: 0 / 257 MB, free: 1.449 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.924e-05/0.007044, allocations: 24.08 kB / 257 MB, free: 1.426 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.00705, allocations: 8 kB / 257 MB, free: 1.418 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/0.00708, allocations: 7.891 kB / 257.1 MB, free: 1.41 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.007086, allocations: 4 kB / 257.1 MB, free: 1.406 MB / 234.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 (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 7.851e-05/0.007165, allocations: 172.4 kB / 257.2 MB, free: 1.227 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.007185, allocations: 11.95 kB / 257.2 MB, free: 1.215 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.007224, allocations: 8.438 kB / 257.2 MB, free: 1.207 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.007227, allocations: 4 kB / 257.3 MB, free: 1.203 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.007229, allocations: 0 / 257.3 MB, free: 1.203 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.007233, allocations: 0 / 257.3 MB, free: 1.203 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.007352, allocations: 117.2 kB / 257.4 MB, free: 1.062 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.007353, allocations: 4 kB / 257.4 MB, free: 1.059 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.854e-05/0.007422, allocations: 23.98 kB / 257.4 MB, free: 1.035 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.007424, allocations: 0 / 257.4 MB, free: 1.035 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.007437, allocations: 8 kB / 257.4 MB, free: 1.027 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.007438, allocations: 0 / 257.4 MB, free: 1.027 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.007441, allocations: 4 kB / 257.4 MB, free: 1.023 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.007612, allocations: 235.7 kB / 257.6 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.007623, allocations: 11.89 kB / 257.6 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.007634, allocations: 0 / 257.6 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.371e-05/0.007668, allocations: 3.938 kB / 257.7 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.007682, allocations: 11.98 kB / 257.7 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.007686, allocations: 4 kB / 257.7 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.26e-05/0.007728, allocations: 135.2 kB / 257.8 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007728, allocations: 0 / 257.8 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001513/0.00788, allocations: 23.95 kB / 257.8 MB, free: 0.5859 MB / 234.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 (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 7.798e-05/0.007958, allocations: 95.25 kB / 257.9 MB, free: 496 kB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.676e-05/0.008044, allocations: 47.59 kB / 258 MB, free: 444 kB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008046, allocations: 3.938 kB / 258 MB, free: 440 kB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.348e-05/0.00807, allocations: 32.23 kB / 258 MB, free: 404 kB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.008286, allocations: 28.11 kB / 258 MB, free: 376 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/0.008945, allocations: 357.5 kB / 258.4 MB, free: 15.98 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.601e-05/0.008981, allocations: 67.28 kB / 258.4 MB, free: 15.9 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.455e-05/0.009016, allocations: 8.5 kB / 258.4 MB, free: 15.89 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.00908, allocations: 82.19 kB / 258.5 MB, free: 15.81 MB / 250.7 MB Notification: Performance of SimCode: time 7.21e-07/0.009081, allocations: 0 / 258.5 MB, free: 15.81 MB / 250.7 MB Notification: Performance of Templates: time 0.002564/0.01164, allocations: 1.024 MB / 259.6 MB, free: 14.8 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5143976570107043]