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.001055/0.001055, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001265/0.001265, allocations: 165.9 kB / 25.33 MB, free: 8.75 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.8934/0.8934, allocations: 158.6 MB / 187.2 MB, free: 2.906 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.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.212e-06/1.212e-06, allocations: 0 / 251.1 MB, free: 7.488 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304e-05/1.426e-05, allocations: 6.25 kB / 251.1 MB, free: 7.48 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.008459/0.008473, allocations: 10.19 MB / 261.2 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006111/0.01458, allocations: 3.432 MB / 264.7 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.01573, allocations: 67.5 kB / 264.7 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.01737, allocations: 0.7567 MB / 265.5 MB, free: 8.973 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.01934, allocations: 0.9352 MB / 266.4 MB, free: 8.031 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007043/0.02004, allocations: 427.3 kB / 266.9 MB, free: 7.613 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002194/0.02224, allocations: 2.863 MB / 269.7 MB, free: 4.734 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.02388, allocations: 1.285 MB / 271 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.02573, allocations: 1.891 MB / 272.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/0.02711, allocations: 1.477 MB / 274.4 MB, free: 12 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003012/0.02741, allocations: 336 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000535/0.02794, allocations: 431.7 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006316/0.02858, allocations: 0.9933 MB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007756/0.02935, allocations: 1.052 MB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002216/0.03157, allocations: 2.41 MB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.03157, allocations: 0 / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.03157, allocations: 0 / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.386e-05/0.0316, allocations: 0 / 279.6 MB, free: 10.79 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.003127/0.03472, allocations: 3.204 MB / 282.8 MB, free: 7.535 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.03476, allocations: 11.98 kB / 282.8 MB, free: 7.523 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006505/0.03541, allocations: 0.4991 MB / 283.3 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.03688, allocations: 1.394 MB / 284.7 MB, free: 5.586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.09e-05/0.03697, allocations: 180.7 kB / 284.9 MB, free: 5.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.03717, allocations: 224.3 kB / 285.1 MB, free: 5.188 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/0.0396, allocations: 1.805 MB / 286.9 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.03964, allocations: 11.92 kB / 286.9 MB, free: 3.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.03977, allocations: 92 kB / 287 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.508e-05/0.03985, allocations: 112.3 kB / 287.1 MB, free: 3.047 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.04129, allocations: 0.8335 MB / 287.9 MB, free: 2.191 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007067/0.04836, allocations: 7.491 MB / 295.4 MB, free: 10.42 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000942/0.0493, allocations: 0.659 MB / 296.1 MB, free: 9.754 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000707/0.05001, allocations: 0.4982 MB / 296.6 MB, free: 9.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000161/0.05017, allocations: 56.95 kB / 296.6 MB, free: 9.203 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.0502, allocations: 46.39 kB / 296.7 MB, free: 9.148 MB / 282.7 MB Notification: Performance of pre-optimization done (n=105): time 2.234e-06/0.0502, allocations: 0 / 296.7 MB, free: 9.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.005382/0.05558, allocations: 3.296 MB / 300 MB, free: 5.816 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.05563, allocations: 64.41 kB / 300 MB, free: 5.742 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.05682, allocations: 1.279 MB / 301.3 MB, free: 4.434 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/0.05688, allocations: 45.7 kB / 301.4 MB, free: 4.383 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006247/0.0575, allocations: 1.215 MB / 302.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/0.05778, allocations: 460.1 kB / 303 MB, free: 2.703 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000298/0.05808, allocations: 277.1 kB / 303.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.05824, allocations: 480.8 kB / 303.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.05863, allocations: 231.8 kB / 304 MB, free: 1.723 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006725/0.0593, allocations: 0.8323 MB / 304.8 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.06048, allocations: 1.2 MB / 306 MB, free: 15.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.06049, allocations: 4 kB / 306 MB, free: 15.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.001911/0.0624, allocations: 1.421 MB / 307.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.06243, allocations: 12 kB / 307.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.06245, allocations: 20.27 kB / 307.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005822/0.06303, allocations: 257.4 kB / 307.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/0.06371, allocations: 347.3 kB / 308.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00376/0.06747, allocations: 6.662 MB / 314.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005758/0.06805, allocations: 95.86 kB / 314.8 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-05/0.06812, allocations: 67.98 kB / 314.9 MB, free: 5.922 MB / 298.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.0003965/0.06852, allocations: 248.3 kB / 315.1 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.06872, allocations: 206.9 kB / 315.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.07015, allocations: 1.141 MB / 316.5 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.07016, allocations: 12 kB / 316.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.07017, allocations: 4 kB / 316.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.07017, allocations: 3.984 kB / 316.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003804/0.07398, allocations: 3.188 MB / 319.7 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.07398, allocations: 4 kB / 319.7 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.07445, allocations: 219.7 kB / 319.9 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006053/0.07506, allocations: 299 kB / 320.2 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.456e-05/0.07512, allocations: 35.98 kB / 320.2 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004544/0.07967, allocations: 8.449 MB / 328.7 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.07967, allocations: 4 kB / 328.7 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.08161, allocations: 1.712 MB / 330.4 MB, free: 5.598 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/0.08201, allocations: 306.8 kB / 330.7 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.08212, allocations: 28 kB / 330.7 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/0.08253, allocations: 79.91 kB / 330.8 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.08271, allocations: 104.7 kB / 330.9 MB, free: 5.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.08277, allocations: 43.98 kB / 330.9 MB, free: 5.047 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000832/0.0836, allocations: 0.7502 MB / 331.7 MB, free: 4.297 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0836, allocations: 0 / 331.7 MB, free: 4.297 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001117/0.08472, allocations: 480 kB / 332.2 MB, free: 3.828 MB / 314.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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002864/0.085, allocations: 198.8 kB / 332.4 MB, free: 3.625 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.08667, allocations: 1.524 MB / 333.9 MB, free: 2.043 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.08667, allocations: 0 / 333.9 MB, free: 2.043 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.08777, allocations: 1.285 MB / 335.2 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.08886, allocations: 448.4 kB / 335.6 MB, free: 264 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/0.09375, allocations: 4.05 MB / 339.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.09421, allocations: 0.5888 MB / 340.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005525/0.09476, allocations: 313.7 kB / 340.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.09499, allocations: 116.5 kB / 340.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of SimCode: time 8.42e-07/0.09499, allocations: 0 / 340.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of Templates: time 0.1401/0.2351, allocations: 25.5 MB / 366.2 MB, free: 89.74 MB / 330.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.64372899569571]