Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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.0009497/0.0009497, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 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.002262/0.002262, allocations: 159 kB / 25.61 MB, free: 8.582 MB / 18.57 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.9486/0.9486, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.55e-05, allocations: 2.312 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.007896/0.007912, allocations: 9.356 MB / 283.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004688/0.0126, allocations: 3.091 MB / 286.6 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.01365, allocations: 71.5 kB / 286.6 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.01493, allocations: 0.6713 MB / 287.3 MB, free: 7.039 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.01675, allocations: 0.8459 MB / 288.2 MB, free: 6.188 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006759/0.01743, allocations: 407.2 kB / 288.6 MB, free: 5.789 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002621/0.02005, allocations: 2.641 MB / 291.2 MB, free: 3.137 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.02159, allocations: 1.272 MB / 292.5 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002967/0.02455, allocations: 2.031 MB / 294.5 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.02628, allocations: 1.329 MB / 295.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006159/0.02689, allocations: 304 kB / 296.1 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007188/0.02761, allocations: 411.7 kB / 296.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006418/0.02825, allocations: 0.892 MB / 297.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.02959, allocations: 0.9627 MB / 298.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002392/0.03198, allocations: 2.262 MB / 300.6 MB, free: 9.605 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.03199, allocations: 4 kB / 300.7 MB, free: 9.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.03199, allocations: 0 / 300.7 MB, free: 9.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.64e-05/0.03207, allocations: 0 / 300.7 MB, free: 9.602 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.003638/0.03571, allocations: 2.91 MB / 303.6 MB, free: 6.637 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.03575, allocations: 12.03 kB / 303.6 MB, free: 6.625 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007501/0.0365, allocations: 487.1 kB / 304 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.03814, allocations: 1.392 MB / 305.4 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.636e-05/0.03824, allocations: 160.6 kB / 305.6 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/0.03845, allocations: 220.2 kB / 305.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.04039, allocations: 1.587 MB / 307.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.773e-05/0.04043, allocations: 11.88 kB / 307.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.04056, allocations: 91.98 kB / 307.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.511e-05/0.04064, allocations: 104.2 kB / 307.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.04165, allocations: 0.6226 MB / 308.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007407/0.04906, allocations: 6.779 MB / 315 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009203/0.04998, allocations: 0.6517 MB / 315.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006009/0.05058, allocations: 453.3 kB / 316.1 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.05072, allocations: 44.97 kB / 316.1 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.05075, allocations: 46.39 kB / 316.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of pre-optimization done (n=101): time 2.936e-06/0.05075, allocations: 0 / 316.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of matching and sorting (n=116): time 0.004387/0.05514, allocations: 2.502 MB / 318.7 MB, free: 6.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.05517, allocations: 68.28 kB / 318.8 MB, free: 6.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009774/0.05615, allocations: 1.135 MB / 319.9 MB, free: 5.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.05621, allocations: 49.69 kB / 319.9 MB, free: 5.715 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005937/0.05681, allocations: 1.155 MB / 321.1 MB, free: 4.547 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.05707, allocations: 440.3 kB / 321.5 MB, free: 4.113 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.05735, allocations: 265.1 kB / 321.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.05752, allocations: 0.5471 MB / 322.3 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.05778, allocations: 163.9 kB / 322.5 MB, free: 3.129 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004777/0.05825, allocations: 0.7057 MB / 323.2 MB, free: 2.203 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008304/0.05908, allocations: 0.9998 MB / 324.2 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.05909, allocations: 4 kB / 324.2 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.001562/0.06065, allocations: 1.206 MB / 325.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.06068, allocations: 12 kB / 325.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.06069, allocations: 12 kB / 325.4 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005269/0.06122, allocations: 250.3 kB / 325.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/0.06184, allocations: 291.5 kB / 326 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003486/0.06532, allocations: 6.427 MB / 332.4 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006896/0.06601, allocations: 55.94 kB / 332.4 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/0.06608, allocations: 43.98 kB / 332.5 MB, free: 8.324 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 153 * 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.0004708/0.06655, allocations: 244.1 kB / 332.7 MB, free: 8.074 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.06679, allocations: 195 kB / 332.9 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.06806, allocations: 0.9914 MB / 333.9 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.06807, allocations: 12 kB / 333.9 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.06807, allocations: 4 kB / 333.9 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.06808, allocations: 3.984 kB / 333.9 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/0.07146, allocations: 2.837 MB / 336.8 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.07146, allocations: 4 kB / 336.8 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.07191, allocations: 188.1 kB / 336.9 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005482/0.07246, allocations: 266 kB / 337.2 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/0.07252, allocations: 31.98 kB / 337.2 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003901/0.07642, allocations: 8.165 MB / 345.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.07642, allocations: 7.938 kB / 345.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.07819, allocations: 1.46 MB / 346.9 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003924/0.07858, allocations: 242.9 kB / 347.1 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.07875, allocations: 35.92 kB / 347.1 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.07912, allocations: 43.98 kB / 347.2 MB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.07927, allocations: 100.8 kB / 347.3 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.07932, allocations: 31.98 kB / 347.3 MB, free: 8.762 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005198/0.07984, allocations: 0.6219 MB / 347.9 MB, free: 8.137 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.07984, allocations: 0 / 347.9 MB, free: 8.137 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001158/0.081, allocations: 455.9 kB / 348.4 MB, free: 7.691 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 98 * 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,6,100.0%), (1,1,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.000278/0.08128, allocations: 197.1 kB / 348.6 MB, free: 7.492 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.08284, allocations: 1.37 MB / 349.9 MB, free: 6.066 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.08285, allocations: 0 / 349.9 MB, free: 6.066 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009749/0.08382, allocations: 1.195 MB / 351.1 MB, free: 4.801 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.08485, allocations: 358.5 kB / 351.5 MB, free: 4.461 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005269/0.09012, allocations: 3.768 MB / 355.3 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.09062, allocations: 0.5559 MB / 355.8 MB, free: 0 / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009142/0.09153, allocations: 193 kB / 356 MB, free: 77.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007342/0.09226, allocations: 428 kB / 356.4 MB, free: 77.79 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.09227, allocations: 0 / 356.4 MB, free: 77.79 MB / 330.7 MB Notification: Performance of Templates: time 0.02983/0.1221, allocations: 24.28 MB / 380.7 MB, free: 64.03 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.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.624568576924503]