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.001656/0.001656, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001062/0.001062, allocations: 168.9 kB / 25.69 MB, free: 8.453 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.8605/0.8605, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.964e-06/1.964e-06, allocations: 4 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.968e-05, allocations: 6.25 kB / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.008061/0.008081, allocations: 9.935 MB / 261.5 MB, free: 13.26 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006592/0.01467, allocations: 3.516 MB / 265 MB, free: 9.727 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.01587, allocations: 63.56 kB / 265.1 MB, free: 9.664 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.01756, allocations: 0.78 MB / 265.8 MB, free: 8.879 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.01974, allocations: 0.9351 MB / 266.8 MB, free: 7.938 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008269/0.02057, allocations: 419.4 kB / 267.2 MB, free: 7.527 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003004/0.02357, allocations: 2.859 MB / 270 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.02513, allocations: 1.324 MB / 271.4 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.0279, allocations: 2.117 MB / 273.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007961/0.03586, allocations: 1.391 MB / 274.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006754/0.03653, allocations: 324 kB / 275.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007714/0.03731, allocations: 419.8 kB / 275.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009516/0.03826, allocations: 0.9348 MB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007334/0.04559, allocations: 1.021 MB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008673/0.05426, allocations: 2.363 MB / 279.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.05427, allocations: 4 kB / 279.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.05427, allocations: 0 / 279.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.619e-05/0.05434, allocations: 0 / 279.9 MB, free: 10.67 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.009913/0.06425, allocations: 2.79 MB / 282.7 MB, free: 7.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.06429, allocations: 11.98 kB / 282.7 MB, free: 7.828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007861/0.06507, allocations: 408.5 kB / 283.1 MB, free: 7.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007867/0.07294, allocations: 1.075 MB / 284.2 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.07305, allocations: 164.8 kB / 284.4 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002715/0.07333, allocations: 220.3 kB / 284.6 MB, free: 5.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008269/0.08159, allocations: 1.703 MB / 286.3 MB, free: 4.102 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.846e-05/0.08164, allocations: 3.938 kB / 286.3 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.08181, allocations: 95.98 kB / 286.4 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.08192, allocations: 112.3 kB / 286.5 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.08315, allocations: 0.6502 MB / 287.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.09807, allocations: 5.87 MB / 293 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007406/0.09881, allocations: 0.6407 MB / 293.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/0.09933, allocations: 423.4 kB / 294.1 MB, free: 12.01 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.09948, allocations: 64.95 kB / 294.1 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.09951, allocations: 51.55 kB / 294.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of pre-optimization done (n=105): time 2.615e-06/0.09951, allocations: 0 / 294.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.004109/0.1036, allocations: 2.57 MB / 296.7 MB, free: 9.285 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.1036, allocations: 68.34 kB / 296.8 MB, free: 9.207 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006999/0.1043, allocations: 1.047 MB / 297.9 MB, free: 8.145 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/0.1044, allocations: 49.7 kB / 297.9 MB, free: 8.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000586/0.105, allocations: 0.952 MB / 298.9 MB, free: 7.125 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.1052, allocations: 448.1 kB / 299.3 MB, free: 6.684 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.1054, allocations: 255.4 kB / 299.5 MB, free: 6.426 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.1055, allocations: 309.1 kB / 299.8 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.1057, allocations: 166.8 kB / 300 MB, free: 5.957 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.1061, allocations: 0.5884 MB / 300.6 MB, free: 5.188 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007081/0.1068, allocations: 0.9266 MB / 301.5 MB, free: 4.074 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1068, allocations: 0 / 301.5 MB, free: 4.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.001165/0.108, allocations: 1.046 MB / 302.6 MB, free: 3.004 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.108, allocations: 8 kB / 302.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.108, allocations: 16 kB / 302.6 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004542/0.1084, allocations: 240 kB / 302.8 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005704/0.109, allocations: 307.5 kB / 303.1 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002896/0.1119, allocations: 4.742 MB / 307.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.1123, allocations: 59.94 kB / 307.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.347e-05/0.1124, allocations: 51.98 kB / 308 MB, free: 13.3 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.0003344/0.1127, allocations: 212 kB / 308.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.1129, allocations: 135.9 kB / 308.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.1139, allocations: 0.8805 MB / 309.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.114, allocations: 12 kB / 309.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.114, allocations: 4 kB / 309.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.114, allocations: 7.969 kB / 309.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/0.1167, allocations: 2.522 MB / 311.7 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1167, allocations: 4 kB / 311.8 MB, free: 9.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004245/0.1171, allocations: 196.2 kB / 311.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007982/0.1179, allocations: 307.9 kB / 312.2 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/0.118, allocations: 31.98 kB / 312.3 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/0.121, allocations: 5.932 MB / 318.2 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.121, allocations: 7.938 kB / 318.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.1227, allocations: 1.323 MB / 319.5 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003424/0.123, allocations: 202.9 kB / 319.7 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.1232, allocations: 31.98 kB / 319.8 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.1235, allocations: 43.98 kB / 319.8 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.1237, allocations: 112.7 kB / 319.9 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.1237, allocations: 27.98 kB / 319.9 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004372/0.1241, allocations: 0.5238 MB / 320.5 MB, free: 148 kB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1241, allocations: 0 / 320.5 MB, free: 148 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.001096/0.1252, allocations: 476 kB / 320.9 MB, free: 15.68 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.0002955/0.1255, allocations: 180.1 kB / 321.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.1268, allocations: 1.184 MB / 322.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.236e-05/0.1268, allocations: 20.44 kB / 322.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008255/0.1276, allocations: 0.9467 MB / 323.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009523/0.1286, allocations: 439.4 kB / 323.7 MB, free: 12.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004516/0.1331, allocations: 3.822 MB / 327.5 MB, free: 8.902 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.1335, allocations: 0.5302 MB / 328 MB, free: 8.344 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004751/0.134, allocations: 209.9 kB / 328.2 MB, free: 8.133 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006426/0.1346, allocations: 419.1 kB / 328.7 MB, free: 7.715 MB / 314.7 MB Notification: Performance of SimCode: time 1.403e-06/0.1346, allocations: 4 kB / 328.7 MB, free: 7.711 MB / 314.7 MB Notification: Performance of Templates: time 0.1174/0.252, allocations: 26.04 MB / 354.7 MB, free: 97.07 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.4147598948329687]