Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009648/0.0009648, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009712/0.0009712, allocations: 165.5 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.037/1.037, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.[0-9,]+.|smpm.idq_dr.[0-9,]+.|smpm.idq_rr.[0-9,]+.|smpm.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.[0-9,]+.|smpm.idq_dr.[0-9,]+.|smpm.idq_rr.[0-9,]+.|smpm.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.899e-05, allocations: 5.266 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01331/0.01334, allocations: 10.06 MB / 283.5 MB, free: 6.914 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008909/0.02225, allocations: 3.531 MB / 287 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.02434, allocations: 71.5 kB / 287.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.02674, allocations: 0.7877 MB / 287.9 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003314/0.03006, allocations: 0.9195 MB / 288.8 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009757/0.03103, allocations: 431.3 kB / 289.2 MB, free: 1.156 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1281/0.1591, allocations: 2.863 MB / 292.1 MB, free: 16.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002573/0.1617, allocations: 1.343 MB / 293.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004117/0.1658, allocations: 2.141 MB / 295.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002764/0.1685, allocations: 1.389 MB / 297 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009729/0.1695, allocations: 324.1 kB / 297.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.1705, allocations: 429.5 kB / 297.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008603/0.1714, allocations: 0.9397 MB / 298.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.1733, allocations: 1.02 MB / 299.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00321/0.1765, allocations: 2.376 MB / 302 MB, free: 14.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.1765, allocations: 5.375 kB / 302 MB, free: 14.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1765, allocations: 0 / 302 MB, free: 14.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001177/0.1766, allocations: 0 / 302 MB, free: 14.14 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.004234/0.1809, allocations: 2.814 MB / 304.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1809, allocations: 14.8 kB / 304.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008242/0.1817, allocations: 411.1 kB / 305.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.1833, allocations: 1.158 MB / 306.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.053e-05/0.1834, allocations: 168.6 kB / 306.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/0.1836, allocations: 226.2 kB / 306.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.1854, allocations: 1.693 MB / 308.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-05/0.1855, allocations: 11.05 kB / 308.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.1856, allocations: 95.28 kB / 308.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-05/0.1857, allocations: 116.5 kB / 308.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009954/0.1867, allocations: 0.6447 MB / 309.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006052/0.1927, allocations: 5.877 MB / 315.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/0.1934, allocations: 0.6473 MB / 315.9 MB, free: 5.051 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.1939, allocations: 434.2 kB / 316.3 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.1941, allocations: 56.97 kB / 316.4 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1941, allocations: 47.91 kB / 316.4 MB, free: 4.531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=105): time 2.995e-06/0.1941, allocations: 0 / 316.4 MB, free: 4.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=122): time 0.00416/0.1983, allocations: 2.574 MB / 319 MB, free: 1.988 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.1983, allocations: 64.41 kB / 319.1 MB, free: 1.914 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008462/0.1991, allocations: 1.062 MB / 320.1 MB, free: 1.035 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/0.1992, allocations: 45.7 kB / 320.2 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.1995, allocations: 0.9458 MB / 321.1 MB, free: 96 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.1997, allocations: 450.8 kB / 321.5 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/0.2, allocations: 261.8 kB / 321.8 MB, free: 15.44 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.675e-05/0.2001, allocations: 305.1 kB / 322.1 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.2004, allocations: 173.1 kB / 322.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.2008, allocations: 0.5803 MB / 322.8 MB, free: 14.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009905/0.2018, allocations: 0.9194 MB / 323.8 MB, free: 13.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.2018, allocations: 8 kB / 323.8 MB, free: 13.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.001385/0.2032, allocations: 1.034 MB / 324.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.2032, allocations: 8 kB / 324.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.2032, allocations: 18.56 kB / 324.8 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005092/0.2037, allocations: 255 kB / 325.1 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/0.2044, allocations: 329 kB / 325.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.2075, allocations: 4.76 MB / 330.2 MB, free: 6.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000779/0.2083, allocations: 55.94 kB / 330.2 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.109e-05/0.2084, allocations: 51.98 kB / 330.3 MB, free: 6.645 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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.0007375/0.2091, allocations: 210.1 kB / 330.5 MB, free: 6.449 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.2094, allocations: 135.9 kB / 330.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.2106, allocations: 0.8785 MB / 331.5 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.2106, allocations: 12 kB / 331.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.2107, allocations: 4 kB / 331.5 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.2107, allocations: 3.984 kB / 331.5 MB, free: 5.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/0.2144, allocations: 2.513 MB / 334 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.2145, allocations: 8.094 kB / 334 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/0.215, allocations: 202.3 kB / 334.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006776/0.2156, allocations: 327.7 kB / 334.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.2157, allocations: 27.98 kB / 334.6 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004347/0.2201, allocations: 5.942 MB / 340.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.2201, allocations: 4 kB / 340.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.2225, allocations: 1.297 MB / 341.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006447/0.2231, allocations: 222.9 kB / 342 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.2233, allocations: 32 kB / 342.1 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.2237, allocations: 47.97 kB / 342.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.224, allocations: 100 kB / 342.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/0.224, allocations: 35.45 kB / 342.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007502/0.2248, allocations: 0.5284 MB / 342.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2248, allocations: 0 / 342.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001737/0.2265, allocations: 476 kB / 343.2 MB, free: 9.672 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (107): * Single equations (assignments): 103 * 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.0003945/0.2269, allocations: 171 kB / 343.4 MB, free: 9.504 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001842/0.2287, allocations: 1.184 MB / 344.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.869e-05/0.2288, allocations: 16.5 kB / 344.6 MB, free: 8.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.2299, allocations: 0.9416 MB / 345.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.2312, allocations: 444.9 kB / 346 MB, free: 6.988 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005833/0.237, allocations: 3.819 MB / 349.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.2376, allocations: 0.5337 MB / 350.3 MB, free: 2.551 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005871/0.2381, allocations: 217.9 kB / 350.5 MB, free: 2.332 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006945/0.2388, allocations: 423.1 kB / 351 MB, free: 1.91 MB / 298.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2388, allocations: 0 / 351 MB, free: 1.91 MB / 298.7 MB Notification: Performance of Templates: time 0.03638/0.2752, allocations: 26.16 MB / 377.1 MB, free: 8.203 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/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.511627205647528]