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.001741/0.001741, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 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.002431/0.002431, allocations: 215.6 kB / 24.48 MB, free: 3.84 MB / 14.72 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 1.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",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.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 55.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2521, allocations: 53.36 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01229/0.2644, allocations: 9.058 MB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006836/0.2713, allocations: 3.128 MB / 444.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.2732, allocations: 75.44 kB / 444.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.2752, allocations: 0.6869 MB / 445.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002777/0.278, allocations: 0.8893 MB / 446.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.2791, allocations: 427.4 kB / 446.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003819/0.2829, allocations: 2.988 MB / 449.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002114/0.285, allocations: 1.323 MB / 450.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.2874, allocations: 1.394 MB / 452.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003425/0.2908, allocations: 1.666 MB / 454 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000881/0.2917, allocations: 352 kB / 454.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.293, allocations: 467.8 kB / 454.8 MB, free: 152 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.2942, allocations: 1.032 MB / 455.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001949/0.2961, allocations: 1.303 MB / 457.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005996/0.3021, allocations: 4.745 MB / 461.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3021, allocations: 3.938 kB / 461.9 MB, free: 9.039 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3021, allocations: 0 / 461.9 MB, free: 9.039 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.595e-05/0.3022, allocations: 0 / 461.9 MB, free: 9.039 MB / 366.1 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.007547/0.3098, allocations: 3.28 MB / 465.1 MB, free: 5.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.3098, allocations: 12.03 kB / 465.1 MB, free: 5.695 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.3112, allocations: 378.9 kB / 465.5 MB, free: 5.324 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004168/0.3153, allocations: 1.709 MB / 467.2 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/0.3156, allocations: 180.8 kB / 467.4 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004167/0.316, allocations: 232 kB / 467.6 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006025/0.3221, allocations: 3.237 MB / 470.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.097e-05/0.3221, allocations: 7.953 kB / 470.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002157/0.3223, allocations: 96 kB / 471 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001361/0.3225, allocations: 108.5 kB / 471.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004987/0.3275, allocations: 2.696 MB / 473.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01525/0.3427, allocations: 8.401 MB / 482.2 MB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/0.3453, allocations: 1.402 MB / 483.6 MB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.3472, allocations: 1.043 MB / 484.6 MB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/0.3475, allocations: 52.89 kB / 484.7 MB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.548e-05/0.3475, allocations: 47.56 kB / 484.7 MB, free: 1.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.547e-06/0.3475, allocations: 0 / 484.7 MB, free: 1.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01466/0.3622, allocations: 6.335 MB / 491 MB, free: 11.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.3622, allocations: 64.72 kB / 491.1 MB, free: 11.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/0.3649, allocations: 1.623 MB / 492.7 MB, free: 9.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.365, allocations: 45.7 kB / 492.8 MB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.3661, allocations: 1.201 MB / 494 MB, free: 8.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004605/0.3666, allocations: 468 kB / 494.4 MB, free: 7.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004881/0.3671, allocations: 287.5 kB / 494.7 MB, free: 7.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3672, allocations: 313.1 kB / 495 MB, free: 7.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.3686, allocations: 0.7964 MB / 495.8 MB, free: 6.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.3704, allocations: 1.197 MB / 497 MB, free: 5.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003266/0.3736, allocations: 2.102 MB / 499.1 MB, free: 2.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.3736, allocations: 4 kB / 499.1 MB, free: 2.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005336/0.379, allocations: 2.585 MB / 0.4899 GB, free: 236 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.379, allocations: 15.94 kB / 0.49 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.379, allocations: 12 kB / 0.49 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.3801, allocations: 415.2 kB / 0.4904 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.3816, allocations: 363.4 kB / 0.4907 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008703/0.3903, allocations: 6.657 MB / 0.4972 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.3922, allocations: 111.9 kB / 0.4973 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003305/0.3926, allocations: 63.98 kB / 0.4974 GB, free: 8.305 MB / 414.1 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.002177/0.3947, allocations: 0.7977 MB / 0.4982 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006384/0.3954, allocations: 186.8 kB / 0.4983 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004952/0.4003, allocations: 2.276 MB / 0.5006 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.4003, allocations: 12 kB / 0.5006 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.4003, allocations: 4 kB / 0.5006 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.4004, allocations: 7.969 kB / 0.5006 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009995/0.4104, allocations: 4.439 MB / 0.5049 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.4104, allocations: 4 kB / 0.5049 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.4114, allocations: 239.6 kB / 0.5052 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001248/0.4127, allocations: 451 kB / 0.5056 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.4128, allocations: 35.98 kB / 0.5056 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009468/0.4223, allocations: 8.08 MB / 0.5135 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.4223, allocations: 4 kB / 0.5135 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006548/0.4288, allocations: 3.431 MB / 0.5169 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/0.4301, allocations: 350.7 kB / 0.5172 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005086/0.4306, allocations: 35.98 kB / 0.5172 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.4319, allocations: 83.91 kB / 0.5173 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003591/0.4322, allocations: 124.8 kB / 0.5174 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.4324, allocations: 43.97 kB / 0.5175 GB, free: 3.109 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002262/0.4346, allocations: 1.094 MB / 0.5185 GB, free: 2.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4346, allocations: 0 / 0.5185 GB, free: 2.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002325/0.437, allocations: 0.5038 MB / 0.519 GB, free: 1.516 MB / 430.1 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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004705/0.4374, allocations: 198.9 kB / 0.5192 GB, free: 1.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004667/0.4421, allocations: 2.32 MB / 0.5215 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.4421, allocations: 4 kB / 0.5215 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002769/0.4449, allocations: 1.551 MB / 0.523 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/0.4474, allocations: 417.9 kB / 0.5234 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.4575, allocations: 5.123 MB / 0.5284 GB, free: 7.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002199/0.4597, allocations: 1.399 MB / 0.5298 GB, free: 6.297 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006506/0.4604, allocations: 139.4 kB / 0.5299 GB, free: 6.16 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4604, allocations: 0 / 0.5299 GB, free: 6.16 MB / 446.1 MB Notification: Performance of Templates: time 0.287/0.7474, allocations: 79.86 MB / 0.6079 GB, free: 35.14 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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: 12.850239604711533]