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.00133/0.00133, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001461/0.001461, allocations: 213.7 kB / 24.54 MB, free: 4.02 MB / 14.72 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.494/1.494, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|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.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 59.91 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2879, allocations: 53.36 MB / 432.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01363/0.3015, allocations: 10.46 MB / 442.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00721/0.3087, allocations: 3.493 MB / 446.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.3106, allocations: 71.56 kB / 446.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002681/0.3132, allocations: 0.8423 MB / 447 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.3169, allocations: 0.8893 MB / 447.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.3181, allocations: 435.3 kB / 448.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00399/0.3221, allocations: 2.765 MB / 451.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.3242, allocations: 1.36 MB / 452.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.3264, allocations: 1.293 MB / 453.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003361/0.3298, allocations: 1.623 MB / 455.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009822/0.3308, allocations: 336 kB / 455.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.3322, allocations: 447.8 kB / 456.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.3335, allocations: 0.9504 MB / 457.1 MB, free: 14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002743/0.3362, allocations: 1.517 MB / 458.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006257/0.3425, allocations: 4.41 MB / 463 MB, free: 8.055 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3425, allocations: 0 / 463 MB, free: 8.055 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3425, allocations: 0 / 463 MB, free: 8.055 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.339e-05/0.3426, allocations: 0 / 463 MB, free: 8.055 MB / 366.1 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.008788/0.3514, allocations: 3.065 MB / 466.1 MB, free: 4.941 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.3514, allocations: 8.031 kB / 466.1 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.3526, allocations: 339 kB / 466.4 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003502/0.3561, allocations: 1.555 MB / 467.9 MB, free: 3.008 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.3563, allocations: 168.4 kB / 468.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003865/0.3566, allocations: 223.9 kB / 468.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006683/0.3633, allocations: 2.921 MB / 471.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-05/0.3634, allocations: 3.938 kB / 471.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002341/0.3636, allocations: 88 kB / 471.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/0.3638, allocations: 116.3 kB / 471.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005575/0.3693, allocations: 2.433 MB / 473.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01727/0.3866, allocations: 8.872 MB / 482.8 MB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.3891, allocations: 1.189 MB / 484 MB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/0.391, allocations: 0.9132 MB / 484.9 MB, free: 1.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/0.3913, allocations: 56.94 kB / 484.9 MB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.3913, allocations: 43.56 kB / 485 MB, free: 1.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 2.785e-06/0.3913, allocations: 0 / 485 MB, free: 1.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01664/0.408, allocations: 6.077 MB / 491 MB, free: 11.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.408, allocations: 64.41 kB / 491.1 MB, free: 11.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003476/0.4115, allocations: 1.566 MB / 492.7 MB, free: 9.836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.4116, allocations: 45.7 kB / 492.7 MB, free: 9.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.4127, allocations: 1.146 MB / 493.9 MB, free: 8.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005239/0.4133, allocations: 456.1 kB / 494.3 MB, free: 8.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005507/0.4138, allocations: 271.5 kB / 494.6 MB, free: 7.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.414, allocations: 301.1 kB / 494.9 MB, free: 7.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.4155, allocations: 0.7066 MB / 495.6 MB, free: 6.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.4174, allocations: 1.142 MB / 496.7 MB, free: 5.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003613/0.421, allocations: 1.967 MB / 498.7 MB, free: 3.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.197e-05/0.421, allocations: 4 kB / 498.7 MB, free: 3.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.00539/0.4264, allocations: 2.448 MB / 0.4894 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.4264, allocations: 12 kB / 0.4894 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/0.4265, allocations: 12 kB / 0.4894 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.4277, allocations: 423.3 kB / 0.4898 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.4291, allocations: 351.5 kB / 0.4901 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008898/0.438, allocations: 6.828 MB / 0.4968 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.4398, allocations: 104 kB / 0.4969 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/0.44, allocations: 67.98 kB / 0.497 GB, free: 8.824 MB / 414.1 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.001716/0.4417, allocations: 0.72 MB / 0.4977 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006236/0.4424, allocations: 182.9 kB / 0.4979 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00474/0.4471, allocations: 2.111 MB / 0.4999 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.4471, allocations: 12 kB / 0.4999 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/0.4471, allocations: 4 kB / 0.4999 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.4472, allocations: 11.91 kB / 0.4999 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.4573, allocations: 4.66 MB / 0.5045 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.4573, allocations: 12.03 kB / 0.5045 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.4584, allocations: 223.7 kB / 0.5047 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/0.4597, allocations: 447 kB / 0.5051 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.4598, allocations: 39.97 kB / 0.5052 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009781/0.4696, allocations: 8.273 MB / 0.5133 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.4696, allocations: 8 kB / 0.5133 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006184/0.4758, allocations: 3.136 MB / 0.5163 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/0.4772, allocations: 334.6 kB / 0.5167 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005092/0.4777, allocations: 28 kB / 0.5167 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.479, allocations: 87.89 kB / 0.5168 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/0.4793, allocations: 104.7 kB / 0.5169 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.4794, allocations: 39.98 kB / 0.5169 GB, free: 3.715 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002253/0.4817, allocations: 1.067 MB / 0.5179 GB, free: 2.652 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4817, allocations: 0 / 0.5179 GB, free: 2.652 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002127/0.4838, allocations: 496.1 kB / 0.5184 GB, free: 2.168 MB / 430.1 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%), (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.0004801/0.4843, allocations: 198.9 kB / 0.5186 GB, free: 1.965 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004604/0.4889, allocations: 2.148 MB / 0.5207 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.4889, allocations: 0 / 0.5207 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003042/0.4919, allocations: 1.427 MB / 0.5221 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/0.495, allocations: 490.4 kB / 0.5226 GB, free: 13.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.5055, allocations: 4.771 MB / 0.5272 GB, free: 8.984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002668/0.5082, allocations: 1.871 MB / 0.5291 GB, free: 7.082 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001526/0.5097, allocations: 390.9 kB / 0.5294 GB, free: 6.695 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005156/0.5102, allocations: 127.4 kB / 0.5295 GB, free: 6.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5102, allocations: 0 / 0.5295 GB, free: 6.57 MB / 446.1 MB Notification: Performance of Templates: time 0.2982/0.8084, allocations: 28.22 MB / 0.5571 GB, free: 88.75 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.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: 6.1105239521712065]