Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0009925/0.0009926, allocations: 183.4 kB / 8.135 MB, free: 2.219 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.151/1.151, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.000926/0.000926, allocations: 102.3 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.025e-06/8.045e-06, allocations: 4 kB / 336.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2104, allocations: 50.4 MB / 386.9 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.3307, allocations: 108.1 MB / 495.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.331, allocations: 95.88 kB / 495.2 MB, free: 10.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.2987/0.6297, allocations: 78.45 MB / 0.5602 GB, free: 48.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002594/0.63, allocations: 75.84 kB / 0.5602 GB, free: 48.46 MB / 378.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.008298/0.6383, allocations: 3.179 MB / 0.5633 GB, free: 45.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.6383, allocations: 8.031 kB / 0.5634 GB, free: 45.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004354/0.6427, allocations: 0.7296 MB / 0.5641 GB, free: 44.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007772/0.6505, allocations: 3.287 MB / 0.5673 GB, free: 41.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.6507, allocations: 100 kB / 0.5674 GB, free: 41.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009768/0.6517, allocations: 183.9 kB / 0.5675 GB, free: 40.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006746/0.6584, allocations: 3.16 MB / 0.5706 GB, free: 37.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008003/0.6664, allocations: 3.644 MB / 0.5742 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001441/0.6666, allocations: 0 / 0.5742 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007814/0.6674, allocations: 7.906 kB / 0.5742 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/0.6676, allocations: 146.3 kB / 0.5743 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02003/0.6877, allocations: 12.69 MB / 0.5867 GB, free: 20.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.6891, allocations: 1.047 MB / 0.5878 GB, free: 19.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.6909, allocations: 1.333 MB / 0.5891 GB, free: 18.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005786/0.6967, allocations: 4.014 MB / 0.593 GB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.6967, allocations: 47.88 kB / 0.593 GB, free: 14.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=149): time 2.806e-06/0.6967, allocations: 0 / 0.593 GB, free: 14.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=152): time 0.007404/0.7041, allocations: 4.354 MB / 0.5973 GB, free: 9.801 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.7042, allocations: 68.72 kB / 0.5973 GB, free: 9.719 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.7061, allocations: 1.216 MB / 0.5985 GB, free: 8.496 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.7062, allocations: 29.7 kB / 0.5986 GB, free: 8.461 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/0.7066, allocations: 1.14 MB / 0.5997 GB, free: 7.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.7069, allocations: 0.5004 MB / 0.6002 GB, free: 6.797 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.669e-05/0.707, allocations: 0 / 0.6002 GB, free: 6.797 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.7071, allocations: 373.9 kB / 0.6005 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009112/0.708, allocations: 0.7029 MB / 0.6012 GB, free: 5.723 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.7091, allocations: 1.172 MB / 0.6023 GB, free: 4.348 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.7106, allocations: 0.9782 MB / 0.6033 GB, free: 3.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.7106, allocations: 11.91 kB / 0.6033 GB, free: 3.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.003583/0.7142, allocations: 2.395 MB / 0.6057 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.7142, allocations: 4 kB / 0.6057 GB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.7142, allocations: 16 kB / 0.6057 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/0.7148, allocations: 283.5 kB / 0.6059 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.7164, allocations: 399.4 kB / 0.6063 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005148/0.7216, allocations: 5.37 MB / 0.6116 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.7233, allocations: 43.88 kB / 0.6116 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.7235, allocations: 84.2 kB / 0.6117 GB, free: 10.38 MB / 394.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.0003399/0.7239, allocations: 152.4 kB / 0.6118 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/0.7241, allocations: 173.8 kB / 0.612 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004371/0.7285, allocations: 2.288 MB / 0.6142 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.7286, allocations: 16 kB / 0.6143 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.7286, allocations: 7.984 kB / 0.6143 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.7286, allocations: 7.922 kB / 0.6143 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008406/0.737, allocations: 5.026 MB / 0.6192 GB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.737, allocations: 4 kB / 0.6192 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.7381, allocations: 219.9 kB / 0.6194 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001223/0.7393, allocations: 440.2 kB / 0.6198 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.7395, allocations: 19.98 kB / 0.6198 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009243/0.7487, allocations: 9.477 MB / 0.6291 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/0.7487, allocations: 7.984 kB / 0.6291 GB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005251/0.754, allocations: 3.358 MB / 0.6324 GB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008997/0.7549, allocations: 418.9 kB / 0.6328 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.7552, allocations: 16.27 kB / 0.6328 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009226/0.7561, allocations: 51.95 kB / 0.6328 GB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.7563, allocations: 92.97 kB / 0.6329 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.927e-05/0.7564, allocations: 47.92 kB / 0.633 GB, free: 3.602 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001447/0.7579, allocations: 0.9076 MB / 0.6339 GB, free: 2.695 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002043/0.7599, allocations: 0.5198 MB / 0.6344 GB, free: 2.176 MB / 410.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%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005198/0.7605, allocations: 358.5 kB / 0.6347 GB, free: 1.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003059/0.7635, allocations: 2.159 MB / 0.6368 GB, free: 15.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7636, allocations: 0 / 0.6368 GB, free: 15.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002207/0.7658, allocations: 1.468 MB / 0.6382 GB, free: 14.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.7682, allocations: 340.2 kB / 0.6386 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009362/0.7776, allocations: 4.515 MB / 0.643 GB, free: 9.172 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002473/0.7801, allocations: 2.465 MB / 0.6454 GB, free: 6.68 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.7801, allocations: 0 / 0.6454 GB, free: 6.68 MB / 426.7 MB Notification: Performance of Templates: time 0.1621/0.9422, allocations: 26.29 MB / 0.6711 GB, free: 123.9 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches