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.001163/0.001163, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.00121/0.00121, allocations: 166.7 kB / 25.61 MB, free: 8.91 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.04/1.04, allocations: 158.6 MB / 187.5 MB, free: 2.785 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 2.094e-06/2.094e-06, allocations: 0 / 251.5 MB, free: 7.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.291e-05, allocations: 2.312 kB / 251.5 MB, free: 7.32 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01356/0.01359, allocations: 9.273 MB / 260.8 MB, free: 14 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008498/0.02209, allocations: 3.082 MB / 263.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.02436, allocations: 63.56 kB / 263.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002472/0.02683, allocations: 0.6751 MB / 264.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003974/0.03081, allocations: 0.8342 MB / 265.4 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.0322, allocations: 407.3 kB / 265.8 MB, free: 8.926 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004047/0.03625, allocations: 2.641 MB / 268.5 MB, free: 6.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002362/0.03861, allocations: 1.24 MB / 269.7 MB, free: 4.969 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004331/0.04294, allocations: 2.016 MB / 271.7 MB, free: 2.949 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00274/0.04568, allocations: 1.325 MB / 273 MB, free: 1.621 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009849/0.04667, allocations: 308 kB / 273.3 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.04775, allocations: 411.7 kB / 273.7 MB, free: 0.918 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009738/0.04872, allocations: 0.8998 MB / 274.6 MB, free: 16 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002369/0.05109, allocations: 0.9472 MB / 275.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003894/0.05498, allocations: 2.25 MB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.05499, allocations: 0 / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.05499, allocations: 4 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001052/0.0551, allocations: 4 kB / 277.8 MB, free: 12.8 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.00538/0.06048, allocations: 2.898 MB / 280.7 MB, free: 9.848 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.06053, allocations: 19.92 kB / 280.8 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009112/0.06144, allocations: 479.1 kB / 281.2 MB, free: 9.359 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.06344, allocations: 1.271 MB / 282.5 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.06355, allocations: 156.6 kB / 282.7 MB, free: 7.879 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002685/0.06382, allocations: 220.3 kB / 282.9 MB, free: 7.664 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.06628, allocations: 1.591 MB / 284.5 MB, free: 5.953 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.74e-05/0.06632, allocations: 3.953 kB / 284.5 MB, free: 5.949 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.06644, allocations: 91.98 kB / 284.6 MB, free: 5.859 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-05/0.06653, allocations: 104.2 kB / 284.7 MB, free: 5.754 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.06761, allocations: 0.6304 MB / 285.3 MB, free: 5.082 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01008/0.07769, allocations: 6.763 MB / 292.1 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.07889, allocations: 0.6475 MB / 292.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008033/0.07969, allocations: 457.3 kB / 293.1 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/0.07989, allocations: 44.98 kB / 293.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.07993, allocations: 46.39 kB / 293.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=101): time 4.278e-06/0.07993, allocations: 0 / 293.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=116): time 0.005788/0.08572, allocations: 2.436 MB / 295.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.08576, allocations: 72.34 kB / 295.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.08723, allocations: 1.126 MB / 296.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.277e-05/0.0873, allocations: 45.7 kB / 296.9 MB, free: 9.133 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008076/0.08811, allocations: 1.155 MB / 298.1 MB, free: 7.965 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003415/0.08845, allocations: 432.3 kB / 298.5 MB, free: 7.539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004018/0.08885, allocations: 273.1 kB / 298.8 MB, free: 7.262 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.08907, allocations: 0.5432 MB / 299.3 MB, free: 6.711 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.08945, allocations: 167.8 kB / 299.5 MB, free: 6.547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009881/0.09044, allocations: 0.7129 MB / 300.2 MB, free: 5.613 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.09171, allocations: 1.006 MB / 301.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.09172, allocations: 4 kB / 301.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002414/0.09414, allocations: 1.202 MB / 302.4 MB, free: 3.156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.09417, allocations: 12.25 kB / 302.4 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.09419, allocations: 16 kB / 302.4 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007797/0.09497, allocations: 242.5 kB / 302.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009608/0.09593, allocations: 287.5 kB / 302.9 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004955/0.1009, allocations: 6.439 MB / 309.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.102, allocations: 51.94 kB / 309.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.1021, allocations: 44 kB / 309.5 MB, free: 11.72 MB / 298.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.0008963/0.103, allocations: 248.1 kB / 309.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003674/0.1034, allocations: 195 kB / 309.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.1054, allocations: 0.9679 MB / 310.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.1054, allocations: 15.94 kB / 310.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.1054, allocations: 4 kB / 310.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.1054, allocations: 3.984 kB / 310.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00548/0.1109, allocations: 2.871 MB / 313.8 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.1109, allocations: 4 kB / 313.8 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007232/0.1116, allocations: 180.2 kB / 313.9 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008908/0.1125, allocations: 272.7 kB / 314.2 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.627e-05/0.1126, allocations: 35.98 kB / 314.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005994/0.1186, allocations: 8.155 MB / 322.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.1186, allocations: 4 kB / 322.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/0.1216, allocations: 1.473 MB / 323.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005877/0.1222, allocations: 243 kB / 324.1 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.1223, allocations: 35.94 kB / 324.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005536/0.1229, allocations: 47.97 kB / 324.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/0.1231, allocations: 96.75 kB / 324.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.268e-05/0.1232, allocations: 31.94 kB / 324.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006508/0.1238, allocations: 0.6293 MB / 324.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1238, allocations: 0 / 324.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001309/0.1251, allocations: 447.9 kB / 325.4 MB, free: 11.05 MB / 314.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.0003465/0.1255, allocations: 194.9 kB / 325.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.127, allocations: 1.366 MB / 326.9 MB, free: 9.434 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.127, allocations: 4 kB / 326.9 MB, free: 9.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009814/0.128, allocations: 1.179 MB / 328.1 MB, free: 8.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.1291, allocations: 368.2 kB / 328.5 MB, free: 7.824 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005403/0.1345, allocations: 3.796 MB / 332.3 MB, free: 3.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.1351, allocations: 0.5559 MB / 332.8 MB, free: 3.328 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005894/0.1356, allocations: 204.6 kB / 333 MB, free: 3.121 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005697/0.1362, allocations: 426 kB / 333.5 MB, free: 2.703 MB / 314.7 MB Notification: Performance of SimCode: time 1.723e-06/0.1362, allocations: 3.938 kB / 333.5 MB, free: 2.699 MB / 314.7 MB Notification: Performance of Templates: time 0.1309/0.2671, allocations: 23.67 MB / 357.1 MB, free: 96.09 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.535168293863535]