Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 63.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2354, allocations: 50.54 MB / 409.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01606/0.2515, allocations: 14.26 MB / 423.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009202/0.2608, allocations: 4.684 MB / 428.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002605/0.2634, allocations: 79.75 kB / 428.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003548/0.267, allocations: 1.064 MB / 429.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004629/0.2717, allocations: 1.332 MB / 430.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.2742, allocations: 0.9378 MB / 431.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005428/0.2796, allocations: 4.146 MB / 435.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004786/0.2844, allocations: 3.221 MB / 439 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/0.2876, allocations: 1.916 MB / 440.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00363/0.2912, allocations: 2.223 MB / 443.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00101/0.2923, allocations: 0.5078 MB / 443.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.294, allocations: 0.7302 MB / 444.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.2952, allocations: 1.122 MB / 445.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002798/0.298, allocations: 2.132 MB / 447.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00625/0.3043, allocations: 6.751 MB / 454.4 MB, free: 4.281 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3043, allocations: 4 kB / 454.4 MB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3043, allocations: 0 / 454.4 MB, free: 4.277 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001056/0.3044, allocations: 4 kB / 454.4 MB, free: 4.273 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.009588/0.314, allocations: 4.433 MB / 458.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3141, allocations: 8.031 kB / 458.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004184/0.3183, allocations: 0.824 MB / 459.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003909/0.3222, allocations: 2.459 MB / 462.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.3224, allocations: 242.8 kB / 462.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004731/0.3228, allocations: 327.8 kB / 462.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006506/0.3294, allocations: 4.27 MB / 466.9 MB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.008e-05/0.3294, allocations: 3.984 kB / 466.9 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002872/0.3297, allocations: 132 kB / 467.1 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/0.3299, allocations: 154.4 kB / 467.2 MB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005632/0.3355, allocations: 3.597 MB / 470.8 MB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01843/0.354, allocations: 13.79 MB / 484.6 MB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006037/0.36, allocations: 6.661 MB / 491.3 MB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002351/0.3624, allocations: 1.398 MB / 492.7 MB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005805/0.3682, allocations: 3.881 MB / 496.5 MB, free: 8.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.3683, allocations: 51.88 kB / 496.6 MB, free: 8.449 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 4.578e-06/0.3683, allocations: 4 kB / 496.6 MB, free: 8.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01056/0.3789, allocations: 5.882 MB / 0.4907 GB, free: 2.344 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.3789, allocations: 68.72 kB / 0.4908 GB, free: 2.266 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/0.3813, allocations: 1.805 MB / 0.4925 GB, free: 472 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.713e-05/0.3814, allocations: 49.7 kB / 0.4926 GB, free: 416 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000886/0.3822, allocations: 1.446 MB / 0.494 GB, free: 14.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/0.3826, allocations: 485 kB / 0.4944 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004512/0.383, allocations: 315.3 kB / 0.4947 GB, free: 14.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.479e-05/0.3831, allocations: 301.1 kB / 0.495 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.3842, allocations: 0.6793 MB / 0.4957 GB, free: 13.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.3855, allocations: 1.197 MB / 0.4969 GB, free: 11.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/0.388, allocations: 2.01 MB / 0.4988 GB, free: 9.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.3881, allocations: 4 kB / 0.4988 GB, free: 9.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003875/0.3919, allocations: 2.547 MB / 0.5013 GB, free: 6.926 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.392, allocations: 12 kB / 0.5013 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.392, allocations: 16 kB / 0.5013 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009274/0.3929, allocations: 364.1 kB / 0.5017 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.3943, allocations: 375.4 kB / 0.5021 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007198/0.4015, allocations: 8.396 MB / 0.5103 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.4028, allocations: 79.95 kB / 0.5103 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.4029, allocations: 76 kB / 0.5104 GB, free: 13.06 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001562/0.4045, allocations: 1.02 MB / 0.5114 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/0.4048, allocations: 201.5 kB / 0.5116 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/0.4087, allocations: 2.286 MB / 0.5138 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.4087, allocations: 12 kB / 0.5138 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/0.4087, allocations: 8 kB / 0.5138 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.4087, allocations: 3.984 kB / 0.5138 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007785/0.4165, allocations: 5.091 MB / 0.5188 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.4165, allocations: 0 / 0.5188 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007649/0.4173, allocations: 176 kB / 0.519 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/0.4187, allocations: 0.5322 MB / 0.5195 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.4188, allocations: 39.98 kB / 0.5195 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/0.4311, allocations: 13.23 MB / 0.5325 GB, free: 5.387 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4311, allocations: 4.031 kB / 0.5325 GB, free: 5.383 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005092/0.4362, allocations: 3.226 MB / 0.5356 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008924/0.4371, allocations: 426.6 kB / 0.536 GB, free: 1.633 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003693/0.4375, allocations: 39.94 kB / 0.5361 GB, free: 1.594 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009697/0.4385, allocations: 63.95 kB / 0.5361 GB, free: 1.531 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/0.4387, allocations: 109.2 kB / 0.5362 GB, free: 1.426 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-05/0.4388, allocations: 35.98 kB / 0.5363 GB, free: 1.391 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001957/0.4408, allocations: 1.239 MB / 0.5375 GB, free: 164 kB / 462.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.4408, allocations: 0 / 0.5375 GB, free: 164 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.2077/0.6485, allocations: 0.5773 MB / 0.538 GB, free: 122.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003604/0.6489, allocations: 169.4 kB / 0.5382 GB, free: 122.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003518/0.6524, allocations: 2.361 MB / 0.5405 GB, free: 121.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6524, allocations: 1.375 kB / 0.5405 GB, free: 121.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002024/0.6545, allocations: 1.732 MB / 0.5422 GB, free: 120.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.6567, allocations: 0.5412 MB / 0.5427 GB, free: 120.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00752/0.6642, allocations: 5.832 MB / 0.5484 GB, free: 117.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/0.6657, allocations: 2.309 MB / 0.5507 GB, free: 116.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001082/0.6668, allocations: 406.8 kB / 0.5511 GB, free: 116.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/0.6671, allocations: 133.9 kB / 0.5512 GB, free: 116.7 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6671, allocations: 0 / 0.5512 GB, free: 116.7 MB / 462.1 MB Notification: Performance of Templates: time 0.04525/0.7124, allocations: 30.54 MB / 0.581 GB, free: 90.36 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches