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.001278/0.001278, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001396/0.001396, allocations: 215.2 kB / 23 MB, free: 5.609 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.463/1.463, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.001926/0.001926, allocations: 59.91 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2928, allocations: 53.33 MB / 429.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01319/0.306, allocations: 10.45 MB / 440.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006898/0.3129, allocations: 3.497 MB / 443.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.3143, allocations: 59.75 kB / 443.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.3162, allocations: 0.8307 MB / 444.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.3187, allocations: 0.8853 MB / 445.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009196/0.3196, allocations: 435.3 kB / 446 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003289/0.3229, allocations: 2.755 MB / 448.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.3247, allocations: 1.352 MB / 450.1 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.3268, allocations: 1.281 MB / 451.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002335/0.3291, allocations: 1.623 MB / 453 MB, free: 240 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000507/0.3297, allocations: 332 kB / 453.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008845/0.3305, allocations: 443.8 kB / 453.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.3316, allocations: 0.9543 MB / 454.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001775/0.3334, allocations: 1.509 MB / 456.2 MB, free: 13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005446/0.3388, allocations: 4.406 MB / 460.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.3389, allocations: 3.984 kB / 460.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3389, allocations: 0 / 460.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.596e-05/0.339, allocations: 0 / 460.6 MB, free: 8.578 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.007246/0.3462, allocations: 3.132 MB / 463.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.3463, allocations: 15.97 kB / 463.7 MB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.3473, allocations: 331 kB / 464.1 MB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003129/0.3504, allocations: 1.639 MB / 465.7 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.3506, allocations: 172.3 kB / 465.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004374/0.351, allocations: 223.9 kB / 466.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005741/0.3567, allocations: 2.913 MB / 469 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.569e-05/0.3568, allocations: 11.94 kB / 469 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/0.357, allocations: 91.98 kB / 469.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/0.3572, allocations: 108.3 kB / 469.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004765/0.3619, allocations: 2.437 MB / 471.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01674/0.3787, allocations: 9.042 MB / 480.7 MB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.3812, allocations: 1.626 MB / 482.3 MB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.3829, allocations: 0.9299 MB / 483.3 MB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/0.3832, allocations: 207.2 kB / 483.5 MB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.3833, allocations: 43.56 kB / 483.5 MB, free: 1.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 3.286e-06/0.3833, allocations: 0 / 483.5 MB, free: 1.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.0153/0.3986, allocations: 6.594 MB / 490.1 MB, free: 10.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.3986, allocations: 64.41 kB / 490.2 MB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/0.4013, allocations: 1.566 MB / 491.7 MB, free: 8.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001562/0.4014, allocations: 49.7 kB / 491.8 MB, free: 8.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.4026, allocations: 1.134 MB / 492.9 MB, free: 7.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004383/0.403, allocations: 460.1 kB / 493.4 MB, free: 6.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004501/0.4034, allocations: 271.5 kB / 493.6 MB, free: 6.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4036, allocations: 301.1 kB / 493.9 MB, free: 6.383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.4048, allocations: 0.7144 MB / 494.6 MB, free: 5.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.4063, allocations: 1.134 MB / 495.8 MB, free: 4.352 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002789/0.4091, allocations: 1.971 MB / 497.7 MB, free: 2.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4091, allocations: 0 / 497.7 MB, free: 2.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004238/0.4133, allocations: 2.523 MB / 0.4885 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.4133, allocations: 15.98 kB / 0.4885 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.4134, allocations: 12 kB / 0.4886 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009862/0.4143, allocations: 422 kB / 0.489 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.4158, allocations: 355.4 kB / 0.4893 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007734/0.4235, allocations: 7.13 MB / 0.4963 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.4251, allocations: 107.9 kB / 0.4964 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.4252, allocations: 63.98 kB / 0.4964 GB, free: 7.129 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.001364/0.4266, allocations: 0.7199 MB / 0.4971 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003248/0.4269, allocations: 178.8 kB / 0.4973 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/0.4309, allocations: 2.194 MB / 0.4994 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.4309, allocations: 12 kB / 0.4995 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.4309, allocations: 4 kB / 0.4995 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.431, allocations: 11.91 kB / 0.4995 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00809/0.439, allocations: 4.768 MB / 0.5041 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.4391, allocations: 4 kB / 0.5041 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009507/0.44, allocations: 223.7 kB / 0.5043 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/0.4412, allocations: 451 kB / 0.5048 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/0.4413, allocations: 35.97 kB / 0.5048 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/0.4514, allocations: 8.69 MB / 0.5133 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/0.4514, allocations: 11.94 kB / 0.5133 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005958/0.4574, allocations: 3.219 MB / 0.5164 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/0.4586, allocations: 407.8 kB / 0.5168 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/0.4589, allocations: 31.98 kB / 0.5169 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009471/0.4598, allocations: 83.84 kB / 0.5169 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/0.4602, allocations: 104.8 kB / 0.517 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.849e-05/0.4603, allocations: 39.94 kB / 0.5171 GB, free: 1.082 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001898/0.4621, allocations: 1.074 MB / 0.5181 GB, free: 12 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4621, allocations: 0 / 0.5181 GB, free: 12 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001914/0.4641, allocations: 488 kB / 0.5186 GB, free: 15.53 MB / 446.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.0004924/0.4646, allocations: 198.3 kB / 0.5188 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004306/0.4689, allocations: 2.226 MB / 0.521 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.4689, allocations: 0 / 0.521 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002576/0.4714, allocations: 1.427 MB / 0.5224 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.4738, allocations: 482.4 kB / 0.5228 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008467/0.4823, allocations: 4.763 MB / 0.5275 GB, free: 6.262 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001865/0.4842, allocations: 1.879 MB / 0.5293 GB, free: 4.348 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001278/0.4855, allocations: 394.8 kB / 0.5297 GB, free: 3.957 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.4858, allocations: 119.4 kB / 0.5298 GB, free: 3.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.485e-06/0.4858, allocations: 0 / 0.5298 GB, free: 3.84 MB / 446.1 MB Notification: Performance of Templates: time 0.2792/0.765, allocations: 27.72 MB / 0.5569 GB, free: 87.33 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: 5.9257174879312515]