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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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=30000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 109.4 kB / 17.73 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 188.2 kB / 18.67 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 51.94 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1416, allocations: 46.61 MB / 375.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.3065/0.4481, allocations: 9.579 MB / 384.7 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006773/0.4549, allocations: 3.161 MB / 387.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.457, allocations: 47.97 kB / 387.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.4592, allocations: 0.6667 MB / 388.6 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003097/0.4623, allocations: 0.7626 MB / 389.4 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.4635, allocations: 392.5 kB / 389.8 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003956/0.4675, allocations: 2.569 MB / 392.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003158/0.4706, allocations: 2.289 MB / 394.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002324/0.473, allocations: 1.17 MB / 395.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.4753, allocations: 1.497 MB / 397.3 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004954/0.4758, allocations: 318.8 kB / 397.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009689/0.4768, allocations: 419.7 kB / 398 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009544/0.4778, allocations: 0.8969 MB / 398.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001749/0.4795, allocations: 1.416 MB / 400.3 MB, free: 308 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006147/0.4857, allocations: 4.16 MB / 404.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4857, allocations: 0 / 404.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.4857, allocations: 0 / 404.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.52e-05/0.4858, allocations: 2.844 kB / 404.5 MB, free: 14.03 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.007453/0.4933, allocations: 2.969 MB / 407.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.4933, allocations: 9.531 kB / 407.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009839/0.4943, allocations: 307 kB / 407.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/0.4969, allocations: 1.449 MB / 409.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.4971, allocations: 165.9 kB / 409.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003541/0.4975, allocations: 217.5 kB / 409.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005444/0.5029, allocations: 2.799 MB / 412.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.657e-05/0.503, allocations: 10.58 kB / 412.4 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/0.5032, allocations: 83.56 kB / 412.5 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/0.5034, allocations: 109.4 kB / 412.6 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004465/0.5079, allocations: 2.341 MB / 414.9 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01429/0.5222, allocations: 8.526 MB / 423.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/0.5247, allocations: 1.708 MB / 425.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.5265, allocations: 0.9519 MB / 426.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003183/0.5268, allocations: 207.2 kB / 426.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.5269, allocations: 43.56 kB / 426.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.356e-06/0.5269, allocations: 0 / 426.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01368/0.5406, allocations: 6.143 MB / 432.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.5407, allocations: 64.41 kB / 432.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/0.543, allocations: 1.437 MB / 434 MB, free: 3.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.049e-05/0.5431, allocations: 53.64 kB / 434 MB, free: 3.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008947/0.544, allocations: 1.063 MB / 435.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004049/0.5444, allocations: 428.3 kB / 435.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004528/0.5449, allocations: 259.5 kB / 435.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.5451, allocations: 361.9 kB / 436.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.5462, allocations: 0.6832 MB / 436.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/0.5477, allocations: 1.07 MB / 437.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/0.5504, allocations: 1.863 MB / 439.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.5504, allocations: 4 kB / 439.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004129/0.5546, allocations: 2.411 MB / 442.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.5546, allocations: 8 kB / 442.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.5546, allocations: 12 kB / 442.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000997/0.5556, allocations: 423.2 kB / 442.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.5568, allocations: 323.5 kB / 442.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007036/0.5639, allocations: 7.059 MB / 450 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.5656, allocations: 103.8 kB / 450.1 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.5657, allocations: 56 kB / 450.1 MB, free: 2.988 MB / 366.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.001557/0.5672, allocations: 0.697 MB / 450.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003469/0.5676, allocations: 163 kB / 451 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/0.5713, allocations: 2.111 MB / 453.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.021e-05/0.5713, allocations: 16 kB / 453.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.5713, allocations: 4 kB / 453.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.5713, allocations: 7.969 kB / 453.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007888/0.5792, allocations: 4.561 MB / 457.7 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.5793, allocations: 8 kB / 457.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009056/0.5802, allocations: 215.7 kB / 457.9 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.5814, allocations: 447.4 kB / 458.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-05/0.5815, allocations: 31.98 kB / 458.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009948/0.5915, allocations: 8.625 MB / 467 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.281e-05/0.5915, allocations: 15.86 kB / 467 MB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006053/0.5976, allocations: 3.108 MB / 470.1 MB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.5987, allocations: 395.8 kB / 470.5 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/0.599, allocations: 31.98 kB / 470.5 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009126/0.5999, allocations: 79.91 kB / 470.6 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/0.6002, allocations: 100.7 kB / 470.7 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.6003, allocations: 39.98 kB / 470.7 MB, free: 13.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001752/0.602, allocations: 0.9847 MB / 471.7 MB, free: 12.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.602, allocations: 0 / 471.7 MB, free: 12.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002179/0.6042, allocations: 463.9 kB / 472.2 MB, free: 12.04 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.0005188/0.6048, allocations: 198.9 kB / 472.4 MB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004408/0.6092, allocations: 2.223 MB / 474.6 MB, free: 9.559 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.6092, allocations: 4.188 kB / 474.6 MB, free: 9.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00264/0.6119, allocations: 1.442 MB / 476 MB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.6141, allocations: 421.2 kB / 476.5 MB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009097/0.6232, allocations: 4.528 MB / 481 MB, free: 3.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002125/0.6253, allocations: 1.799 MB / 482.8 MB, free: 1.215 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001427/0.6268, allocations: 361.6 kB / 483.1 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/0.6271, allocations: 123.4 kB / 483.3 MB, free: 0.7344 MB / 398.1 MB Notification: Performance of SimCode: time 1.513e-06/0.6271, allocations: 0 / 483.3 MB, free: 0.7344 MB / 398.1 MB Notification: Performance of Templates: time 0.0459/0.673, allocations: 24.79 MB / 0.4961 GB, free: 7.898 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat","/var/lib/jenkins/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/jenkins/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) Reference file matches