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.001657/0.001657, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002184/0.002184, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.444/1.444, allocations: 230.5 MB / 258.1 MB, free: 7.988 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.00197/0.00197, allocations: 55.91 kB / 379 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2649, allocations: 53.41 MB / 432.5 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01292/0.2778, allocations: 9.766 MB / 442.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007082/0.2849, allocations: 3.176 MB / 445.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.2866, allocations: 71.5 kB / 445.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002066/0.2887, allocations: 0.7218 MB / 446.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003088/0.2918, allocations: 0.8194 MB / 447 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.293, allocations: 403.3 kB / 447.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003793/0.2968, allocations: 2.56 MB / 450 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/0.2988, allocations: 1.303 MB / 451.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/0.3008, allocations: 1.23 MB / 452.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002462/0.3033, allocations: 1.534 MB / 454 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005119/0.3038, allocations: 316 kB / 454.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009136/0.3047, allocations: 423.8 kB / 454.7 MB, free: 320 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.3058, allocations: 0.9193 MB / 455.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.3074, allocations: 1.423 MB / 457.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004966/0.3124, allocations: 4.177 MB / 461.3 MB, free: 9.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3124, allocations: 0 / 461.3 MB, free: 9.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3124, allocations: 0 / 461.3 MB, free: 9.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.518e-05/0.3125, allocations: 0 / 461.3 MB, free: 9.77 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.006833/0.3193, allocations: 2.908 MB / 464.2 MB, free: 6.812 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3194, allocations: 8.031 kB / 464.2 MB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008154/0.3202, allocations: 307.2 kB / 464.5 MB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002961/0.3231, allocations: 1.471 MB / 466 MB, free: 4.992 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.3233, allocations: 164.3 kB / 466.1 MB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003106/0.3236, allocations: 219.9 kB / 466.3 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004737/0.3283, allocations: 2.792 MB / 469.1 MB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-05/0.3284, allocations: 8 kB / 469.1 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/0.3286, allocations: 87.98 kB / 469.2 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/0.3287, allocations: 108.1 kB / 469.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004216/0.3329, allocations: 2.347 MB / 471.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0151/0.348, allocations: 8.371 MB / 480 MB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/0.3504, allocations: 1.174 MB / 481.2 MB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/0.3522, allocations: 0.9007 MB / 482.1 MB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/0.3524, allocations: 49.97 kB / 482.2 MB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.426e-05/0.3525, allocations: 47.5 kB / 482.2 MB, free: 4.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 2.896e-06/0.3525, allocations: 3.938 kB / 482.2 MB, free: 4.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.0138/0.3663, allocations: 5.74 MB / 488 MB, free: 14.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.3664, allocations: 60.41 kB / 488 MB, free: 14.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.3686, allocations: 1.445 MB / 489.5 MB, free: 13.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.222e-05/0.3687, allocations: 41.7 kB / 489.5 MB, free: 13.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008935/0.3696, allocations: 1.075 MB / 490.6 MB, free: 11.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003885/0.3699, allocations: 424.3 kB / 491 MB, free: 11.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004451/0.3704, allocations: 259.5 kB / 491.2 MB, free: 11.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.3706, allocations: 361.9 kB / 491.6 MB, free: 10.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.3718, allocations: 0.6871 MB / 492.3 MB, free: 10.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.3734, allocations: 1.073 MB / 493.4 MB, free: 8.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002889/0.3763, allocations: 1.868 MB / 495.2 MB, free: 6.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.3763, allocations: 4 kB / 495.2 MB, free: 6.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004516/0.3808, allocations: 2.331 MB / 497.6 MB, free: 4.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.3808, allocations: 16.25 kB / 497.6 MB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.3808, allocations: 12 kB / 497.6 MB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.3819, allocations: 426.6 kB / 498 MB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.3831, allocations: 331.5 kB / 498.3 MB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007869/0.391, allocations: 6.73 MB / 0.4932 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.3924, allocations: 103.8 kB / 0.4933 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.3926, allocations: 56 kB / 0.4934 GB, free: 12.57 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.001439/0.394, allocations: 0.6927 MB / 0.494 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/0.3944, allocations: 166.9 kB / 0.4942 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004122/0.3985, allocations: 2.04 MB / 0.4962 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.3985, allocations: 12 kB / 0.4962 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.3986, allocations: 12 kB / 0.4962 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.3986, allocations: 7.969 kB / 0.4962 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008379/0.407, allocations: 4.448 MB / 0.5006 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.407, allocations: 0 / 0.5006 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009695/0.4079, allocations: 219.6 kB / 0.5008 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/0.4092, allocations: 451.3 kB / 0.5012 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.4093, allocations: 35.92 kB / 0.5012 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008923/0.4182, allocations: 8.207 MB / 0.5093 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.4182, allocations: 7.938 kB / 0.5093 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005278/0.4235, allocations: 3.029 MB / 0.5122 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009542/0.4244, allocations: 314.8 kB / 0.5125 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.4246, allocations: 31.98 kB / 0.5126 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000862/0.4255, allocations: 79.91 kB / 0.5126 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/0.4257, allocations: 96.77 kB / 0.5127 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-05/0.4258, allocations: 39.92 kB / 0.5128 GB, free: 8.035 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001531/0.4274, allocations: 0.9888 MB / 0.5137 GB, free: 7.047 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4274, allocations: 3.938 kB / 0.5137 GB, free: 7.043 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001592/0.4289, allocations: 463.9 kB / 0.5142 GB, free: 6.59 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.0004107/0.4294, allocations: 207 kB / 0.5144 GB, free: 6.379 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003801/0.4332, allocations: 2.075 MB / 0.5164 GB, free: 4.262 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4332, allocations: 4.25 kB / 0.5164 GB, free: 4.258 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002424/0.4356, allocations: 1.387 MB / 0.5178 GB, free: 2.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.4376, allocations: 434.5 kB / 0.5182 GB, free: 2.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008356/0.446, allocations: 4.59 MB / 0.5227 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/0.4477, allocations: 1.784 MB / 0.5244 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006049/0.4483, allocations: 119.4 kB / 0.5245 GB, free: 11.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.502e-06/0.4483, allocations: 4 kB / 0.5245 GB, free: 11.8 MB / 446.1 MB Notification: Performance of Templates: time 0.2712/0.7195, allocations: 69.48 MB / 0.5924 GB, free: 52.38 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: 13.124450149945915]