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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008248/0.0008249, allocations: 97.08 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.019e-05, allocations: 4 kB / 343.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.09851, allocations: 51.47 MB / 395.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/0.4686, allocations: 109.3 MB / 0.4926 GB, free: 396 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.469, allocations: 90.94 kB / 0.4927 GB, free: 348 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1877/0.6567, allocations: 81.96 MB / 0.5727 GB, free: 2.645 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6567, allocations: 4 kB / 0.5727 GB, free: 2.641 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000247/0.657, allocations: 79.88 kB / 0.5728 GB, free: 2.562 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.2135/0.8705, allocations: 3.182 MB / 0.5759 GB, free: 70.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.8706, allocations: 9.281 kB / 0.5759 GB, free: 70.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/0.8754, allocations: 0.7261 MB / 0.5766 GB, free: 70.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007804/0.8832, allocations: 3.305 MB / 0.5799 GB, free: 69.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.8834, allocations: 99.44 kB / 0.58 GB, free: 69.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006906/0.8841, allocations: 190.2 kB / 0.5801 GB, free: 69.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005712/0.8898, allocations: 3.103 MB / 0.5832 GB, free: 69.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006211/0.8961, allocations: 3.602 MB / 0.5867 GB, free: 69.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.759e-05/0.8962, allocations: 1.594 kB / 0.5867 GB, free: 69.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002612/0.8964, allocations: 3.406 kB / 0.5867 GB, free: 69.46 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.8966, allocations: 143 kB / 0.5868 GB, free: 69.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01954/0.9161, allocations: 12.72 MB / 0.5992 GB, free: 67.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005148/0.9213, allocations: 7.016 MB / 0.6061 GB, free: 61.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002818/0.9242, allocations: 1.609 MB / 0.6077 GB, free: 61.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006249/0.9305, allocations: 4.096 MB / 0.6117 GB, free: 60.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.9305, allocations: 48.31 kB / 0.6117 GB, free: 60.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 4.048e-06/0.9306, allocations: 0 / 0.6117 GB, free: 60.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=121): time 0.00907/0.9396, allocations: 4.346 MB / 0.616 GB, free: 59.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.9397, allocations: 68.72 kB / 0.616 GB, free: 59.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.9415, allocations: 1.209 MB / 0.6172 GB, free: 59.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.349e-05/0.9416, allocations: 26.64 kB / 0.6172 GB, free: 59.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007717/0.9424, allocations: 1.419 MB / 0.6186 GB, free: 58.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/0.9427, allocations: 414.1 kB / 0.619 GB, free: 58.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/0.9428, allocations: 0 / 0.619 GB, free: 58.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.9429, allocations: 367.4 kB / 0.6194 GB, free: 57.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008501/0.9438, allocations: 0.575 MB / 0.6199 GB, free: 57.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009815/0.9448, allocations: 1.025 MB / 0.6209 GB, free: 57.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.9468, allocations: 0.9824 MB / 0.6219 GB, free: 57.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.9468, allocations: 4.344 kB / 0.6219 GB, free: 57.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004314/0.9511, allocations: 2.319 MB / 0.6242 GB, free: 56.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.9512, allocations: 13.19 kB / 0.6242 GB, free: 56.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.9512, allocations: 14.03 kB / 0.6242 GB, free: 56.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007719/0.952, allocations: 310.9 kB / 0.6245 GB, free: 56.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.9533, allocations: 351.6 kB / 0.6248 GB, free: 56.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004759/0.958, allocations: 5.864 MB / 0.6305 GB, free: 51.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.9596, allocations: 51.19 kB / 0.6306 GB, free: 51.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.9598, allocations: 69.62 kB / 0.6307 GB, free: 51.29 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 (175): * Single equations (assignments): 171 * 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%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002565/0.96, allocations: 143.8 kB / 0.6308 GB, free: 51.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.9603, allocations: 164.6 kB / 0.6309 GB, free: 51.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004588/0.9648, allocations: 2.206 MB / 0.6331 GB, free: 50.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.9649, allocations: 14 kB / 0.6331 GB, free: 50.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/0.9649, allocations: 10.3 kB / 0.6331 GB, free: 50.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/0.9649, allocations: 9.484 kB / 0.6331 GB, free: 50.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008766/0.9737, allocations: 4.49 MB / 0.6375 GB, free: 48.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.9738, allocations: 3.328 kB / 0.6375 GB, free: 48.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007847/0.9745, allocations: 166.5 kB / 0.6377 GB, free: 48.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/0.9759, allocations: 481 kB / 0.6381 GB, free: 47.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.976, allocations: 25.73 kB / 0.6382 GB, free: 47.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008791/0.9848, allocations: 10.07 MB / 0.648 GB, free: 39.65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/0.9849, allocations: 11.36 kB / 0.648 GB, free: 39.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005674/0.9906, allocations: 3.142 MB / 0.6511 GB, free: 38.03 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/0.992, allocations: 391.4 kB / 0.6515 GB, free: 37.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003281/0.9923, allocations: 11.22 kB / 0.6515 GB, free: 37.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008434/0.9932, allocations: 56 kB / 0.6515 GB, free: 37.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002654/0.9934, allocations: 95.33 kB / 0.6516 GB, free: 37.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.067e-05/0.9935, allocations: 35.45 kB / 0.6516 GB, free: 37.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001791/0.9953, allocations: 0.9145 MB / 0.6525 GB, free: 37.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9953, allocations: 4 kB / 0.6525 GB, free: 37.31 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002865/0.9982, allocations: 0.5175 MB / 0.653 GB, free: 37.3 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 (81): * Single equations (assignments): 76 * 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%) 8,(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.0005311/0.9987, allocations: 346.7 kB / 0.6534 GB, free: 37.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002613/1.001, allocations: 1.936 MB / 0.6553 GB, free: 36.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.001, allocations: 384 / 0.6553 GB, free: 36.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/1.003, allocations: 1.44 MB / 0.6567 GB, free: 35.28 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/1.005, allocations: 361.2 kB / 0.657 GB, free: 35.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007214/1.012, allocations: 4.333 MB / 0.6613 GB, free: 33.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/1.014, allocations: 2.344 MB / 0.6635 GB, free: 32.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001366/1.015, allocations: 352.3 kB / 0.6639 GB, free: 32.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/1.016, allocations: 113 kB / 0.664 GB, free: 32.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/1.016, allocations: 0 / 0.664 GB, free: 32.1 MB / 442.7 MB Notification: Performance of Templates: time 0.03766/1.053, allocations: 22.22 MB / 0.6857 GB, free: 30.86 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