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.001807/0.001807, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001471/0.001471, allocations: 213.9 kB / 23.74 MB, free: 4.656 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.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.002693/0.002693, allocations: 47.92 kB / 378.3 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3128, allocations: 53.37 MB / 431.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01661/0.3295, allocations: 10.33 MB / 442 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00719/0.3366, allocations: 3.334 MB / 445.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.3385, allocations: 71.5 kB / 445.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.3404, allocations: 0.7451 MB / 446.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.3432, allocations: 0.8933 MB / 447 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.3444, allocations: 439.3 kB / 447.4 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003925/0.3483, allocations: 2.98 MB / 450.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.3504, allocations: 1.376 MB / 451.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/0.3525, allocations: 1.394 MB / 453.2 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00265/0.3552, allocations: 1.74 MB / 454.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005596/0.3557, allocations: 356 kB / 455.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.3568, allocations: 471.8 kB / 455.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.3579, allocations: 1.036 MB / 456.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001876/0.3598, allocations: 1.61 MB / 458.4 MB, free: 12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006119/0.3659, allocations: 4.718 MB / 463.1 MB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.3659, allocations: 3.938 kB / 463.1 MB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.3659, allocations: 0 / 463.1 MB, free: 7.262 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001615/0.3661, allocations: 4 kB / 463.1 MB, free: 7.258 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.007728/0.3738, allocations: 3.276 MB / 466.4 MB, free: 3.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.3738, allocations: 12.03 kB / 466.4 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.3751, allocations: 382.8 kB / 466.8 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003738/0.3788, allocations: 1.705 MB / 468.5 MB, free: 1.801 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.379, allocations: 184.8 kB / 468.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003579/0.3794, allocations: 228 kB / 468.9 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005699/0.3851, allocations: 3.133 MB / 472 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.428e-05/0.3851, allocations: 11.88 kB / 472 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/0.3854, allocations: 96 kB / 472.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/0.3855, allocations: 104.6 kB / 472.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004795/0.3903, allocations: 2.696 MB / 474.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01623/0.4065, allocations: 9.487 MB / 484.4 MB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.409, allocations: 1.414 MB / 485.8 MB, free: 64 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/0.4109, allocations: 1.035 MB / 486.9 MB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/0.4111, allocations: 57.86 kB / 486.9 MB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.4112, allocations: 47.56 kB / 487 MB, free: 14.92 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 2.956e-06/0.4112, allocations: 0 / 487 MB, free: 14.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=131): time 0.01404/0.4252, allocations: 6.354 MB / 493.3 MB, free: 8.527 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.4253, allocations: 64.72 kB / 493.4 MB, free: 8.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/0.4278, allocations: 1.763 MB / 495.1 MB, free: 6.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.854e-05/0.4279, allocations: 53.7 kB / 495.2 MB, free: 6.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009752/0.4289, allocations: 1.186 MB / 496.4 MB, free: 5.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004012/0.4293, allocations: 472 kB / 496.8 MB, free: 4.965 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004544/0.4298, allocations: 287.5 kB / 497.1 MB, free: 4.676 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4299, allocations: 305.1 kB / 497.4 MB, free: 4.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.4312, allocations: 0.7964 MB / 498.2 MB, free: 3.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.4329, allocations: 1.205 MB / 499.4 MB, free: 2.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003168/0.4361, allocations: 2.094 MB / 0.4898 GB, free: 15.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.4361, allocations: 0 / 0.4898 GB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004927/0.441, allocations: 2.596 MB / 0.4923 GB, free: 13.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.4411, allocations: 16.06 kB / 0.4923 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/0.4411, allocations: 12 kB / 0.4923 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.4421, allocations: 411.1 kB / 0.4927 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.4435, allocations: 367.4 kB / 0.4931 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008078/0.4516, allocations: 6.781 MB / 0.4997 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.4532, allocations: 115.8 kB / 0.4998 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/0.4534, allocations: 60 kB / 0.4999 GB, free: 5.23 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.001943/0.4553, allocations: 0.7939 MB / 0.5006 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007368/0.456, allocations: 194.8 kB / 0.5008 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004604/0.4606, allocations: 2.284 MB / 0.503 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/0.4607, allocations: 23.94 kB / 0.5031 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.4607, allocations: 4 kB / 0.5031 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.4607, allocations: 11.91 kB / 0.5031 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.471, allocations: 4.99 MB / 0.508 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.471, allocations: 4 kB / 0.508 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.472, allocations: 239.6 kB / 0.5082 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/0.4732, allocations: 455.3 kB / 0.5086 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/0.4734, allocations: 35.98 kB / 0.5087 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01009/0.4835, allocations: 8.225 MB / 0.5167 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.4835, allocations: 7.938 kB / 0.5167 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006508/0.49, allocations: 3.443 MB / 0.5201 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/0.4913, allocations: 374.6 kB / 0.5204 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004908/0.4918, allocations: 31.98 kB / 0.5204 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.493, allocations: 87.91 kB / 0.5205 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000319/0.4933, allocations: 120.7 kB / 0.5206 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.4934, allocations: 39.98 kB / 0.5207 GB, free: 15.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002331/0.4958, allocations: 1.207 MB / 0.5219 GB, free: 14.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4958, allocations: 4 kB / 0.5219 GB, free: 14.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002146/0.4979, allocations: 0.5039 MB / 0.5224 GB, free: 13.51 MB / 446.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.0004671/0.4984, allocations: 197.5 kB / 0.5225 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004433/0.5028, allocations: 2.32 MB / 0.5248 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.5028, allocations: 0 / 0.5248 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002718/0.5055, allocations: 1.559 MB / 0.5263 GB, free: 9.332 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/0.5084, allocations: 477.3 kB / 0.5268 GB, free: 8.871 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009902/0.5183, allocations: 5.108 MB / 0.5318 GB, free: 3.684 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00207/0.5204, allocations: 2.009 MB / 0.5337 GB, free: 1.641 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001346/0.5217, allocations: 447.4 kB / 0.5342 GB, free: 1.199 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003963/0.5221, allocations: 123.4 kB / 0.5343 GB, free: 1.078 MB / 446.1 MB Notification: Performance of SimCode: time 1.843e-06/0.5221, allocations: 4 kB / 0.5343 GB, free: 1.074 MB / 446.1 MB Notification: Performance of Templates: time 0.2844/0.8065, allocations: 29.66 MB / 0.5633 GB, free: 81.88 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/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: 6.067405394045636]