Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.001454/0.001454, allocations: 108.8 kB / 21.93 MB, free: 5.223 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.001589/0.001589, allocations: 214 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 207.7 MB / 236.1 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 55.91 kB / 348.5 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2347, allocations: 49.15 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.00932/0.2441, allocations: 8.492 MB / 406.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005945/0.25, allocations: 2.98 MB / 409.1 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.2517, allocations: 61.88 kB / 409.1 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.2538, allocations: 0.6612 MB / 409.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002966/0.2568, allocations: 0.8129 MB / 410.6 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.2581, allocations: 390.5 kB / 411 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003932/0.262, allocations: 2.562 MB / 413.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002571/0.2646, allocations: 1.229 MB / 414.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.2668, allocations: 1.209 MB / 416 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/0.2698, allocations: 1.435 MB / 417.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009098/0.2707, allocations: 318.7 kB / 417.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.2725, allocations: 419.7 kB / 418.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001623/0.2741, allocations: 0.9189 MB / 419.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002991/0.2771, allocations: 1.141 MB / 420.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006821/0.2839, allocations: 4.187 MB / 424.4 MB, free: 8.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2839, allocations: 0 / 424.4 MB, free: 8.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2839, allocations: 1.344 kB / 424.4 MB, free: 8.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001699/0.2841, allocations: 0 / 424.4 MB, free: 8.152 MB / 334.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.009369/0.2934, allocations: 2.894 MB / 427.3 MB, free: 5.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.2935, allocations: 19.97 kB / 427.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/0.2949, allocations: 299.2 kB / 427.6 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003862/0.2988, allocations: 1.382 MB / 429 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.2989, allocations: 164.3 kB / 429.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007288/0.2997, allocations: 211.9 kB / 429.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006967/0.3066, allocations: 2.896 MB / 432.3 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.223e-05/0.3067, allocations: 7.953 kB / 432.3 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004465/0.3072, allocations: 84 kB / 432.3 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/0.3073, allocations: 108.2 kB / 432.5 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005732/0.3131, allocations: 2.347 MB / 434.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0164/0.3295, allocations: 7.37 MB / 442.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/0.332, allocations: 1.177 MB / 443.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/0.334, allocations: 0.8978 MB / 444.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.3342, allocations: 48.95 kB / 444.3 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.3342, allocations: 47.56 kB / 444.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.747e-06/0.3342, allocations: 0 / 444.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01459/0.3488, allocations: 5.67 MB / 450 MB, free: 14.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.3489, allocations: 64.41 kB / 450.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/0.3513, allocations: 1.297 MB / 451.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.3515, allocations: 41.7 kB / 451.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009065/0.3524, allocations: 1.07 MB / 452.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004765/0.3529, allocations: 424.4 kB / 452.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00048/0.3533, allocations: 259.5 kB / 453.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.3535, allocations: 361.9 kB / 453.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.3549, allocations: 0.6832 MB / 454.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.3565, allocations: 1.074 MB / 455.3 MB, free: 8.715 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003089/0.3596, allocations: 1.86 MB / 457.1 MB, free: 6.691 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.3596, allocations: 4 kB / 457.1 MB, free: 6.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004669/0.3643, allocations: 2.312 MB / 459.4 MB, free: 4.355 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.3643, allocations: 8 kB / 459.4 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.3644, allocations: 12 kB / 459.4 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.3654, allocations: 419.4 kB / 459.9 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.3667, allocations: 327.4 kB / 460.2 MB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008038/0.3748, allocations: 6.628 MB / 466.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.3762, allocations: 95.84 kB / 466.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002387/0.3765, allocations: 59.98 kB / 467 MB, free: 12.51 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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.001519/0.378, allocations: 0.6925 MB / 467.7 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004714/0.3785, allocations: 151 kB / 467.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004297/0.3828, allocations: 2.019 MB / 469.8 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.3828, allocations: 12 kB / 469.8 MB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.3828, allocations: 4 kB / 469.8 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.3828, allocations: 7.969 kB / 469.8 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009393/0.3922, allocations: 3.951 MB / 473.8 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.3922, allocations: 8.031 kB / 473.8 MB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.3932, allocations: 207.7 kB / 474 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001292/0.3945, allocations: 443 kB / 474.4 MB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/0.3947, allocations: 35.98 kB / 474.5 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009737/0.4044, allocations: 8.073 MB / 482.5 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/0.4044, allocations: 15.97 kB / 482.6 MB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005783/0.4102, allocations: 3.008 MB / 485.6 MB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.4113, allocations: 298.8 kB / 485.9 MB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003519/0.4116, allocations: 35.92 kB / 485.9 MB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009709/0.4126, allocations: 79.91 kB / 486 MB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/0.4129, allocations: 100.8 kB / 486.1 MB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.36e-05/0.413, allocations: 39.92 kB / 486.1 MB, free: 8.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001518/0.4145, allocations: 0.8796 MB / 487 MB, free: 7.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4145, allocations: 0 / 487 MB, free: 7.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001958/0.4164, allocations: 455.9 kB / 487.4 MB, free: 7.379 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (103): * Single equations (assignments): 99 * 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.0004335/0.4169, allocations: 201 kB / 487.6 MB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004037/0.4209, allocations: 2.08 MB / 489.7 MB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/0.4209, allocations: 0 / 489.7 MB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002655/0.4236, allocations: 1.393 MB / 491.1 MB, free: 3.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.4256, allocations: 356.6 kB / 491.5 MB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008604/0.4342, allocations: 4.591 MB / 496 MB, free: 14.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/0.4358, allocations: 1.211 MB / 497.3 MB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005968/0.4364, allocations: 115.4 kB / 497.4 MB, free: 13.21 MB / 414.1 MB Notification: Performance of SimCode: time 1.203e-06/0.4364, allocations: 0 / 497.4 MB, free: 13.21 MB / 414.1 MB Notification: Performance of Templates: time 0.08764/0.524, allocations: 69.04 MB / 0.5531 GB, free: 8.012 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.066578346304595]