Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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.00132/0.00132, allocations: 80.8 kB / 22.29 MB, free: 2.199 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.001261/0.001261, allocations: 171.2 kB / 25.7 MB, free: 8.449 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 0.9173/0.9173, allocations: 158.6 MB / 187.6 MB, free: 2.773 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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083e-05/1.202e-05, allocations: 6.25 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.007149/0.007161, allocations: 9.281 MB / 260.8 MB, free: 13.92 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003561/0.01072, allocations: 3.193 MB / 264 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004391/0.01116, allocations: 59.56 kB / 264.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009339/0.0121, allocations: 0.6868 MB / 264.8 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.01325, allocations: 0.8382 MB / 265.6 MB, free: 9.121 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.01369, allocations: 399.3 kB / 266 MB, free: 8.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.01532, allocations: 2.649 MB / 268.6 MB, free: 6.066 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.01635, allocations: 1.279 MB / 269.9 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.01794, allocations: 1.996 MB / 271.9 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.01908, allocations: 1.325 MB / 273.2 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002702/0.01935, allocations: 304 kB / 273.5 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004209/0.01977, allocations: 411.7 kB / 273.9 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005158/0.02029, allocations: 0.8921 MB / 274.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000681/0.02097, allocations: 0.951 MB / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.02249, allocations: 2.25 MB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.02249, allocations: 0 / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.02249, allocations: 0 / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.02251, allocations: 0 / 278 MB, free: 12.57 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.002548/0.02506, allocations: 2.645 MB / 280.7 MB, free: 9.887 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.02509, allocations: 15.98 kB / 280.7 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005346/0.02563, allocations: 384.6 kB / 281.1 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.02674, allocations: 0.9794 MB / 282.1 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.01e-05/0.02683, allocations: 164.6 kB / 282.2 MB, free: 8.297 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.02704, allocations: 220.2 kB / 282.4 MB, free: 8.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.02863, allocations: 1.621 MB / 284 MB, free: 6.348 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.085e-05/0.02867, allocations: 7.938 kB / 284.1 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.02879, allocations: 92 kB / 284.1 MB, free: 6.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.168e-05/0.02886, allocations: 100.2 kB / 284.2 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000918/0.02978, allocations: 0.6208 MB / 284.9 MB, free: 5.484 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005382/0.03516, allocations: 5.487 MB / 290.4 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007776/0.03594, allocations: 0.6463 MB / 291 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005232/0.03646, allocations: 422.6 kB / 291.4 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.0366, allocations: 52.97 kB / 291.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.03662, allocations: 47.56 kB / 291.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=101): time 2.384e-06/0.03663, allocations: 0 / 291.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=116): time 0.003727/0.04035, allocations: 2.413 MB / 293.9 MB, free: 12.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.04038, allocations: 72.28 kB / 294 MB, free: 12.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006486/0.04103, allocations: 0.9544 MB / 294.9 MB, free: 11.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.04108, allocations: 45.7 kB / 295 MB, free: 11.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.04143, allocations: 0.8889 MB / 295.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.04163, allocations: 420.4 kB / 296.3 MB, free: 9.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.04187, allocations: 247.4 kB / 296.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.04196, allocations: 361.8 kB / 296.9 MB, free: 9.121 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.04218, allocations: 162.8 kB / 297 MB, free: 8.961 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.04256, allocations: 0.5393 MB / 297.6 MB, free: 8.258 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/0.04326, allocations: 0.8456 MB / 298.4 MB, free: 7.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.04327, allocations: 4 kB / 298.4 MB, free: 7.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.001142/0.04441, allocations: 0.9669 MB / 299.4 MB, free: 6.258 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.04443, allocations: 12 kB / 299.4 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.04444, allocations: 12 kB / 299.4 MB, free: 6.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004532/0.04489, allocations: 243.8 kB / 299.7 MB, free: 5.984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/0.04544, allocations: 291.5 kB / 299.9 MB, free: 5.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/0.04803, allocations: 4.691 MB / 304.6 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.04841, allocations: 51.98 kB / 304.7 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/0.04847, allocations: 47.98 kB / 304.7 MB, free: 0.6289 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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.0002835/0.04875, allocations: 200.2 kB / 304.9 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.04891, allocations: 127.9 kB / 305.1 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.04992, allocations: 0.8344 MB / 305.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.026e-06/0.04992, allocations: 16 kB / 305.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.04993, allocations: 4 kB / 305.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.04994, allocations: 3.984 kB / 305.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/0.05267, allocations: 2.416 MB / 308.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/0.05267, allocations: 4 kB / 308.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.05308, allocations: 179.8 kB / 308.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005427/0.05362, allocations: 298 kB / 308.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/0.05368, allocations: 31.98 kB / 308.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002969/0.05664, allocations: 5.899 MB / 314.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.05665, allocations: 4 kB / 314.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.05792, allocations: 1.241 MB / 316 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/0.05818, allocations: 198.9 kB / 316.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.05829, allocations: 28 kB / 316.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.05862, allocations: 47.97 kB / 316.2 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.05875, allocations: 100.7 kB / 316.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.05879, allocations: 31.98 kB / 316.4 MB, free: 4.367 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003604/0.05915, allocations: 476.2 kB / 316.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05915, allocations: 3.938 kB / 316.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007973/0.05995, allocations: 448 kB / 317.3 MB, free: 3.457 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (103): * Single equations (assignments): 99 * 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.0002189/0.06016, allocations: 176.1 kB / 317.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.06124, allocations: 1.132 MB / 318.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-05/0.06126, allocations: 16.5 kB / 318.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008174/0.06208, allocations: 0.9368 MB / 319.5 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008068/0.06289, allocations: 378.5 kB / 319.9 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.06662, allocations: 3.608 MB / 323.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.06701, allocations: 0.4973 MB / 324 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003973/0.0674, allocations: 196.7 kB / 324.2 MB, free: 12.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005489/0.06795, allocations: 373.1 kB / 324.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of SimCode: time 8.51e-07/0.06795, allocations: 0 / 324.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of Templates: time 0.02698/0.09494, allocations: 23.63 MB / 348.2 MB, free: 4.293 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_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_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.3113978100009263]