Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009531/0.000953, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 221.5 MB / 230.3 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008118/0.0008118, allocations: 96.36 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.21e-05/1.204e-05, allocations: 0 / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07949/0.07952, allocations: 50.41 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2779/0.3575, allocations: 101.8 MB / 489.3 MB, free: 8.988 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.3577, allocations: 83.95 kB / 489.3 MB, free: 8.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1032/0.461, allocations: 39.81 MB / 0.5168 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.461, allocations: 4 kB / 0.5168 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001058/0.4611, allocations: 51.81 kB / 0.5168 GB, free: 0.7891 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.003232/0.4643, allocations: 1.941 MB / 0.5187 GB, free: 14.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.4644, allocations: 8.031 kB / 0.5187 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000582/0.465, allocations: 253.2 kB / 0.5189 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.4671, allocations: 1.363 MB / 0.5203 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/0.4672, allocations: 56 kB / 0.5203 GB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.4674, allocations: 108 kB / 0.5204 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002625/0.4701, allocations: 1.686 MB / 0.5221 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003064/0.4731, allocations: 2.029 MB / 0.5241 GB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/0.4732, allocations: 0 / 0.5241 GB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.4733, allocations: 4 kB / 0.5241 GB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.01e-05/0.4734, allocations: 83.52 kB / 0.5241 GB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009163/0.4826, allocations: 6.818 MB / 0.5308 GB, free: 2.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.4841, allocations: 1.227 MB / 0.532 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009598/0.4851, allocations: 0.6662 MB / 0.5327 GB, free: 136 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.4854, allocations: 133.8 kB / 0.5328 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.4854, allocations: 51.3 kB / 0.5328 GB, free: 15.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=90): time 3.105e-06/0.4854, allocations: 3.938 kB / 0.5328 GB, free: 15.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=114): time 0.008226/0.4936, allocations: 4.598 MB / 0.5373 GB, free: 11.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.4937, allocations: 68.7 kB / 0.5374 GB, free: 11.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.4948, allocations: 0.8434 MB / 0.5382 GB, free: 10.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.792e-05/0.4949, allocations: 25.7 kB / 0.5382 GB, free: 10.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005352/0.4954, allocations: 0.8684 MB / 0.5391 GB, free: 9.398 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/0.4957, allocations: 386.2 kB / 0.5395 GB, free: 9.016 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.4958, allocations: 0 / 0.5395 GB, free: 9.016 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4959, allocations: 357.9 kB / 0.5398 GB, free: 8.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008276/0.4967, allocations: 0.6117 MB / 0.5404 GB, free: 8.047 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009784/0.4977, allocations: 0.9012 MB / 0.5413 GB, free: 7.023 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009966/0.4987, allocations: 0.7675 MB / 0.542 GB, free: 6.254 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.4987, allocations: 4 kB / 0.542 GB, free: 6.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003382/0.5021, allocations: 2.202 MB / 0.5442 GB, free: 4.027 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.5022, allocations: 8 kB / 0.5442 GB, free: 4.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.5022, allocations: 8 kB / 0.5442 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.5036, allocations: 0.6302 MB / 0.5448 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.5047, allocations: 283.6 kB / 0.5451 GB, free: 3.094 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1896/0.6943, allocations: 6.031 MB / 0.551 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.6954, allocations: 73.05 kB / 0.551 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.6955, allocations: 49.56 kB / 0.5511 GB, free: 110.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002159/0.6957, allocations: 137.2 kB / 0.5512 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.6959, allocations: 125.6 kB / 0.5513 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003343/0.6993, allocations: 2.076 MB / 0.5534 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.6993, allocations: 11.73 kB / 0.5534 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.6993, allocations: 7.938 kB / 0.5534 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.6993, allocations: 6 kB / 0.5534 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006345/0.7057, allocations: 4.04 MB / 0.5573 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.7057, allocations: 2.062 kB / 0.5573 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007213/0.7064, allocations: 175.4 kB / 0.5575 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/0.7082, allocations: 0.7052 MB / 0.5582 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-05/0.7083, allocations: 20.56 kB / 0.5582 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007233/0.7155, allocations: 7.705 MB / 0.5657 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.7156, allocations: 6.031 kB / 0.5657 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004041/0.7196, allocations: 3.177 MB / 0.5688 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005092/0.7201, allocations: 345.7 kB / 0.5692 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.7203, allocations: 7.25 kB / 0.5692 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007263/0.721, allocations: 62.44 kB / 0.5692 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.7212, allocations: 104.9 kB / 0.5693 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-05/0.7213, allocations: 37 kB / 0.5694 GB, free: 105.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007922/0.7221, allocations: 0.6383 MB / 0.57 GB, free: 105.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7221, allocations: 0 / 0.57 GB, free: 105.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001325/0.7235, allocations: 410.6 kB / 0.5704 GB, free: 105.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 23,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003989/0.7239, allocations: 278.4 kB / 0.5707 GB, free: 105.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002644/0.7265, allocations: 2.13 MB / 0.5727 GB, free: 104.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7265, allocations: 2.953 kB / 0.5727 GB, free: 104.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.7283, allocations: 1.461 MB / 0.5742 GB, free: 103.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.7294, allocations: 268.2 kB / 0.5744 GB, free: 103.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.7334, allocations: 3.197 MB / 0.5775 GB, free: 102.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008867/0.7343, allocations: 1.69 MB / 0.5792 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007014/0.735, allocations: 274.9 kB / 0.5795 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.7352, allocations: 89.52 kB / 0.5795 GB, free: 101.3 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.7352, allocations: 0 / 0.5795 GB, free: 101.3 MB / 426.7 MB Notification: Performance of Templates: time 0.02523/0.7605, allocations: 20.05 MB / 0.5991 GB, free: 100.3 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches