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.001379/0.001379, allocations: 84.3 kB / 22.21 MB, free: 2.285 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.0009997/0.0009997, allocations: 162.6 kB / 25.6 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.8824/0.8824, allocations: 158.6 MB / 187.5 MB, free: 2.793 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.653e-06/1.653e-06, allocations: 0 / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.841e-05, allocations: 6.25 kB / 251.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01186/0.01189, allocations: 9.912 MB / 261.4 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005222/0.01711, allocations: 3.401 MB / 264.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.01829, allocations: 67.5 kB / 264.9 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.01988, allocations: 0.7684 MB / 265.6 MB, free: 9.016 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.02233, allocations: 0.9351 MB / 266.6 MB, free: 8.074 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008642/0.02319, allocations: 423.3 kB / 267 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00286/0.02605, allocations: 2.863 MB / 269.8 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.02795, allocations: 1.289 MB / 271.1 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003099/0.03105, allocations: 2.133 MB / 273.3 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/0.03296, allocations: 1.387 MB / 274.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006511/0.03361, allocations: 320 kB / 275 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007844/0.03439, allocations: 435.6 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005983/0.03499, allocations: 0.9387 MB / 276.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.03612, allocations: 1.017 MB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00239/0.03851, allocations: 2.359 MB / 279.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.03851, allocations: 0 / 279.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.03851, allocations: 0 / 279.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.985e-05/0.03858, allocations: 7.938 kB / 279.7 MB, free: 10.83 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.003502/0.04208, allocations: 3.059 MB / 282.8 MB, free: 7.715 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.04213, allocations: 15.98 kB / 282.8 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006483/0.04278, allocations: 0.4951 MB / 283.3 MB, free: 7.203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.04416, allocations: 1.366 MB / 284.6 MB, free: 5.785 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-05/0.04425, allocations: 168.8 kB / 284.8 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.04446, allocations: 220.3 kB / 285 MB, free: 5.402 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.0463, allocations: 1.668 MB / 286.7 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.904e-05/0.04634, allocations: 7.953 kB / 286.7 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.04646, allocations: 87.98 kB / 286.8 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.229e-05/0.04654, allocations: 116.3 kB / 286.9 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009444/0.04748, allocations: 0.6556 MB / 287.6 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007143/0.05463, allocations: 7.251 MB / 294.8 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007762/0.0554, allocations: 0.6418 MB / 295.5 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005571/0.05596, allocations: 466.2 kB / 295.9 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.05609, allocations: 48.97 kB / 296 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.05612, allocations: 54.33 kB / 296 MB, free: 9.965 MB / 282.7 MB Notification: Performance of pre-optimization done (n=105): time 2.755e-06/0.05612, allocations: 0 / 296 MB, free: 9.965 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.004453/0.06057, allocations: 2.6 MB / 298.6 MB, free: 7.332 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.06061, allocations: 64.41 kB / 298.7 MB, free: 7.258 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.06162, allocations: 1.232 MB / 299.9 MB, free: 5.996 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.328e-05/0.06168, allocations: 45.7 kB / 299.9 MB, free: 5.945 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005747/0.06225, allocations: 1.234 MB / 301.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.0625, allocations: 456.2 kB / 301.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/0.06278, allocations: 281 kB / 301.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.06287, allocations: 476.8 kB / 302.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.06309, allocations: 175.8 kB / 302.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.06363, allocations: 0.793 MB / 303.3 MB, free: 2.281 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000863/0.06449, allocations: 1.099 MB / 304.4 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.0645, allocations: 4 kB / 304.4 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.002292/0.06679, allocations: 1.288 MB / 305.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.06681, allocations: 15.44 kB / 305.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.06684, allocations: 12 kB / 305.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007196/0.06756, allocations: 258.5 kB / 306 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009381/0.06849, allocations: 307.5 kB / 306.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004881/0.07338, allocations: 6.48 MB / 312.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.07461, allocations: 63.88 kB / 312.8 MB, free: 8.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.07473, allocations: 55.98 kB / 312.9 MB, free: 8.086 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.0007096/0.07544, allocations: 244.3 kB / 313.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003811/0.07582, allocations: 202.9 kB / 313.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.07747, allocations: 1.032 MB / 314.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.07748, allocations: 12 kB / 314.4 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.07748, allocations: 4 kB / 314.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.0775, allocations: 11.91 kB / 314.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003844/0.08134, allocations: 3.019 MB / 317.4 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.08135, allocations: 4 kB / 317.4 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/0.08181, allocations: 192.2 kB / 317.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005342/0.08234, allocations: 278.2 kB / 317.9 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/0.08239, allocations: 31.98 kB / 317.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003714/0.08611, allocations: 8.194 MB / 326.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.08611, allocations: 4 kB / 326.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.08771, allocations: 1.559 MB / 327.7 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/0.08807, allocations: 258.8 kB / 327.9 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.08818, allocations: 28 kB / 327.9 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.08854, allocations: 48.02 kB / 328 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.08868, allocations: 108.7 kB / 328.1 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.08873, allocations: 39.98 kB / 328.1 MB, free: 8.062 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005028/0.08923, allocations: 0.6758 MB / 328.8 MB, free: 7.387 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08923, allocations: 0 / 328.8 MB, free: 7.387 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001068/0.0903, allocations: 471.9 kB / 329.3 MB, free: 6.926 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%), (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.0002523/0.09055, allocations: 198.9 kB / 329.5 MB, free: 6.723 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.09186, allocations: 1.414 MB / 330.9 MB, free: 5.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.09186, allocations: 0 / 330.9 MB, free: 5.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000843/0.0927, allocations: 1.204 MB / 332.1 MB, free: 3.977 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.09371, allocations: 441.1 kB / 332.5 MB, free: 3.559 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.09806, allocations: 3.988 MB / 336.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.09854, allocations: 0.5966 MB / 337.1 MB, free: 14.81 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004681/0.09901, allocations: 217.9 kB / 337.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006398/0.09965, allocations: 473.9 kB / 337.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.09965, allocations: 0 / 337.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of Templates: time 0.1311/0.2308, allocations: 26.09 MB / 363.9 MB, free: 90.21 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.5587533083744347]