Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.0008982/0.0008982, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009125/0.0009125, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8316/0.8316, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 273.5 MB, free: 4.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.839e-05, allocations: 3.188 kB / 273.5 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01102/0.01104, allocations: 9.89 MB / 283.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005408/0.01644, allocations: 3.369 MB / 286.7 MB, free: 7.121 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006631/0.01711, allocations: 75.5 kB / 286.8 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.01852, allocations: 0.714 MB / 287.5 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.02001, allocations: 0.9274 MB / 288.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.02048, allocations: 423.3 kB / 288.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00174/0.02222, allocations: 3.088 MB / 291.9 MB, free: 1.879 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.02324, allocations: 1.368 MB / 293.3 MB, free: 440 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.02483, allocations: 2.269 MB / 295.6 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.02593, allocations: 1.524 MB / 297.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002717/0.0262, allocations: 340 kB / 297.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.02663, allocations: 451.8 kB / 297.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006054/0.02724, allocations: 1.024 MB / 298.9 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008156/0.02805, allocations: 1.091 MB / 300 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.02987, allocations: 2.593 MB / 302.6 MB, free: 7.133 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.02987, allocations: 0 / 302.6 MB, free: 7.133 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.02987, allocations: 0 / 302.6 MB, free: 7.133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.646e-05/0.0299, allocations: 0 / 302.6 MB, free: 7.133 MB / 282.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.002916/0.03282, allocations: 3.005 MB / 305.6 MB, free: 4.082 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.03285, allocations: 19.92 kB / 305.6 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006854/0.03353, allocations: 464.4 kB / 306.1 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.03484, allocations: 1.205 MB / 307.3 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.562e-05/0.03492, allocations: 173 kB / 307.4 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.03515, allocations: 240.3 kB / 307.7 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.03682, allocations: 1.799 MB / 309.5 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.039e-05/0.03686, allocations: 3.984 kB / 309.5 MB, free: 28 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.037, allocations: 100.1 kB / 309.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.47e-05/0.03707, allocations: 104.6 kB / 309.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00096/0.03803, allocations: 0.688 MB / 310.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005796/0.04383, allocations: 6.202 MB / 316.6 MB, free: 8.629 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/0.04465, allocations: 0.7554 MB / 317.3 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/0.04521, allocations: 467.5 kB / 317.8 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.04535, allocations: 56.97 kB / 317.8 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.04538, allocations: 43.56 kB / 317.9 MB, free: 7.301 MB / 298.7 MB Notification: Performance of pre-optimization done (n=116): time 2.315e-06/0.04538, allocations: 0 / 317.9 MB, free: 7.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=131): time 0.004107/0.04949, allocations: 2.64 MB / 320.5 MB, free: 4.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.04952, allocations: 64.72 kB / 320.6 MB, free: 4.547 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007622/0.05028, allocations: 1.139 MB / 321.7 MB, free: 3.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.05034, allocations: 45.7 kB / 321.8 MB, free: 3.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/0.05072, allocations: 0.9844 MB / 322.7 MB, free: 2.348 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.05093, allocations: 467.9 kB / 323.2 MB, free: 1.887 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.05119, allocations: 267.4 kB / 323.5 MB, free: 1.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.256e-05/0.05126, allocations: 301.1 kB / 323.8 MB, free: 1.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.05151, allocations: 182.8 kB / 323.9 MB, free: 1.141 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.05189, allocations: 0.5724 MB / 324.5 MB, free: 408 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007453/0.05264, allocations: 0.9081 MB / 325.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.05264, allocations: 4 kB / 325.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001345/0.05399, allocations: 1.052 MB / 326.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.05401, allocations: 11.94 kB / 326.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.05402, allocations: 12 kB / 326.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004512/0.05447, allocations: 239.7 kB / 326.7 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006275/0.0551, allocations: 323.5 kB / 327 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.05763, allocations: 4.698 MB / 331.7 MB, free: 8.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004129/0.05804, allocations: 59.94 kB / 331.8 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.639e-05/0.05811, allocations: 51.98 kB / 331.9 MB, free: 8.57 MB / 314.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.0003296/0.05844, allocations: 212.2 kB / 332.1 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.05862, allocations: 151.8 kB / 332.2 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.05987, allocations: 0.903 MB / 333.1 MB, free: 7.273 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.05988, allocations: 12 kB / 333.1 MB, free: 7.262 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.05988, allocations: 4 kB / 333.1 MB, free: 7.258 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.05989, allocations: 7.922 kB / 333.1 MB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/0.06279, allocations: 2.617 MB / 335.8 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.06279, allocations: 0 / 335.8 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.06327, allocations: 207.7 kB / 336 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005645/0.06383, allocations: 316 kB / 336.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.176e-05/0.06389, allocations: 31.98 kB / 336.3 MB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003183/0.06708, allocations: 5.906 MB / 342.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.06708, allocations: 4 kB / 342.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.06858, allocations: 1.325 MB / 343.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000332/0.06891, allocations: 226.7 kB / 343.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.06904, allocations: 27.98 kB / 343.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.06939, allocations: 51.97 kB / 343.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.06954, allocations: 112.7 kB / 343.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-05/0.06959, allocations: 32 kB / 344 MB, free: 11.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004673/0.07005, allocations: 0.575 MB / 344.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07005, allocations: 0 / 344.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009517/0.071, allocations: 0.4921 MB / 345 MB, free: 10.75 MB / 330.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.0002652/0.07127, allocations: 184.1 kB / 345.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.07249, allocations: 1.186 MB / 346.4 MB, free: 9.348 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.987e-05/0.07251, allocations: 20.5 kB / 346.4 MB, free: 9.328 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008638/0.07337, allocations: 0.9535 MB / 347.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009387/0.07431, allocations: 431.9 kB / 347.8 MB, free: 7.906 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.07842, allocations: 4.052 MB / 351.9 MB, free: 3.754 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.07887, allocations: 0.5702 MB / 352.4 MB, free: 3.152 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004588/0.07933, allocations: 226.5 kB / 352.6 MB, free: 2.926 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006688/0.08, allocations: 439 kB / 353.1 MB, free: 2.488 MB / 330.7 MB Notification: Performance of SimCode: time 9.21e-07/0.08, allocations: 4 kB / 353.1 MB, free: 2.484 MB / 330.7 MB Notification: Performance of Templates: time 0.1173/0.1973, allocations: 27.46 MB / 380.5 MB, free: 64.96 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.072380855679512]