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.0008183/0.0008183, allocations: 91.61 kB / 22.19 MB, free: 2.383 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.0007894/0.0007894, allocations: 163.6 kB / 25.45 MB, free: 9.352 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.8015/0.8015, allocations: 158.6 MB / 187.2 MB, free: 3.051 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.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|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.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.182e-05, allocations: 2.281 kB / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.007399/0.007421, allocations: 9.066 MB / 308.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003418/0.01084, allocations: 3.288 MB / 312.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004847/0.01132, allocations: 63.56 kB / 312.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009908/0.01231, allocations: 0.7722 MB / 312.9 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.01347, allocations: 0.9157 MB / 313.8 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.01389, allocations: 427.3 kB / 314.2 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001667/0.01556, allocations: 2.87 MB / 317.1 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.01661, allocations: 1.289 MB / 318.4 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.01787, allocations: 1.879 MB / 320.3 MB, free: 2.199 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.01894, allocations: 1.36 MB / 321.6 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002372/0.01918, allocations: 336 kB / 322 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.01957, allocations: 423.8 kB / 322.4 MB, free: 96 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006555/0.02022, allocations: 0.9777 MB / 323.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006263/0.02085, allocations: 1.033 MB / 324.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002458/0.02331, allocations: 4.44 MB / 328.8 MB, free: 9.625 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.02331, allocations: 0 / 328.8 MB, free: 9.625 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.02331, allocations: 0 / 328.8 MB, free: 9.625 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.468e-05/0.02334, allocations: 3.938 kB / 328.8 MB, free: 9.621 MB / 314.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.003389/0.02673, allocations: 3.026 MB / 331.9 MB, free: 6.547 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.02676, allocations: 15.98 kB / 331.9 MB, free: 6.531 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004628/0.02723, allocations: 323 kB / 332.2 MB, free: 6.215 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.02884, allocations: 1.46 MB / 333.6 MB, free: 4.707 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-05/0.02892, allocations: 160.8 kB / 333.8 MB, free: 4.547 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.02914, allocations: 228.3 kB / 334 MB, free: 4.324 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003151/0.03229, allocations: 3.025 MB / 337.1 MB, free: 1.188 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.406e-05/0.03233, allocations: 4 kB / 337.1 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.03247, allocations: 88 kB / 337.1 MB, free: 1.098 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.169e-05/0.03255, allocations: 116.3 kB / 337.3 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002553/0.0351, allocations: 2.422 MB / 339.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007433/0.04254, allocations: 7.835 MB / 347.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.04387, allocations: 1.176 MB / 348.7 MB, free: 5.262 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.04488, allocations: 0.9131 MB / 349.6 MB, free: 4.348 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.04503, allocations: 48.95 kB / 349.6 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.04506, allocations: 55.48 kB / 349.7 MB, free: 4.234 MB / 330.7 MB Notification: Performance of pre-optimization done (n=105): time 3.106e-06/0.04507, allocations: 0 / 349.7 MB, free: 4.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.1391/0.1842, allocations: 6.009 MB / 355.7 MB, free: 58.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.1842, allocations: 64.89 kB / 355.8 MB, free: 58.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.1856, allocations: 1.424 MB / 357.2 MB, free: 58.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/0.1857, allocations: 50.98 kB / 357.2 MB, free: 58.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/0.1861, allocations: 1.136 MB / 358.4 MB, free: 57.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.1862, allocations: 449.6 kB / 358.8 MB, free: 57.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/0.1865, allocations: 272.8 kB / 359.1 MB, free: 56.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.259e-05/0.1865, allocations: 302.4 kB / 359.4 MB, free: 56.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007486/0.1873, allocations: 0.7057 MB / 360.1 MB, free: 56.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008807/0.1882, allocations: 1.139 MB / 361.2 MB, free: 55.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.1898, allocations: 1.964 MB / 363.2 MB, free: 54.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.1898, allocations: 3.969 kB / 363.2 MB, free: 54.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.002491/0.1923, allocations: 2.43 MB / 365.6 MB, free: 53.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1923, allocations: 10.28 kB / 365.6 MB, free: 53.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.1923, allocations: 16.81 kB / 365.7 MB, free: 53.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005788/0.1929, allocations: 418.3 kB / 366.1 MB, free: 53.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006915/0.1936, allocations: 352.2 kB / 366.4 MB, free: 53.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003337/0.1969, allocations: 6.689 MB / 373.1 MB, free: 48.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005926/0.1975, allocations: 105.8 kB / 373.2 MB, free: 48.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.488e-05/0.1976, allocations: 68.02 kB / 373.3 MB, free: 48.27 MB / 330.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.0006563/0.1982, allocations: 0.715 MB / 374 MB, free: 47.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.1984, allocations: 168.5 kB / 374.1 MB, free: 47.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/0.2002, allocations: 2.087 MB / 376.2 MB, free: 46.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2002, allocations: 15.16 kB / 376.2 MB, free: 46.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2002, allocations: 7.844 kB / 376.3 MB, free: 46.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.2002, allocations: 3.844 kB / 376.3 MB, free: 46.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003492/0.2037, allocations: 4.123 MB / 380.4 MB, free: 43.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2037, allocations: 4.875 kB / 380.4 MB, free: 43.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.2041, allocations: 220.7 kB / 380.6 MB, free: 42.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005415/0.2047, allocations: 454.4 kB / 381 MB, free: 42.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.2047, allocations: 35.92 kB / 381.1 MB, free: 42.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003292/0.208, allocations: 8.115 MB / 389.2 MB, free: 33.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.208, allocations: 4 kB / 389.2 MB, free: 33.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.2104, allocations: 3.119 MB / 392.3 MB, free: 30.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.2107, allocations: 318.7 kB / 392.6 MB, free: 30.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.2108, allocations: 35.98 kB / 392.7 MB, free: 30.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.2112, allocations: 85.59 kB / 392.7 MB, free: 30.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.2114, allocations: 108.7 kB / 392.9 MB, free: 30.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.2114, allocations: 41.48 kB / 392.9 MB, free: 30.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006821/0.2121, allocations: 0.9494 MB / 393.8 MB, free: 29.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.2121, allocations: 0 / 393.8 MB, free: 29.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001038/0.2131, allocations: 483.9 kB / 394.3 MB, free: 28.61 MB / 330.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.0002556/0.2134, allocations: 202.5 kB / 394.5 MB, free: 28.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.2152, allocations: 2.137 MB / 396.7 MB, free: 26.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2152, allocations: 4.438 kB / 396.7 MB, free: 26.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.2162, allocations: 1.417 MB / 398.1 MB, free: 24.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009679/0.2172, allocations: 420.6 kB / 398.5 MB, free: 24.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.2209, allocations: 4.647 MB / 403.1 MB, free: 19.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/0.2215, allocations: 1.273 MB / 404.4 MB, free: 18.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.2218, allocations: 128.5 kB / 404.5 MB, free: 18.21 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2218, allocations: 0 / 404.5 MB, free: 18.21 MB / 330.7 MB Notification: Performance of Templates: time 0.04621/0.268, allocations: 73.85 MB / 478.4 MB, free: 8.219 MB / 394.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.322259455919266]