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.001157/0.001157, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001907/0.003064, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001164/0.001164, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00168/0.002844, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9581/0.9581, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1461/1.104, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.723e-06/1.723e-06, allocations: 0 / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.999e-05, allocations: 2.312 kB / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002318/0.002338, allocations: 1.85 MB / 223.8 MB, free: 14.2 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006592/0.002997, allocations: 0.6864 MB / 224.5 MB, free: 13.51 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.003058, allocations: 4 kB / 224.5 MB, free: 13.5 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.322e-05/0.003131, allocations: 11.86 kB / 224.5 MB, free: 13.49 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.003187, allocations: 39.64 kB / 224.6 MB, free: 13.45 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001099/0.003297, allocations: 43.86 kB / 224.6 MB, free: 13.41 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.003428, allocations: 127.3 kB / 224.7 MB, free: 13.29 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.798e-05/0.003526, allocations: 27.97 kB / 224.8 MB, free: 13.26 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.288e-05/0.003619, allocations: 71.81 kB / 224.8 MB, free: 13.19 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.00372, allocations: 31.91 kB / 224.9 MB, free: 13.16 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.003739, allocations: 8 kB / 224.9 MB, free: 13.15 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.916e-05/0.003838, allocations: 27.98 kB / 224.9 MB, free: 13.12 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.639e-05/0.003864, allocations: 11.94 kB / 224.9 MB, free: 13.11 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.003901, allocations: 31.94 kB / 224.9 MB, free: 13.08 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.004102, allocations: 91.62 kB / 225 MB, free: 12.99 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-05/0.004119, allocations: 0 / 225 MB, free: 12.99 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.00412, allocations: 0 / 225 MB, free: 12.99 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.004134, allocations: 4 kB / 225 MB, free: 12.98 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.0004678/0.004602, allocations: 340.3 kB / 225.4 MB, free: 12.63 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.004633, allocations: 8.031 kB / 225.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.004819, allocations: 106 kB / 225.5 MB, free: 12.5 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.004954, allocations: 141.5 kB / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.004963, allocations: 4.562 kB / 225.6 MB, free: 12.33 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.004985, allocations: 12.38 kB / 225.6 MB, free: 12.32 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.41e-05/0.005079, allocations: 70.34 kB / 225.7 MB, free: 12.25 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.005089, allocations: 7.984 kB / 225.7 MB, free: 12.24 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.005098, allocations: 4 kB / 225.7 MB, free: 12.23 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.005105, allocations: 7.938 kB / 225.7 MB, free: 12.23 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.955e-05/0.005154, allocations: 27.92 kB / 225.7 MB, free: 12.2 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.005505, allocations: 303.2 kB / 226 MB, free: 11.88 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.005633, allocations: 62.53 kB / 226.1 MB, free: 11.81 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.00565, allocations: 12.86 kB / 226.1 MB, free: 11.79 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.005659, allocations: 8 kB / 226.1 MB, free: 11.79 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.005676, allocations: 30.56 kB / 226.2 MB, free: 11.75 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.005677, allocations: 0 / 226.2 MB, free: 11.75 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001172/0.005795, allocations: 73.98 kB / 226.2 MB, free: 11.67 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.005826, allocations: 55.39 kB / 226.3 MB, free: 11.6 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.071e-05/0.005886, allocations: 122.6 kB / 226.4 MB, free: 11.47 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.005896, allocations: 25.7 kB / 226.4 MB, free: 11.44 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/0.005938, allocations: 111.9 kB / 226.5 MB, free: 11.32 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.005958, allocations: 35.67 kB / 226.6 MB, free: 11.29 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.005994, allocations: 25.7 kB / 226.6 MB, free: 11.26 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.804e-05/0.006072, allocations: 334.8 kB / 226.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.006085, allocations: 8 kB / 226.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.006115, allocations: 43.39 kB / 227 MB, free: 10.86 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.057e-05/0.006165, allocations: 55.34 kB / 227 MB, free: 10.79 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.006168, allocations: 3.938 kB / 227 MB, free: 10.79 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.691e-05/0.006245, allocations: 81.55 kB / 227.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.006256, allocations: 4 kB / 227.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.006259, allocations: 4.094 kB / 227.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.006276, allocations: 4 kB / 227.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.006393, allocations: 31.92 kB / 227.2 MB, free: 10.66 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.006397, allocations: 4 kB / 227.2 MB, free: 10.66 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.006424, allocations: 11.89 kB / 227.2 MB, free: 10.64 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.00643, allocations: 4 kB / 227.2 MB, free: 10.64 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 5.772e-05/0.006487, allocations: 121.8 kB / 227.3 MB, free: 10.51 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.006502, allocations: 4 kB / 227.3 MB, free: 10.51 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.006529, allocations: 8.438 kB / 227.3 MB, free: 10.5 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.006531, allocations: 4 kB / 227.3 MB, free: 10.5 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.006535, allocations: 4 kB / 227.3 MB, free: 10.49 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.006539, allocations: 3.984 kB / 227.3 MB, free: 10.49 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.595e-05/0.006635, allocations: 97.73 kB / 227.4 MB, free: 10.38 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006636, allocations: 0 / 227.4 MB, free: 10.38 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.557e-05/0.006712, allocations: 23.98 kB / 227.4 MB, free: 10.35 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-06/0.006719, allocations: 7.953 kB / 227.4 MB, free: 10.34 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.00672, allocations: 0 / 227.4 MB, free: 10.34 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.006728, allocations: 4 kB / 227.4 MB, free: 10.34 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.00673, allocations: 4 kB / 227.4 MB, free: 10.34 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.00673, allocations: 0 / 227.4 MB, free: 10.34 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.006847, allocations: 171.4 kB / 227.6 MB, free: 10.15 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.006858, allocations: 8 kB / 227.6 MB, free: 10.14 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.386e-05/0.006892, allocations: 0 / 227.6 MB, free: 10.14 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.006908, allocations: 7.922 kB / 227.6 MB, free: 10.14 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.006912, allocations: 4 kB / 227.6 MB, free: 10.13 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.625e-05/0.006928, allocations: 20.78 kB / 227.7 MB, free: 10.11 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006928, allocations: 0 / 227.7 MB, free: 10.11 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001278/0.007056, allocations: 31.89 kB / 227.7 MB, free: 10.08 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.283e-05/0.007129, allocations: 76.42 kB / 227.8 MB, free: 9.996 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.322e-05/0.007202, allocations: 48.83 kB / 227.8 MB, free: 9.945 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.007207, allocations: 4 kB / 227.8 MB, free: 9.941 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.735e-05/0.007235, allocations: 32.72 kB / 227.8 MB, free: 9.906 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.007462, allocations: 217.8 kB / 228.1 MB, free: 9.652 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.009449, allocations: 288.3 kB / 228.3 MB, free: 9.344 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.776e-05/0.009486, allocations: 67.2 kB / 228.4 MB, free: 9.258 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.883e-05/0.009525, allocations: 16.52 kB / 228.4 MB, free: 9.242 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.009588, allocations: 71.3 kB / 228.5 MB, free: 9.172 MB / 234.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009589, allocations: 0 / 228.5 MB, free: 9.172 MB / 234.7 MB Notification: Performance of Templates: time 0.002592/0.01218, allocations: 1.146 MB / 229.6 MB, free: 8.035 MB / 234.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.546924367547035]