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.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.006564/0.006564, allocations: 106.2 kB / 21.98 MB, free: 5.223 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.001497/0.001497, allocations: 216.4 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.428/1.428, allocations: 230.6 MB / 259 MB, free: 8.012 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.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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.002011/0.002011, allocations: 59.91 kB / 379.8 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2444, allocations: 53.36 MB / 433.2 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01213/0.2565, allocations: 9.769 MB / 443 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006335/0.2628, allocations: 3.174 MB / 446.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.2642, allocations: 67.56 kB / 446.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.266, allocations: 0.7221 MB / 446.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.2684, allocations: 0.8116 MB / 447.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008956/0.2693, allocations: 403.3 kB / 448.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003147/0.2725, allocations: 2.571 MB / 450.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001843/0.2743, allocations: 1.306 MB / 452 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.2761, allocations: 1.223 MB / 453.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002217/0.2783, allocations: 1.537 MB / 454.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004546/0.2788, allocations: 316 kB / 455.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007828/0.2796, allocations: 431.8 kB / 455.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009208/0.2805, allocations: 0.9154 MB / 456.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.282, allocations: 1.423 MB / 457.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004615/0.2866, allocations: 4.177 MB / 462 MB, free: 9.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2866, allocations: 0 / 462 MB, free: 9.957 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2867, allocations: 0 / 462 MB, free: 9.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.905e-05/0.2867, allocations: 4 kB / 462 MB, free: 9.953 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.006463/0.2932, allocations: 2.904 MB / 464.9 MB, free: 7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2932, allocations: 8.031 kB / 464.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008751/0.2941, allocations: 307.2 kB / 465.2 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/0.2971, allocations: 1.471 MB / 466.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.2973, allocations: 160.3 kB / 466.8 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003635/0.2976, allocations: 219.9 kB / 467.1 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00529/0.3029, allocations: 2.799 MB / 469.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.027e-05/0.303, allocations: 7.938 kB / 469.9 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/0.3032, allocations: 88 kB / 470 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001255/0.3033, allocations: 104.2 kB / 470.1 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004393/0.3077, allocations: 2.343 MB / 472.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01374/0.3214, allocations: 8.379 MB / 480.8 MB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/0.3237, allocations: 1.17 MB / 481.9 MB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.3254, allocations: 0.8978 MB / 482.8 MB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.3257, allocations: 56.88 kB / 482.9 MB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.3257, allocations: 47.5 kB / 482.9 MB, free: 4.547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 2.795e-06/0.3257, allocations: 0 / 482.9 MB, free: 4.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01358/0.3393, allocations: 5.744 MB / 488.7 MB, free: 14.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.3394, allocations: 60.41 kB / 488.8 MB, free: 14.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/0.3418, allocations: 1.441 MB / 490.2 MB, free: 13.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.342, allocations: 45.7 kB / 490.2 MB, free: 13.19 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008856/0.3429, allocations: 1.067 MB / 491.3 MB, free: 12.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004031/0.3433, allocations: 428.3 kB / 491.7 MB, free: 11.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004295/0.3437, allocations: 259.5 kB / 492 MB, free: 11.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3439, allocations: 361.9 kB / 492.3 MB, free: 11.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.3451, allocations: 0.691 MB / 493 MB, free: 10.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.3466, allocations: 1.066 MB / 494.1 MB, free: 9.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002808/0.3494, allocations: 1.868 MB / 496 MB, free: 7.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.3494, allocations: 4 kB / 496 MB, free: 7.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004379/0.3538, allocations: 2.335 MB / 498.3 MB, free: 4.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.3538, allocations: 20.23 kB / 498.3 MB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.3539, allocations: 12 kB / 498.3 MB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.3549, allocations: 419 kB / 498.7 MB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.3561, allocations: 327.5 kB / 499.1 MB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007439/0.3636, allocations: 6.739 MB / 0.4939 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.365, allocations: 107.9 kB / 0.494 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.3651, allocations: 59.98 kB / 0.4941 GB, free: 12.75 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.001273/0.3664, allocations: 0.687 MB / 0.4948 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003534/0.3667, allocations: 166.9 kB / 0.4949 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003872/0.3706, allocations: 2.04 MB / 0.4969 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.3706, allocations: 12 kB / 0.4969 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.3706, allocations: 8 kB / 0.4969 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.3706, allocations: 3.984 kB / 0.4969 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008016/0.3786, allocations: 4.464 MB / 0.5013 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.3786, allocations: 0 / 0.5013 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009342/0.3796, allocations: 215.7 kB / 0.5015 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/0.3807, allocations: 447.3 kB / 0.5019 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-05/0.3808, allocations: 31.98 kB / 0.502 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00877/0.3896, allocations: 8.2 MB / 0.51 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.3896, allocations: 15.81 kB / 0.51 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005198/0.3948, allocations: 3.029 MB / 0.5129 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008376/0.3956, allocations: 310.8 kB / 0.5132 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.3958, allocations: 35.98 kB / 0.5133 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008549/0.3967, allocations: 79.91 kB / 0.5134 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.3969, allocations: 100.7 kB / 0.5134 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-05/0.397, allocations: 39.98 kB / 0.5135 GB, free: 8.211 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001542/0.3986, allocations: 0.9888 MB / 0.5145 GB, free: 7.223 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3986, allocations: 0 / 0.5145 GB, free: 7.223 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001541/0.4001, allocations: 463.9 kB / 0.5149 GB, free: 6.77 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.0003842/0.4005, allocations: 198.5 kB / 0.5151 GB, free: 6.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003812/0.4043, allocations: 2.079 MB / 0.5171 GB, free: 4.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.4043, allocations: 0 / 0.5171 GB, free: 4.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002404/0.4067, allocations: 1.391 MB / 0.5185 GB, free: 3.008 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.4085, allocations: 434.4 kB / 0.5189 GB, free: 2.594 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007394/0.4159, allocations: 4.58 MB / 0.5234 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/0.4176, allocations: 1.788 MB / 0.5251 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000488/0.4181, allocations: 123.4 kB / 0.5252 GB, free: 11.98 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4181, allocations: 4 kB / 0.5252 GB, free: 11.98 MB / 446.1 MB Notification: Performance of Templates: time 0.2748/0.6929, allocations: 69.49 MB / 0.5931 GB, free: 52.71 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.883681701961905]