Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.001351/0.001351, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001516/0.001516, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.414/1.414, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.91 kB / 379 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.281, allocations: 53.41 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01241/0.2934, allocations: 8.563 MB / 441 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00725/0.3006, allocations: 2.987 MB / 444 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/0.3028, allocations: 71.5 kB / 444 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002409/0.3053, allocations: 0.6672 MB / 444.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.3087, allocations: 0.8155 MB / 445.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.3098, allocations: 395.4 kB / 445.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003737/0.3136, allocations: 2.559 MB / 448.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/0.3156, allocations: 1.257 MB / 449.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.3177, allocations: 1.23 MB / 450.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002818/0.3205, allocations: 1.436 MB / 452.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007498/0.3213, allocations: 320 kB / 452.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.3224, allocations: 423.8 kB / 453.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.3235, allocations: 0.9037 MB / 454 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001904/0.3254, allocations: 1.151 MB / 455.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005436/0.3309, allocations: 4.2 MB / 459.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.321e-05/0.3309, allocations: 0 / 459.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3309, allocations: 0 / 459.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001151/0.331, allocations: 0 / 459.4 MB, free: 11.43 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.007113/0.3381, allocations: 2.912 MB / 462.3 MB, free: 8.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.3382, allocations: 11.98 kB / 462.3 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008805/0.339, allocations: 315.2 kB / 462.6 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003303/0.3423, allocations: 1.471 MB / 464.1 MB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.3425, allocations: 160.3 kB / 464.2 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003885/0.3429, allocations: 215.9 kB / 464.4 MB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005404/0.3483, allocations: 2.904 MB / 467.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.057e-05/0.3484, allocations: 0 / 467.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002163/0.3486, allocations: 88 kB / 467.4 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/0.3487, allocations: 108.1 kB / 467.5 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005083/0.3538, allocations: 2.347 MB / 469.9 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.3693, allocations: 7.37 MB / 477.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.3717, allocations: 1.179 MB / 478.4 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.3735, allocations: 0.8978 MB / 479.3 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.3737, allocations: 48.97 kB / 479.4 MB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/0.3738, allocations: 43.56 kB / 479.4 MB, free: 6.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.577e-06/0.3738, allocations: 3.938 kB / 479.4 MB, free: 6.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01371/0.3875, allocations: 5.72 MB / 485.1 MB, free: 1.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.3875, allocations: 64.41 kB / 485.2 MB, free: 1.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.3896, allocations: 1.301 MB / 486.5 MB, free: 15.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.3898, allocations: 49.7 kB / 486.5 MB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008597/0.3906, allocations: 1.07 MB / 487.6 MB, free: 14.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.391, allocations: 424.4 kB / 488 MB, free: 14.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004052/0.3914, allocations: 255.5 kB / 488.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3916, allocations: 361.9 kB / 488.6 MB, free: 13.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.3928, allocations: 0.691 MB / 489.3 MB, free: 12.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.3944, allocations: 1.077 MB / 490.4 MB, free: 11.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/0.3973, allocations: 1.86 MB / 492.3 MB, free: 9.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.3974, allocations: 4 kB / 492.3 MB, free: 9.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004592/0.4019, allocations: 2.331 MB / 494.6 MB, free: 7.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.402, allocations: 10.66 kB / 494.6 MB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.402, allocations: 12 kB / 494.6 MB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.4031, allocations: 419.3 kB / 495 MB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.4043, allocations: 327.5 kB / 495.3 MB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008176/0.4125, allocations: 6.619 MB / 0.4902 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.4141, allocations: 103.8 kB / 0.4903 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002863/0.4144, allocations: 63.98 kB / 0.4904 GB, free: 15.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (157): * Single equations (assignments): 153 * 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,11,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.001763/0.4162, allocations: 0.6812 MB / 0.491 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005007/0.4167, allocations: 151 kB / 0.4912 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004202/0.4209, allocations: 2.042 MB / 0.4932 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.4209, allocations: 12 kB / 0.4932 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.4209, allocations: 4 kB / 0.4932 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.4209, allocations: 11.91 kB / 0.4932 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0088/0.4297, allocations: 3.95 MB / 0.497 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.4297, allocations: 4.031 kB / 0.497 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009665/0.4307, allocations: 211.7 kB / 0.4972 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.4319, allocations: 447.1 kB / 0.4977 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.432, allocations: 39.86 kB / 0.4977 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009295/0.4413, allocations: 8.065 MB / 0.5056 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.4413, allocations: 4 kB / 0.5056 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005691/0.447, allocations: 3.012 MB / 0.5085 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.4481, allocations: 294.9 kB / 0.5088 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004113/0.4485, allocations: 31.94 kB / 0.5088 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.4496, allocations: 79.91 kB / 0.5089 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002669/0.4499, allocations: 100.8 kB / 0.509 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.45, allocations: 43.92 kB / 0.5091 GB, free: 11.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001944/0.452, allocations: 0.872 MB / 0.5099 GB, free: 10.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.452, allocations: 0 / 0.5099 GB, free: 10.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002123/0.4541, allocations: 463.9 kB / 0.5104 GB, free: 10.33 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],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 (102): * Single equations (assignments): 98 * 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,11,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.0004756/0.4546, allocations: 202.9 kB / 0.5105 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004246/0.4588, allocations: 2.083 MB / 0.5126 GB, free: 8.004 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.4588, allocations: 0 / 0.5126 GB, free: 8.004 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00257/0.4614, allocations: 1.399 MB / 0.5139 GB, free: 6.551 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.4638, allocations: 368 kB / 0.5143 GB, free: 6.199 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009727/0.4735, allocations: 4.549 MB / 0.5187 GB, free: 1.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001974/0.4755, allocations: 1.219 MB / 0.5199 GB, free: 312 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/0.476, allocations: 123.4 kB / 0.52 GB, free: 188 kB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.476, allocations: 0 / 0.52 GB, free: 188 kB / 430.1 MB Notification: Performance of Templates: time 0.2931/0.7692, allocations: 69.19 MB / 0.5876 GB, free: 56.32 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.43045525578782]