Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.007352/0.007352, allocations: 109.7 kB / 21.98 MB, free: 5.184 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.001704/0.001704, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 259 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 68.55 kB / 379.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2747, allocations: 53.37 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01305/0.2878, allocations: 10.45 MB / 443.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008349/0.2961, allocations: 3.493 MB / 447.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002213/0.2983, allocations: 75.5 kB / 447.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002441/0.3008, allocations: 0.8385 MB / 448 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003157/0.3039, allocations: 0.8931 MB / 448.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.3051, allocations: 437 kB / 449.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003843/0.3089, allocations: 2.76 MB / 452.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.3109, allocations: 1.352 MB / 453.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002181/0.3131, allocations: 1.304 MB / 454.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002628/0.3157, allocations: 1.623 MB / 456.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005284/0.3163, allocations: 339.9 kB / 456.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009651/0.3172, allocations: 435.9 kB / 457.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.3182, allocations: 0.966 MB / 458.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001795/0.32, allocations: 1.505 MB / 459.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005536/0.3256, allocations: 4.406 MB / 464 MB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3256, allocations: 0 / 464 MB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3256, allocations: 0 / 464 MB, free: 7.922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001311/0.3257, allocations: 0 / 464 MB, free: 7.922 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.007483/0.3332, allocations: 3.072 MB / 467.1 MB, free: 4.801 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3332, allocations: 8.031 kB / 467.1 MB, free: 4.793 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009151/0.3341, allocations: 331 kB / 467.4 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003197/0.3373, allocations: 1.559 MB / 469 MB, free: 2.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.3375, allocations: 172.4 kB / 469.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003805/0.3379, allocations: 223.9 kB / 469.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005454/0.3433, allocations: 2.917 MB / 472.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.33e-05/0.3434, allocations: 11.94 kB / 472.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/0.3436, allocations: 88 kB / 472.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/0.3437, allocations: 112.3 kB / 472.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004457/0.3482, allocations: 2.426 MB / 474.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01681/0.365, allocations: 8.876 MB / 483.8 MB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/0.3674, allocations: 1.182 MB / 485 MB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.3692, allocations: 0.9131 MB / 485.9 MB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/0.3694, allocations: 60.92 kB / 486 MB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.3695, allocations: 43.56 kB / 486 MB, free: 1.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 3.386e-06/0.3695, allocations: 0 / 486 MB, free: 1.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01494/0.3844, allocations: 6.083 MB / 492.1 MB, free: 11.35 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.3845, allocations: 68.34 kB / 492.2 MB, free: 11.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/0.3871, allocations: 1.569 MB / 493.7 MB, free: 9.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.3873, allocations: 45.7 kB / 493.8 MB, free: 9.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009479/0.3882, allocations: 1.138 MB / 494.9 MB, free: 8.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004276/0.3886, allocations: 452.1 kB / 495.4 MB, free: 8.047 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004469/0.3891, allocations: 275.5 kB / 495.6 MB, free: 7.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.3892, allocations: 301.1 kB / 495.9 MB, free: 7.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.3905, allocations: 0.7183 MB / 496.6 MB, free: 6.754 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.3921, allocations: 1.134 MB / 497.8 MB, free: 5.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00307/0.3952, allocations: 1.963 MB / 499.7 MB, free: 3.285 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.3952, allocations: 8 kB / 499.7 MB, free: 3.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004764/0.4, allocations: 2.444 MB / 0.4904 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.4, allocations: 12.03 kB / 0.4904 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.4, allocations: 16 kB / 0.4904 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.4011, allocations: 423.1 kB / 0.4908 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.4024, allocations: 347.5 kB / 0.4912 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008409/0.4108, allocations: 6.828 MB / 0.4978 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/0.4129, allocations: 108 kB / 0.4979 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/0.4131, allocations: 67.98 kB / 0.498 GB, free: 8.684 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.001982/0.4151, allocations: 0.7177 MB / 0.4987 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000671/0.4158, allocations: 186.9 kB / 0.4989 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00446/0.4202, allocations: 2.111 MB / 0.501 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.4202, allocations: 12 kB / 0.501 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.4202, allocations: 4 kB / 0.501 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.4203, allocations: 11.91 kB / 0.501 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008907/0.4292, allocations: 4.652 MB / 0.5055 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.4292, allocations: 4 kB / 0.5055 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009754/0.4301, allocations: 223.7 kB / 0.5057 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.4314, allocations: 458.1 kB / 0.5062 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.826e-05/0.4315, allocations: 31.98 kB / 0.5062 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009104/0.4406, allocations: 8.276 MB / 0.5143 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.4406, allocations: 4 kB / 0.5143 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005649/0.4463, allocations: 3.144 MB / 0.5174 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.4473, allocations: 326.7 kB / 0.5177 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/0.4476, allocations: 35.98 kB / 0.5177 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009132/0.4485, allocations: 83.91 kB / 0.5178 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/0.4488, allocations: 104.7 kB / 0.5179 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.124e-05/0.4488, allocations: 32 kB / 0.5179 GB, free: 3.594 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00173/0.4506, allocations: 1.078 MB / 0.519 GB, free: 2.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4506, allocations: 4 kB / 0.519 GB, free: 2.516 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001753/0.4523, allocations: 488.1 kB / 0.5194 GB, free: 2.039 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.0004311/0.4528, allocations: 202.7 kB / 0.5196 GB, free: 1.832 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004158/0.4569, allocations: 2.147 MB / 0.5217 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.4569, allocations: 0.875 kB / 0.5217 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002509/0.4594, allocations: 1.43 MB / 0.5231 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.4618, allocations: 485 kB / 0.5236 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00862/0.4705, allocations: 4.822 MB / 0.5283 GB, free: 8.785 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/0.4723, allocations: 1.847 MB / 0.5301 GB, free: 6.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006776/0.473, allocations: 127.4 kB / 0.5302 GB, free: 6.785 MB / 446.1 MB Notification: Performance of SimCode: time 1.503e-06/0.473, allocations: 0 / 0.5302 GB, free: 6.785 MB / 446.1 MB Notification: Performance of Templates: time 0.2823/0.7553, allocations: 74.23 MB / 0.6027 GB, free: 41.18 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 13.098912057001144]