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.001053/0.001053, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001279/0.001279, allocations: 167.4 kB / 25.61 MB, free: 8.578 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 0.9305/0.9305, allocations: 177 MB / 205.9 MB, free: 4.449 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.092e-06/1.092e-06, allocations: 0 / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.638e-06/1.073e-05, allocations: 2.312 kB / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.008277/0.008287, allocations: 10 MB / 284.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004724/0.01301, allocations: 3.401 MB / 287.5 MB, free: 6.828 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007181/0.01373, allocations: 75.5 kB / 287.6 MB, free: 6.754 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.01492, allocations: 0.7645 MB / 288.4 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.0164, allocations: 0.9313 MB / 289.3 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.01696, allocations: 427.2 kB / 289.7 MB, free: 4.629 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002244/0.01921, allocations: 2.859 MB / 292.6 MB, free: 1.758 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.02041, allocations: 1.309 MB / 293.9 MB, free: 392 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.02244, allocations: 2.156 MB / 296 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.02362, allocations: 1.403 MB / 297.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005317/0.02416, allocations: 324 kB / 297.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004951/0.02465, allocations: 419.8 kB / 298.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005382/0.02519, allocations: 0.9387 MB / 299.1 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007015/0.02589, allocations: 1.021 MB / 300.1 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.02764, allocations: 2.387 MB / 302.5 MB, free: 7.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.02764, allocations: 0 / 302.5 MB, free: 7.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.02764, allocations: 0 / 302.5 MB, free: 7.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.02766, allocations: 0 / 302.5 MB, free: 7.73 MB / 282.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.003135/0.03079, allocations: 3.071 MB / 305.6 MB, free: 4.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.03082, allocations: 8.031 kB / 305.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006385/0.03146, allocations: 0.5029 MB / 306.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.03284, allocations: 1.491 MB / 307.6 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-05/0.03292, allocations: 164.8 kB / 307.8 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.03313, allocations: 224.3 kB / 308 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.0348, allocations: 1.664 MB / 309.6 MB, free: 392 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.09e-05/0.03484, allocations: 7.953 kB / 309.6 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.03496, allocations: 88 kB / 309.7 MB, free: 296 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.343e-05/0.03504, allocations: 116.3 kB / 309.8 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009093/0.03595, allocations: 0.6634 MB / 310.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00668/0.04263, allocations: 7.271 MB / 317.8 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008064/0.04344, allocations: 0.6458 MB / 318.4 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005944/0.04403, allocations: 462.2 kB / 318.9 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003803/0.04441, allocations: 52.95 kB / 318.9 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.04444, allocations: 46.39 kB / 319 MB, free: 6.703 MB / 298.7 MB Notification: Performance of pre-optimization done (n=105): time 2.385e-06/0.04444, allocations: 4 kB / 319 MB, free: 6.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.003828/0.04827, allocations: 2.601 MB / 321.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.04829, allocations: 64.41 kB / 321.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008854/0.04918, allocations: 1.24 MB / 322.9 MB, free: 2.723 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.434e-05/0.04923, allocations: 45.7 kB / 322.9 MB, free: 2.672 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000549/0.04978, allocations: 1.238 MB / 324.2 MB, free: 1.422 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.05001, allocations: 452.1 kB / 324.6 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.05028, allocations: 292.9 kB / 324.9 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.05038, allocations: 484.8 kB / 325.4 MB, free: 208 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.0506, allocations: 171.8 kB / 325.5 MB, free: 36 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007372/0.05134, allocations: 0.7817 MB / 326.3 MB, free: 15.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008053/0.05215, allocations: 1.095 MB / 327.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.05215, allocations: 4 kB / 327.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.001371/0.05352, allocations: 1.284 MB / 328.7 MB, free: 12.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.05354, allocations: 12 kB / 328.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.05355, allocations: 12 kB / 328.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004664/0.05402, allocations: 253 kB / 329 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/0.05462, allocations: 315.5 kB / 329.3 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003398/0.05801, allocations: 6.471 MB / 335.7 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.05847, allocations: 63.88 kB / 335.8 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.05854, allocations: 55.98 kB / 335.9 MB, free: 4.84 MB / 314.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.0003542/0.05889, allocations: 252.1 kB / 336.1 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.05911, allocations: 210.9 kB / 336.3 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.06036, allocations: 1.024 MB / 337.3 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.06036, allocations: 12 kB / 337.4 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.06037, allocations: 4 kB / 337.4 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.06038, allocations: 11.91 kB / 337.4 MB, free: 3.289 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00364/0.06402, allocations: 3.004 MB / 340.4 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.06402, allocations: 4 kB / 340.4 MB, free: 144 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000444/0.06447, allocations: 192.2 kB / 340.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005074/0.06498, allocations: 270.3 kB / 340.8 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.06503, allocations: 31.98 kB / 340.9 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004056/0.06908, allocations: 8.189 MB / 349 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.06908, allocations: 4 kB / 349 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.07065, allocations: 1.53 MB / 350.6 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.07097, allocations: 266.8 kB / 350.8 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.07109, allocations: 31.98 kB / 350.9 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.07146, allocations: 51.97 kB / 350.9 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.0716, allocations: 104.7 kB / 351 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.07164, allocations: 27.98 kB / 351.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000515/0.07216, allocations: 0.6917 MB / 351.7 MB, free: 4.191 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.07216, allocations: 0 / 351.7 MB, free: 4.191 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001057/0.07321, allocations: 472.1 kB / 352.2 MB, free: 3.73 MB / 330.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.0002689/0.07348, allocations: 205.2 kB / 352.4 MB, free: 3.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.07482, allocations: 1.411 MB / 353.8 MB, free: 2.051 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.07482, allocations: 0 / 353.8 MB, free: 2.051 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.07596, allocations: 1.211 MB / 355 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.07698, allocations: 438.2 kB / 355.5 MB, free: 372 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1166/0.1936, allocations: 3.976 MB / 359.4 MB, free: 76.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003593/0.1971, allocations: 0.5954 MB / 360 MB, free: 76.72 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007211/0.1979, allocations: 219.3 kB / 360.2 MB, free: 76.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008197/0.1987, allocations: 475.1 kB / 360.7 MB, free: 76.61 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1987, allocations: 1.094 kB / 360.7 MB, free: 76.61 MB / 330.7 MB Notification: Performance of Templates: time 0.0425/0.2412, allocations: 26.71 MB / 387.4 MB, free: 58.04 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 -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.579408897086978]