Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.0009722/0.0009722, allocations: 195.8 kB / 8.535 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008671/0.0008672, allocations: 95.8 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.466e-06/8.496e-06, allocations: 4 kB / 343.2 MB, free: 8.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.09872, allocations: 51.47 MB / 394.6 MB, free: 5.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2927/0.3915, allocations: 109.2 MB / 0.492 GB, free: 0.543 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.3918, allocations: 91.83 kB / 0.4921 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2039/0.5957, allocations: 81.73 MB / 0.5719 GB, free: 3.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002847/0.5961, allocations: 79.92 kB / 0.572 GB, free: 3.172 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.1455/0.7416, allocations: 3.196 MB / 0.5751 GB, free: 121.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.7416, allocations: 9.688 kB / 0.5751 GB, free: 121.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004576/0.7462, allocations: 0.729 MB / 0.5758 GB, free: 121.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008028/0.7543, allocations: 3.321 MB / 0.5791 GB, free: 120.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.7545, allocations: 102.5 kB / 0.5792 GB, free: 120.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/0.7555, allocations: 188 kB / 0.5793 GB, free: 120.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006391/0.7619, allocations: 3.157 MB / 0.5824 GB, free: 120.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005858/0.7678, allocations: 3.637 MB / 0.586 GB, free: 120.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.919e-05/0.7679, allocations: 13.03 kB / 0.586 GB, free: 120.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.7682, allocations: 3.781 kB / 0.586 GB, free: 120.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.7683, allocations: 148.1 kB / 0.5861 GB, free: 120.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01973/0.788, allocations: 12.78 MB / 0.5986 GB, free: 118.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.7893, allocations: 1.052 MB / 0.5996 GB, free: 118.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/0.7911, allocations: 1.364 MB / 0.601 GB, free: 118.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005766/0.7969, allocations: 4.269 MB / 0.6051 GB, free: 117.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.7969, allocations: 50.16 kB / 0.6052 GB, free: 117.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=149): time 3.196e-06/0.7969, allocations: 0 / 0.6052 GB, free: 117.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=152): time 0.007288/0.8042, allocations: 4.358 MB / 0.6094 GB, free: 116 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.8043, allocations: 71.12 kB / 0.6095 GB, free: 116 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.8061, allocations: 1.228 MB / 0.6107 GB, free: 115.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.8062, allocations: 25.7 kB / 0.6107 GB, free: 115.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005263/0.8068, allocations: 1.147 MB / 0.6119 GB, free: 115.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000368/0.8071, allocations: 0.501 MB / 0.6123 GB, free: 114.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-05/0.8072, allocations: 0 / 0.6123 GB, free: 114.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.8074, allocations: 377.2 kB / 0.6127 GB, free: 114.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.8084, allocations: 0.7022 MB / 0.6134 GB, free: 114.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.8095, allocations: 1.169 MB / 0.6145 GB, free: 113.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.811, allocations: 0.9756 MB / 0.6155 GB, free: 113.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.811, allocations: 11.25 kB / 0.6155 GB, free: 113.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.003565/0.8146, allocations: 2.398 MB / 0.6178 GB, free: 112.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.8146, allocations: 12.62 kB / 0.6179 GB, free: 112.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.8146, allocations: 14.62 kB / 0.6179 GB, free: 112.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/0.8153, allocations: 268.5 kB / 0.6181 GB, free: 112.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.8168, allocations: 414.5 kB / 0.6185 GB, free: 112.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003795/0.8206, allocations: 5.366 MB / 0.6238 GB, free: 107.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.822, allocations: 54.03 kB / 0.6238 GB, free: 107.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.8222, allocations: 69.72 kB / 0.6239 GB, free: 107.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (209): * Single equations (assignments): 205 * 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 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000276/0.8225, allocations: 152.8 kB / 0.624 GB, free: 107.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.8227, allocations: 176.8 kB / 0.6242 GB, free: 107.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003585/0.8263, allocations: 2.286 MB / 0.6264 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.8263, allocations: 23.88 kB / 0.6264 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.8263, allocations: 7.812 kB / 0.6265 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.8263, allocations: 6.141 kB / 0.6265 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006906/0.8333, allocations: 5.025 MB / 0.6314 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8333, allocations: 0 / 0.6314 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009632/0.8343, allocations: 219.2 kB / 0.6316 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.8353, allocations: 451.1 kB / 0.632 GB, free: 103.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.343e-05/0.8354, allocations: 14.55 kB / 0.632 GB, free: 103.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007037/0.8425, allocations: 9.472 MB / 0.6413 GB, free: 95.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.8425, allocations: 3.531 kB / 0.6413 GB, free: 95.99 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004306/0.8468, allocations: 3.359 MB / 0.6446 GB, free: 94.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008579/0.8477, allocations: 413.7 kB / 0.6449 GB, free: 94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/0.848, allocations: 19.58 kB / 0.645 GB, free: 93.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008932/0.8489, allocations: 54.09 kB / 0.645 GB, free: 93.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.849, allocations: 82.72 kB / 0.6451 GB, free: 93.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.645e-05/0.8491, allocations: 46.42 kB / 0.6451 GB, free: 93.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001179/0.8503, allocations: 0.9265 MB / 0.646 GB, free: 93.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001868/0.8522, allocations: 0.5324 MB / 0.6466 GB, free: 93.54 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004711/0.8527, allocations: 347.9 kB / 0.6469 GB, free: 93.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002511/0.8552, allocations: 2.159 MB / 0.649 GB, free: 92.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8552, allocations: 7.25 kB / 0.649 GB, free: 92.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001797/0.857, allocations: 1.464 MB / 0.6504 GB, free: 91.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.8586, allocations: 350.3 kB / 0.6508 GB, free: 91.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008788/0.8674, allocations: 4.535 MB / 0.6552 GB, free: 89.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002502/0.87, allocations: 2.478 MB / 0.6576 GB, free: 88.46 MB / 442.7 MB Notification: Performance of SimCode: time 7.82e-07/0.87, allocations: 0 / 0.6576 GB, free: 88.46 MB / 442.7 MB Notification: Performance of Templates: time 0.04293/0.9129, allocations: 26.65 MB / 0.6836 GB, free: 86.95 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches