Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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.0007709/0.0007709, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001127/0.001898, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.000724/0.000724, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009616/0.001686, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.8744/0.8744, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1423/1.017, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.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.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.[0-9,]+.|smpm.idq_dr.[0-9,]+.|smpm.idq_rr.[0-9,]+.|smpm.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.[0-9,]+.|smpm.idq_dr.[0-9,]+.|smpm.idq_rr.[0-9,]+.|smpm.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219e-05/1.378e-05, allocations: 10.25 kB / 222 MB, free: 44 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.007452/0.007465, allocations: 10.03 MB / 232 MB, free: 5.961 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004804/0.01227, allocations: 3.559 MB / 235.6 MB, free: 2.387 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006831/0.01295, allocations: 63.5 kB / 235.7 MB, free: 2.324 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.01419, allocations: 0.7839 MB / 236.4 MB, free: 1.535 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.01559, allocations: 0.9234 MB / 237.4 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.01613, allocations: 419.3 kB / 237.8 MB, free: 200 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002079/0.01821, allocations: 2.881 MB / 240.7 MB, free: 13.3 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.0194, allocations: 1.32 MB / 242 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002599/0.022, allocations: 2.308 MB / 244.3 MB, free: 9.574 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.02316, allocations: 1.383 MB / 245.7 MB, free: 8.188 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002783/0.02344, allocations: 320 kB / 246 MB, free: 7.875 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005587/0.024, allocations: 431.7 kB / 246.4 MB, free: 7.453 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004716/0.02447, allocations: 0.7753 MB / 247.2 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006734/0.02514, allocations: 0.8344 MB / 248 MB, free: 5.84 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.02686, allocations: 2.211 MB / 250.2 MB, free: 3.621 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.02687, allocations: 0 / 250.2 MB, free: 3.621 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.02687, allocations: 4 kB / 250.2 MB, free: 3.617 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.445e-05/0.0269, allocations: 3.938 kB / 250.2 MB, free: 3.613 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.003061/0.02996, allocations: 3.328 MB / 253.6 MB, free: 248 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.03, allocations: 8.031 kB / 253.6 MB, free: 240 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005895/0.03059, allocations: 489.7 kB / 254 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.03176, allocations: 1.071 MB / 255.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.733e-05/0.03185, allocations: 172.8 kB / 255.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.03205, allocations: 228.3 kB / 255.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.03373, allocations: 1.695 MB / 257.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/0.03377, allocations: 4 kB / 257.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.03389, allocations: 88 kB / 257.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000243/0.03413, allocations: 112.3 kB / 257.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009026/0.03503, allocations: 0.6541 MB / 258.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005521/0.04055, allocations: 5.897 MB / 264 MB, free: 5.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008571/0.04141, allocations: 0.6446 MB / 264.6 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/0.04192, allocations: 435.4 kB / 265 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.04206, allocations: 60.95 kB / 265.1 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.04208, allocations: 43.56 kB / 265.1 MB, free: 4.156 MB / 266.7 MB Notification: Performance of pre-optimization done (n=105): time 2.024e-06/0.04209, allocations: 0 / 265.1 MB, free: 4.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=122): time 0.003827/0.04591, allocations: 2.604 MB / 267.7 MB, free: 1.523 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.04594, allocations: 72.34 kB / 267.8 MB, free: 1.441 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006743/0.04662, allocations: 1.047 MB / 268.8 MB, free: 388 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.04667, allocations: 45.7 kB / 268.9 MB, free: 336 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.04703, allocations: 0.948 MB / 269.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.04723, allocations: 448.1 kB / 270.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.04746, allocations: 255.4 kB / 270.5 MB, free: 14.67 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.105e-05/0.04752, allocations: 309.1 kB / 270.8 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.04774, allocations: 166.8 kB / 271 MB, free: 14.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005029/0.04824, allocations: 0.5922 MB / 271.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007247/0.04897, allocations: 0.9657 MB / 272.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.04897, allocations: 4 kB / 272.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.001126/0.0501, allocations: 1.042 MB / 273.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.05012, allocations: 12 kB / 273.6 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.05013, allocations: 12 kB / 273.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004432/0.05057, allocations: 249.7 kB / 273.9 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/0.05122, allocations: 355.4 kB / 274.2 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/0.05396, allocations: 4.758 MB / 279 MB, free: 5.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/0.05438, allocations: 59.94 kB / 279 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/0.05445, allocations: 51.98 kB / 279.1 MB, free: 5.434 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (169): * Single equations (assignments): 165 * 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,12,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.0003009/0.05475, allocations: 212.2 kB / 279.3 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.0549, allocations: 135.9 kB / 279.4 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.05591, allocations: 0.8839 MB / 280.3 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.05592, allocations: 12 kB / 280.3 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.05592, allocations: 4 kB / 280.3 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.05593, allocations: 11.97 kB / 280.3 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.05853, allocations: 2.529 MB / 282.9 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.05853, allocations: 4 kB / 282.9 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.05901, allocations: 227.6 kB / 283.1 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/0.05928, allocations: 206.8 kB / 283.3 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005245/0.0598, allocations: 312.4 kB / 283.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.197e-05/0.05986, allocations: 31.98 kB / 283.6 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09544/0.1553, allocations: 5.93 MB / 289.6 MB, free: 42.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.1553, allocations: 4.938 kB / 289.6 MB, free: 42.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.1572, allocations: 1.318 MB / 290.9 MB, free: 41.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.1574, allocations: 33.12 kB / 290.9 MB, free: 41.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.1578, allocations: 48.09 kB / 291 MB, free: 41.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.158, allocations: 104.5 kB / 291.1 MB, free: 41.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/0.158, allocations: 30.58 kB / 291.1 MB, free: 41.76 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006458/0.1587, allocations: 0.5194 MB / 291.6 MB, free: 41.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1587, allocations: 4.75 kB / 291.6 MB, free: 41.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001204/0.1599, allocations: 472.3 kB / 292.1 MB, free: 41.71 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],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 (108): * Single equations (assignments): 104 * 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,12,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.0002852/0.1602, allocations: 181.9 kB / 292.2 MB, free: 41.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.1615, allocations: 1.209 MB / 293.5 MB, free: 41.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.536e-05/0.1615, allocations: 27.44 kB / 293.5 MB, free: 41.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008863/0.1624, allocations: 1.018 MB / 294.5 MB, free: 40.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.164, allocations: 4.074 MB / 298.6 MB, free: 36.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/0.1785, allocations: 3.98 MB / 302.6 MB, free: 34.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/0.179, allocations: 0.5355 MB / 303.1 MB, free: 34.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006086/0.1796, allocations: 214 kB / 303.3 MB, free: 34.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006181/0.1802, allocations: 421 kB / 303.7 MB, free: 34.71 MB / 282.7 MB Notification: Performance of SimCode: time 1.323e-06/0.1802, allocations: 2.078 kB / 303.7 MB, free: 34.71 MB / 282.7 MB Notification: Performance of Templates: time 0.0302/0.2104, allocations: 26.88 MB / 330.6 MB, free: 13.62 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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/SMPM_Inverter/SMPM_Inverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4484304171055555]