Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.001732/0.001732, allocations: 84.3 kB / 22.21 MB, free: 2.285 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.001425/0.001425, allocations: 171 kB / 25.6 MB, free: 8.477 MB / 18.57 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 1.027/1.027, allocations: 158.6 MB / 187.5 MB, free: 2.797 MB / 170.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 251.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.433e-05, allocations: 2.312 kB / 251.5 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.00917/0.009194, allocations: 9.802 MB / 261.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006609/0.0158, allocations: 3.218 MB / 264.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002319/0.01812, allocations: 63.5 kB / 264.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002197/0.02032, allocations: 0.6946 MB / 265.3 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003262/0.02358, allocations: 0.9275 MB / 266.2 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009449/0.02453, allocations: 423.2 kB / 266.6 MB, free: 8.035 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003458/0.02798, allocations: 3.081 MB / 269.7 MB, free: 4.938 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.02991, allocations: 1.309 MB / 271 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003794/0.03371, allocations: 2.261 MB / 273.3 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.03612, allocations: 1.532 MB / 274.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009764/0.03709, allocations: 340 kB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.03816, allocations: 439.8 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009245/0.03908, allocations: 1.024 MB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001785/0.04086, allocations: 1.091 MB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003165/0.04403, allocations: 2.577 MB / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.04404, allocations: 0 / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.04404, allocations: 0 / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001406/0.04418, allocations: 0 / 280.2 MB, free: 10.3 MB / 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.004663/0.04884, allocations: 3.282 MB / 283.5 MB, free: 6.953 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.0489, allocations: 8.031 kB / 283.5 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000812/0.04971, allocations: 0.5224 MB / 284.1 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.05139, allocations: 1.422 MB / 285.5 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.05151, allocations: 181 kB / 285.7 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002299/0.05174, allocations: 228.3 kB / 285.9 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.05393, allocations: 1.769 MB / 287.6 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.373e-05/0.05398, allocations: 7.938 kB / 287.7 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.05411, allocations: 96 kB / 287.7 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-05/0.0542, allocations: 112.6 kB / 287.9 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.0553, allocations: 0.693 MB / 288.5 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008754/0.06406, allocations: 7.742 MB / 296.3 MB, free: 9.676 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.06507, allocations: 0.7591 MB / 297 MB, free: 8.922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006278/0.0657, allocations: 0.4904 MB / 297.5 MB, free: 8.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.06586, allocations: 52.98 kB / 297.6 MB, free: 8.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.06589, allocations: 58.31 kB / 297.6 MB, free: 8.312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 4.388e-06/0.0659, allocations: 0 / 297.6 MB, free: 8.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=131): time 0.006265/0.07216, allocations: 2.602 MB / 300.2 MB, free: 5.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.07221, allocations: 64.72 kB / 300.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.07398, allocations: 1.368 MB / 301.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.768e-05/0.07407, allocations: 45.7 kB / 301.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008741/0.07494, allocations: 1.29 MB / 303 MB, free: 2.852 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004511/0.0754, allocations: 479.9 kB / 303.5 MB, free: 2.379 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004609/0.07586, allocations: 309 kB / 303.8 MB, free: 2.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.07599, allocations: 480.8 kB / 304.3 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.07634, allocations: 175.8 kB / 304.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005346/0.07687, allocations: 0.7631 MB / 305.2 MB, free: 432 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009566/0.07783, allocations: 1.09 MB / 306.3 MB, free: 15.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.07784, allocations: 11.88 kB / 306.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001862/0.0797, allocations: 1.303 MB / 307.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.07972, allocations: 8 kB / 307.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.07974, allocations: 12 kB / 307.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005212/0.08026, allocations: 250.8 kB / 307.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/0.08093, allocations: 315.5 kB / 308.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003793/0.08473, allocations: 6.446 MB / 314.6 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008546/0.08558, allocations: 63.88 kB / 314.7 MB, free: 6.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-05/0.08566, allocations: 55.98 kB / 314.7 MB, free: 6.273 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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.0006893/0.08635, allocations: 248.1 kB / 315 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003146/0.08666, allocations: 226.8 kB / 315.2 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.088, allocations: 1.049 MB / 316.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.08801, allocations: 15.94 kB / 316.3 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.08801, allocations: 4 kB / 316.3 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.08802, allocations: 11.97 kB / 316.3 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00412/0.09214, allocations: 3.16 MB / 319.4 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.09215, allocations: 4.047 kB / 319.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004667/0.09262, allocations: 212.2 kB / 319.6 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000535/0.09315, allocations: 266.7 kB / 319.9 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.854e-05/0.09321, allocations: 35.98 kB / 319.9 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003996/0.09721, allocations: 8.154 MB / 328.1 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.09721, allocations: 11.94 kB / 328.1 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.09935, allocations: 1.568 MB / 329.7 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009014/0.1002, allocations: 282.8 kB / 330 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002914/0.1005, allocations: 39.98 kB / 330 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/0.101, allocations: 47.97 kB / 330 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/0.1012, allocations: 112.7 kB / 330.1 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.1013, allocations: 31.98 kB / 330.2 MB, free: 6.066 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007364/0.102, allocations: 0.7413 MB / 330.9 MB, free: 5.328 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.102, allocations: 0 / 330.9 MB, free: 5.328 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00125/0.1033, allocations: 0.4921 MB / 331.4 MB, free: 4.836 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (115): * Single equations (assignments): 111 * 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.0002967/0.1036, allocations: 202.8 kB / 331.6 MB, free: 4.625 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.105, allocations: 1.435 MB / 333 MB, free: 3.137 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1051, allocations: 0 / 333 MB, free: 3.137 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009498/0.106, allocations: 1.216 MB / 334.3 MB, free: 1.848 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.1071, allocations: 429 kB / 334.7 MB, free: 1.434 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/0.1116, allocations: 4.221 MB / 338.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.1121, allocations: 0.6521 MB / 339.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005406/0.1126, allocations: 230.5 kB / 339.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006861/0.1133, allocations: 481.9 kB / 340.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1133, allocations: 0 / 340.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of Templates: time 0.1466/0.2599, allocations: 27.5 MB / 367.7 MB, free: 87.89 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/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.535390071105212]