Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.001117/0.001117, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001707/0.002824, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007214/0.0007214, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001054/0.001775, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9443/0.9443, allocations: 177.5 MB / 190 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08615/1.03, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.357e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01155/0.01157, allocations: 10.02 MB / 255.2 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007244/0.01882, allocations: 3.387 MB / 258.6 MB, free: 100 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001819/0.02064, allocations: 75.5 kB / 258.7 MB, free: 24 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.02257, allocations: 0.7218 MB / 259.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002843/0.02542, allocations: 0.9118 MB / 260.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000995/0.02641, allocations: 435.2 kB / 260.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003308/0.02972, allocations: 3.116 MB / 263.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001843/0.03156, allocations: 1.368 MB / 265.2 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.03419, allocations: 2.464 MB / 267.7 MB, free: 6.887 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.0356, allocations: 1.524 MB / 269.2 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004223/0.03602, allocations: 348 kB / 269.6 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008726/0.03689, allocations: 463.7 kB / 270 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005626/0.03746, allocations: 0.8338 MB / 270.8 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008744/0.03833, allocations: 0.8929 MB / 271.7 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.04087, allocations: 2.426 MB / 274.2 MB, free: 412 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.269e-05/0.04088, allocations: 4 kB / 274.2 MB, free: 408 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.04088, allocations: 0 / 274.2 MB, free: 408 kB / 266.7 MB Notification: Performance of Transformations before backend: time 4.064e-05/0.04093, allocations: 0 / 274.2 MB, free: 408 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.1124/0.1533, allocations: 3.589 MB / 277.8 MB, free: 19.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1533, allocations: 10.98 kB / 277.8 MB, free: 19.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.1543, allocations: 0.5211 MB / 278.3 MB, free: 19.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.1564, allocations: 1.219 MB / 279.5 MB, free: 19.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.1565, allocations: 174.6 kB / 279.7 MB, free: 19.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002651/0.1567, allocations: 237.5 kB / 279.9 MB, free: 19.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.1592, allocations: 1.796 MB / 281.7 MB, free: 18.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.003e-05/0.1592, allocations: 8.594 kB / 281.7 MB, free: 18.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.1593, allocations: 95.84 kB / 281.8 MB, free: 18.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-05/0.1594, allocations: 105.8 kB / 281.9 MB, free: 18.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.1607, allocations: 0.6892 MB / 282.6 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007552/0.1682, allocations: 6.248 MB / 288.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008577/0.1691, allocations: 0.7544 MB / 289.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005388/0.1696, allocations: 467.9 kB / 290.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.1698, allocations: 60 kB / 290.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.1698, allocations: 43.41 kB / 290.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 4.278e-06/0.1698, allocations: 3.625 kB / 290.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.004356/0.1742, allocations: 2.675 MB / 292.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.1742, allocations: 68.72 kB / 292.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006541/0.1749, allocations: 1.149 MB / 294.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.533e-05/0.1749, allocations: 45.7 kB / 294.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.1751, allocations: 0.9707 MB / 295.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.1753, allocations: 472.3 kB / 295.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.1755, allocations: 267.4 kB / 295.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.563e-05/0.1755, allocations: 301.1 kB / 296.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.1757, allocations: 182.8 kB / 296.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.176, allocations: 0.5595 MB / 296.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006157/0.1767, allocations: 0.9668 MB / 297.8 MB, free: 9.539 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.1767, allocations: 4 kB / 297.8 MB, free: 9.535 MB / 266.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001085/0.1777, allocations: 1.045 MB / 298.8 MB, free: 8.543 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1778, allocations: 11.98 kB / 298.8 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.1778, allocations: 15.94 kB / 298.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004263/0.1782, allocations: 239 kB / 299.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006838/0.1789, allocations: 371.5 kB / 299.5 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.1809, allocations: 4.714 MB / 304.2 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.1816, allocations: 59.92 kB / 304.2 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/0.1816, allocations: 51.98 kB / 304.3 MB, free: 2.855 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000456/0.1821, allocations: 212.8 kB / 304.5 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.1822, allocations: 147.8 kB / 304.6 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00095/0.1832, allocations: 0.8999 MB / 305.5 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.1832, allocations: 16 kB / 305.6 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.1832, allocations: 7.828 kB / 305.6 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.1832, allocations: 3.984 kB / 305.6 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/0.1862, allocations: 2.614 MB / 308.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.1862, allocations: 4 kB / 308.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006231/0.1868, allocations: 300.4 kB / 308.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/0.1872, allocations: 230.7 kB / 308.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005101/0.1877, allocations: 262.5 kB / 309 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.996e-05/0.1878, allocations: 39.97 kB / 309 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003493/0.1913, allocations: 5.904 MB / 314.9 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/0.1913, allocations: 7.938 kB / 314.9 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.1928, allocations: 1.32 MB / 316.2 MB, free: 6.703 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.1929, allocations: 32.53 kB / 316.3 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.1933, allocations: 51.97 kB / 316.3 MB, free: 6.621 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.1935, allocations: 104.7 kB / 316.4 MB, free: 6.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/0.1936, allocations: 31.98 kB / 316.4 MB, free: 6.488 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005438/0.1941, allocations: 0.5813 MB / 317 MB, free: 5.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1941, allocations: 0 / 317 MB, free: 5.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001204/0.1953, allocations: 0.4921 MB / 317.5 MB, free: 5.418 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002663/0.1956, allocations: 180.4 kB / 317.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.197, allocations: 1.216 MB / 318.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-05/0.1971, allocations: 35.06 kB / 318.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008816/0.198, allocations: 1.023 MB / 320 MB, free: 2.922 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.2, allocations: 4.13 MB / 324.1 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/0.2151, allocations: 4.22 MB / 328.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.2156, allocations: 0.578 MB / 328.9 MB, free: 9.082 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006809/0.2162, allocations: 226.6 kB / 329.1 MB, free: 8.855 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000697/0.2169, allocations: 439.1 kB / 329.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of SimCode: time 1.924e-06/0.2169, allocations: 0 / 329.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of Templates: time 0.03642/0.2534, allocations: 28.45 MB / 358 MB, free: 12.37 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.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: 3.2613650113344193]