Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 204.2 kB / 8.538 MB, free: 484 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.149/1.149, allocations: 225.5 MB / 234.4 MB, free: 9.469 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009295/0.0009295, allocations: 96.27 kB / 286.3 MB, free: 5.828 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 5.972e-06/6.001e-06, allocations: 0 / 343.2 MB, free: 13 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1884, allocations: 51.44 MB / 394.6 MB, free: 47.41 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09754/0.286, allocations: 102.6 MB / 497.1 MB, free: 5.305 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/0.2862, allocations: 87.05 kB / 497.2 MB, free: 5.223 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.107/0.3932, allocations: 39.75 MB / 0.5244 GB, free: 13.54 MB / 418.8 MB Notification: Performance of Transformations before backend: time 0.0001662/0.3934, allocations: 51.94 kB / 0.5244 GB, free: 13.49 MB / 418.8 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.004491/0.3979, allocations: 1.945 MB / 0.5263 GB, free: 11.49 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3979, allocations: 8.031 kB / 0.5264 GB, free: 11.48 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.399, allocations: 261.2 kB / 0.5266 GB, free: 11.23 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003112/0.4021, allocations: 1.355 MB / 0.5279 GB, free: 9.828 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.522e-05/0.4022, allocations: 59.91 kB / 0.528 GB, free: 9.77 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/0.4024, allocations: 112 kB / 0.5281 GB, free: 9.66 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003/0.4054, allocations: 1.718 MB / 0.5298 GB, free: 7.941 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003237/0.4087, allocations: 2.055 MB / 0.5318 GB, free: 5.809 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.707e-05/0.4088, allocations: 4 kB / 0.5318 GB, free: 5.805 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.4089, allocations: 7.938 kB / 0.5318 GB, free: 5.797 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.254e-05/0.409, allocations: 87.5 kB / 0.5319 GB, free: 5.711 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1087/0.5177, allocations: 6.833 MB / 0.5385 GB, free: 144.6 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009359/0.5187, allocations: 0.6965 MB / 0.5392 GB, free: 144.6 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009501/0.5196, allocations: 0.7253 MB / 0.5399 GB, free: 144.6 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002428/0.5199, allocations: 128.5 kB / 0.5401 GB, free: 144.5 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.5199, allocations: 58.34 kB / 0.5401 GB, free: 144.5 MB / 418.8 MB Notification: Performance of pre-optimization done (n=90): time 3.106e-06/0.5199, allocations: 0 / 0.5401 GB, free: 144.5 MB / 418.8 MB Notification: Performance of matching and sorting (n=114): time 0.007852/0.5278, allocations: 4.604 MB / 0.5446 GB, free: 144 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.5278, allocations: 65.34 kB / 0.5447 GB, free: 143.9 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009337/0.5287, allocations: 0.8616 MB / 0.5455 GB, free: 143.8 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 6.56e-05/0.5288, allocations: 25.7 kB / 0.5455 GB, free: 143.7 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.5291, allocations: 0.7032 MB / 0.5462 GB, free: 143.4 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.5293, allocations: 386.3 kB / 0.5466 GB, free: 143.2 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.5293, allocations: 0 / 0.5466 GB, free: 143.2 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.5294, allocations: 357.9 kB / 0.5469 GB, free: 142.9 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007296/0.5302, allocations: 0.6233 MB / 0.5475 GB, free: 142.9 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000853/0.531, allocations: 0.924 MB / 0.5484 GB, free: 142.6 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008901/0.5319, allocations: 0.7867 MB / 0.5492 GB, free: 142.6 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5319, allocations: 3.75 kB / 0.5492 GB, free: 142.6 MB / 418.8 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003112/0.535, allocations: 2.217 MB / 0.5514 GB, free: 142.4 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.5351, allocations: 7.312 kB / 0.5514 GB, free: 142.4 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.5351, allocations: 9.781 kB / 0.5514 GB, free: 142.4 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.5366, allocations: 0.6335 MB / 0.552 GB, free: 142.4 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.5376, allocations: 275 kB / 0.5523 GB, free: 142.4 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005684/0.5433, allocations: 5.761 MB / 0.5579 GB, free: 139.9 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00084/0.5441, allocations: 56.11 kB / 0.558 GB, free: 139.9 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.5443, allocations: 51.69 kB / 0.558 GB, free: 139.9 MB / 418.8 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.0001894/0.5445, allocations: 133.5 kB / 0.5581 GB, free: 139.8 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.5446, allocations: 127.9 kB / 0.5583 GB, free: 139.7 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/0.5478, allocations: 2.096 MB / 0.5603 GB, free: 139.6 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.5479, allocations: 10.19 kB / 0.5603 GB, free: 139.6 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5479, allocations: 12.33 kB / 0.5603 GB, free: 139.6 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.5479, allocations: 10.17 kB / 0.5603 GB, free: 139.6 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005911/0.5538, allocations: 4.067 MB / 0.5643 GB, free: 139.1 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.5538, allocations: 3.812 kB / 0.5643 GB, free: 139.1 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007438/0.5546, allocations: 176.5 kB / 0.5645 GB, free: 139.1 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.5564, allocations: 0.6956 MB / 0.5652 GB, free: 139.1 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.632e-05/0.5565, allocations: 14.92 kB / 0.5652 GB, free: 139.1 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006581/0.563, allocations: 7.386 MB / 0.5724 GB, free: 135.4 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5631, allocations: 3.812 kB / 0.5724 GB, free: 135.4 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003915/0.567, allocations: 3.228 MB / 0.5755 GB, free: 134.3 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000529/0.5675, allocations: 347.2 kB / 0.5759 GB, free: 134.1 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.5677, allocations: 17.64 kB / 0.5759 GB, free: 134.1 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007824/0.5685, allocations: 54.52 kB / 0.5759 GB, free: 134.1 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.5687, allocations: 68.83 kB / 0.576 GB, free: 134.1 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.149e-05/0.5688, allocations: 36.03 kB / 0.576 GB, free: 134.1 MB / 418.8 MB Notification: Performance of sort global known variables: time 0.0007816/0.5696, allocations: 0.6467 MB / 0.5767 GB, free: 133.8 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.001329/0.5709, allocations: 400.7 kB / 0.5771 GB, free: 133.8 MB / 418.8 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.0004365/0.5714, allocations: 282.3 kB / 0.5773 GB, free: 133.7 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.002955/0.5743, allocations: 2.089 MB / 0.5794 GB, free: 132.7 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5743, allocations: 1 kB / 0.5794 GB, free: 132.7 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002032/0.5764, allocations: 1.368 MB / 0.5807 GB, free: 132 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.5776, allocations: 268.8 kB / 0.581 GB, free: 132 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006455/0.5841, allocations: 3.264 MB / 0.5841 GB, free: 130.6 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/0.5858, allocations: 1.752 MB / 0.5859 GB, free: 129.7 MB / 418.8 MB Notification: Performance of SimCode: time 6.71e-07/0.5858, allocations: 4 kB / 0.5859 GB, free: 129.7 MB / 418.8 MB Notification: Performance of Templates: time 0.03385/0.6197, allocations: 20.72 MB / 0.6061 GB, free: 119.4 MB / 418.8 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches