Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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.001835/0.001835, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.001441/0.001441, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 258.2 MB, free: 7.781 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+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.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_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_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 51.86 kB / 379 MB, free: 2.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3066, allocations: 53.35 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01273/0.3193, allocations: 9.15 MB / 441.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007882/0.3272, allocations: 3.276 MB / 444.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/0.3294, allocations: 75.5 kB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002495/0.3319, allocations: 0.7644 MB / 445.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00367/0.3356, allocations: 0.8931 MB / 446.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.337, allocations: 431.4 kB / 446.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004879/0.3419, allocations: 2.768 MB / 449.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002538/0.3444, allocations: 1.356 MB / 451 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002544/0.347, allocations: 1.3 MB / 452.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003258/0.3502, allocations: 1.623 MB / 454 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009165/0.3511, allocations: 340 kB / 454.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.3526, allocations: 439.8 kB / 454.7 MB, free: 204 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001231/0.3538, allocations: 0.9506 MB / 455.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002134/0.3559, allocations: 1.217 MB / 456.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006632/0.3625, allocations: 4.433 MB / 461.3 MB, free: 9.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.3626, allocations: 7.984 kB / 461.3 MB, free: 9.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3626, allocations: 0 / 461.3 MB, free: 9.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001487/0.3627, allocations: 0 / 461.3 MB, free: 9.562 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.009136/0.3718, allocations: 3.061 MB / 464.4 MB, free: 6.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.3719, allocations: 8.031 kB / 464.4 MB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.373, allocations: 335 kB / 464.7 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004058/0.3771, allocations: 1.555 MB / 466.3 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.3773, allocations: 176.3 kB / 466.5 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005124/0.3778, allocations: 223.9 kB / 466.7 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006296/0.3841, allocations: 3.017 MB / 469.7 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.944e-05/0.3841, allocations: 11.88 kB / 469.7 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002674/0.3844, allocations: 88 kB / 469.8 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/0.3846, allocations: 112.3 kB / 469.9 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00538/0.3899, allocations: 2.434 MB / 472.3 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01758/0.4075, allocations: 7.827 MB / 480.2 MB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/0.4102, allocations: 1.178 MB / 481.3 MB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002076/0.4123, allocations: 0.9171 MB / 482.3 MB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/0.4126, allocations: 48.91 kB / 482.3 MB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/0.4126, allocations: 43.56 kB / 482.3 MB, free: 4.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 4.058e-06/0.4126, allocations: 0 / 482.3 MB, free: 4.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01586/0.4285, allocations: 6.061 MB / 488.4 MB, free: 13.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.4286, allocations: 68.41 kB / 488.5 MB, free: 13.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002516/0.4311, allocations: 1.421 MB / 489.9 MB, free: 12.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002144/0.4313, allocations: 49.7 kB / 489.9 MB, free: 12.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.4324, allocations: 1.149 MB / 491.1 MB, free: 11.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005274/0.4329, allocations: 452.1 kB / 491.5 MB, free: 10.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004878/0.4334, allocations: 279.5 kB / 491.8 MB, free: 10.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4336, allocations: 301.1 kB / 492.1 MB, free: 10.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.4349, allocations: 0.7066 MB / 492.8 MB, free: 9.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.4366, allocations: 1.138 MB / 493.9 MB, free: 8.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003138/0.4398, allocations: 1.971 MB / 495.9 MB, free: 6.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.4398, allocations: 4 kB / 495.9 MB, free: 6.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004716/0.4445, allocations: 2.432 MB / 498.4 MB, free: 3.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.4445, allocations: 11.94 kB / 498.4 MB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/0.4445, allocations: 12 kB / 498.4 MB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.4456, allocations: 419.4 kB / 498.8 MB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.4472, allocations: 355.4 kB / 499.1 MB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007971/0.4551, allocations: 6.709 MB / 0.494 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.4566, allocations: 107.8 kB / 0.4941 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.4568, allocations: 60 kB / 0.4941 GB, free: 11.62 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.001361/0.4581, allocations: 0.7241 MB / 0.4949 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003808/0.4585, allocations: 166.9 kB / 0.495 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/0.4625, allocations: 2.098 MB / 0.4971 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.4625, allocations: 16 kB / 0.4971 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.4625, allocations: 7.984 kB / 0.4971 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.4625, allocations: 3.984 kB / 0.4971 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008544/0.4711, allocations: 4.122 MB / 0.5011 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.4711, allocations: 7.938 kB / 0.5011 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.4721, allocations: 215.7 kB / 0.5013 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/0.4734, allocations: 459.4 kB / 0.5018 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/0.4735, allocations: 39.97 kB / 0.5018 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00972/0.4833, allocations: 8.133 MB / 0.5097 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.4833, allocations: 8 kB / 0.5098 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00568/0.489, allocations: 3.127 MB / 0.5128 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.4901, allocations: 314.8 kB / 0.5131 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.4903, allocations: 35.98 kB / 0.5131 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009313/0.4913, allocations: 79.91 kB / 0.5132 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/0.4915, allocations: 104.7 kB / 0.5133 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.499e-05/0.4916, allocations: 36 kB / 0.5134 GB, free: 7.305 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001554/0.4932, allocations: 0.9535 MB / 0.5143 GB, free: 6.352 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4932, allocations: 0 / 0.5143 GB, free: 6.352 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001932/0.4951, allocations: 492.1 kB / 0.5148 GB, free: 5.871 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.0004676/0.4956, allocations: 202.9 kB / 0.5149 GB, free: 5.664 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004175/0.4998, allocations: 2.143 MB / 0.517 GB, free: 3.477 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.4998, allocations: 0 / 0.517 GB, free: 3.477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00267/0.5024, allocations: 1.42 MB / 0.5184 GB, free: 2.004 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.5046, allocations: 423 kB / 0.5188 GB, free: 1.602 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00914/0.5138, allocations: 4.802 MB / 0.5235 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.5153, allocations: 1.265 MB / 0.5248 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005745/0.5159, allocations: 127.4 kB / 0.5249 GB, free: 11.28 MB / 446.1 MB Notification: Performance of SimCode: time 1.623e-06/0.5159, allocations: 0 / 0.5249 GB, free: 11.28 MB / 446.1 MB Notification: Performance of Templates: time 0.3008/0.8166, allocations: 73.97 MB / 0.5971 GB, free: 48.14 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 12.896165521990042]