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.001519/0.001519, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.001473/0.001473, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.425/1.425, allocations: 207.6 MB / 236 MB, free: 9.98 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.001849/0.001849, allocations: 63.92 kB / 348.5 MB, free: 9.496 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2511, allocations: 49.15 MB / 397.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.009189/0.2603, allocations: 9.676 MB / 407.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005645/0.266, allocations: 3.179 MB / 410.5 MB, free: 360 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.2677, allocations: 61.09 kB / 410.5 MB, free: 332 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.2695, allocations: 0.7124 MB / 411.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003127/0.2726, allocations: 0.8117 MB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.2738, allocations: 403.8 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003583/0.2774, allocations: 2.564 MB / 415 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.2793, allocations: 1.28 MB / 416.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.2812, allocations: 1.203 MB / 417.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00253/0.2837, allocations: 1.541 MB / 419 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000535/0.2842, allocations: 317.7 kB / 419.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.2852, allocations: 422.3 kB / 419.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001017/0.2863, allocations: 0.9133 MB / 420.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.2881, allocations: 1.419 MB / 422.1 MB, free: 9.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005118/0.2932, allocations: 4.161 MB / 426.3 MB, free: 6.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2933, allocations: 0 / 426.3 MB, free: 6.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2933, allocations: 0 / 426.3 MB, free: 6.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001067/0.2934, allocations: 0 / 426.3 MB, free: 6.324 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.006784/0.3001, allocations: 2.898 MB / 429.2 MB, free: 3.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3002, allocations: 15.98 kB / 429.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008035/0.301, allocations: 303.2 kB / 429.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00287/0.3039, allocations: 1.382 MB / 430.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.304, allocations: 164.3 kB / 431 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/0.3043, allocations: 208 kB / 431.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005361/0.3097, allocations: 2.796 MB / 434 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.424e-05/0.3098, allocations: 11.94 kB / 434 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/0.31, allocations: 84 kB / 434.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/0.3101, allocations: 104.2 kB / 434.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004387/0.3145, allocations: 2.343 MB / 436.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01562/0.3301, allocations: 8.371 MB / 444.9 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/0.3324, allocations: 1.18 MB / 446.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.3342, allocations: 0.8929 MB / 447 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/0.3344, allocations: 57.97 kB / 447 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.181e-05/0.3345, allocations: 47.48 kB / 447.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.477e-06/0.3345, allocations: 0 / 447.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01345/0.3479, allocations: 5.674 MB / 452.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.348, allocations: 68.41 kB / 452.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/0.3504, allocations: 1.437 MB / 454.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.3506, allocations: 49.64 kB / 454.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008662/0.3514, allocations: 1.067 MB / 455.4 MB, free: 8.949 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004458/0.3519, allocations: 424.4 kB / 455.8 MB, free: 8.531 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004772/0.3523, allocations: 259.5 kB / 456.1 MB, free: 8.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002399/0.3526, allocations: 357.9 kB / 456.4 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.3538, allocations: 0.6871 MB / 457.1 MB, free: 7.227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.3553, allocations: 1.07 MB / 458.2 MB, free: 5.996 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002904/0.3582, allocations: 1.86 MB / 460 MB, free: 3.973 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.3582, allocations: 4 kB / 460 MB, free: 3.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004457/0.3627, allocations: 2.331 MB / 462.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.3627, allocations: 8 kB / 462.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.3627, allocations: 12 kB / 462.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.3638, allocations: 415.3 kB / 462.8 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.3649, allocations: 331.5 kB / 463.1 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007629/0.3726, allocations: 6.731 MB / 469.8 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.374, allocations: 103.9 kB / 469.9 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.3741, allocations: 59.92 kB / 470 MB, free: 9.629 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.001466/0.3756, allocations: 0.6963 MB / 470.7 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003875/0.376, allocations: 167 kB / 470.9 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003911/0.3799, allocations: 2.028 MB / 472.9 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.3799, allocations: 12 kB / 472.9 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.3799, allocations: 4 kB / 472.9 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.3799, allocations: 7.969 kB / 472.9 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008467/0.3884, allocations: 4.454 MB / 477.4 MB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.3884, allocations: 4 kB / 477.4 MB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000915/0.3893, allocations: 207.7 kB / 477.6 MB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/0.3905, allocations: 451.4 kB / 478 MB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.887e-05/0.3906, allocations: 35.98 kB / 478 MB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009079/0.3997, allocations: 8.218 MB / 486.3 MB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.3997, allocations: 11.88 kB / 486.3 MB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005377/0.4051, allocations: 3.025 MB / 489.3 MB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.4062, allocations: 310.8 kB / 489.6 MB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/0.4065, allocations: 31.98 kB / 489.6 MB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008814/0.4073, allocations: 83.84 kB / 489.7 MB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/0.4076, allocations: 96.77 kB / 489.8 MB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-05/0.4077, allocations: 39.98 kB / 489.8 MB, free: 5.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001541/0.4092, allocations: 0.9847 MB / 490.8 MB, free: 4.086 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4092, allocations: 0 / 490.8 MB, free: 4.086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001747/0.4109, allocations: 467.9 kB / 491.3 MB, free: 3.629 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.0004071/0.4114, allocations: 204.8 kB / 491.5 MB, free: 3.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003859/0.4152, allocations: 2.081 MB / 493.6 MB, free: 1.301 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/0.4152, allocations: 0 / 493.6 MB, free: 1.301 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002561/0.4178, allocations: 1.396 MB / 495 MB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.4199, allocations: 421.5 kB / 495.4 MB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008592/0.4284, allocations: 4.603 MB / 500 MB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.4303, allocations: 1.792 MB / 0.49 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006131/0.4309, allocations: 127.4 kB / 0.4901 GB, free: 8.797 MB / 414.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4309, allocations: 0 / 0.4901 GB, free: 8.797 MB / 414.1 MB Notification: Performance of Templates: time 0.09048/0.5214, allocations: 69.34 MB / 0.5578 GB, free: 3.301 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.517880656989291]