Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001442/0.001442, allocations: 116.5 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001594/0.001594, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 63.89 kB / 358.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2331, allocations: 50.54 MB / 409.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01468/0.2478, allocations: 14.26 MB / 423.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009617/0.2574, allocations: 5.354 MB / 428.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.2596, allocations: 79.75 kB / 429 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002572/0.2622, allocations: 1.056 MB / 430 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003996/0.2663, allocations: 1.425 MB / 431.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.2685, allocations: 1.024 MB / 432.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004706/0.2732, allocations: 4.358 MB / 436.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003412/0.2767, allocations: 3.356 MB / 440.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002417/0.2791, allocations: 2.033 MB / 442.2 MB, free: 452 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003001/0.2821, allocations: 2.406 MB / 444.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000657/0.2828, allocations: 0.5312 MB / 445.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.2843, allocations: 0.9134 MB / 446.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.2854, allocations: 1.367 MB / 447.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002151/0.2876, allocations: 2.357 MB / 449.8 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006774/0.2944, allocations: 7.393 MB / 457.2 MB, free: 1.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2944, allocations: 3.938 kB / 457.2 MB, free: 1.426 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2944, allocations: 0 / 457.2 MB, free: 1.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001178/0.2945, allocations: 0 / 457.2 MB, free: 1.426 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.01152/0.306, allocations: 5.039 MB / 462.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3061, allocations: 11.97 kB / 462.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00455/0.3107, allocations: 0.9053 MB / 463.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004923/0.3156, allocations: 2.814 MB / 466 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.3158, allocations: 254.7 kB / 466.2 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005286/0.3163, allocations: 331.9 kB / 466.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007874/0.3242, allocations: 4.547 MB / 471.1 MB, free: 3.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.24e-05/0.3243, allocations: 4 kB / 471.1 MB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003251/0.3246, allocations: 136 kB / 471.2 MB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/0.3248, allocations: 166.7 kB / 471.4 MB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00669/0.3315, allocations: 3.915 MB / 475.3 MB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02047/0.352, allocations: 13.99 MB / 489.3 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007457/0.3595, allocations: 6.982 MB / 496.3 MB, free: 9.023 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002909/0.3624, allocations: 1.716 MB / 498 MB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006964/0.3694, allocations: 4.487 MB / 0.4907 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.3695, allocations: 51.88 kB / 0.4908 GB, free: 2.617 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 3.246e-06/0.3695, allocations: 0 / 0.4908 GB, free: 2.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01696/0.3864, allocations: 7.776 MB / 0.4984 GB, free: 10.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.3865, allocations: 69.41 kB / 0.4984 GB, free: 10.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003734/0.3903, allocations: 2.657 MB / 0.501 GB, free: 7.945 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001783/0.3905, allocations: 57.7 kB / 0.5011 GB, free: 7.883 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001198/0.3917, allocations: 1.631 MB / 0.5027 GB, free: 6.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005261/0.3922, allocations: 0.6276 MB / 0.5033 GB, free: 5.594 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005566/0.3928, allocations: 331.4 kB / 0.5036 GB, free: 5.266 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3929, allocations: 313.1 kB / 0.5039 GB, free: 4.957 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.3944, allocations: 0.9019 MB / 0.5048 GB, free: 4.055 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.3963, allocations: 1.302 MB / 0.506 GB, free: 2.602 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003435/0.3997, allocations: 2.355 MB / 0.5083 GB, free: 104 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/0.3997, allocations: 7.984 kB / 0.5084 GB, free: 96 kB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005495/0.4052, allocations: 3.08 MB / 0.5114 GB, free: 13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.4053, allocations: 12.25 kB / 0.5114 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.4053, allocations: 12 kB / 0.5114 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/0.4068, allocations: 0.5438 MB / 0.5119 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.4086, allocations: 435.3 kB / 0.5123 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009372/0.418, allocations: 7.599 MB / 0.5197 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.4196, allocations: 87.84 kB / 0.5198 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.4198, allocations: 75.98 kB / 0.5199 GB, free: 3.961 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001936/0.4217, allocations: 1.176 MB / 0.5211 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004431/0.4222, allocations: 256.9 kB / 0.5213 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00513/0.4273, allocations: 2.89 MB / 0.5241 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-05/0.4273, allocations: 20 kB / 0.5241 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.4274, allocations: 11.98 kB / 0.5242 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/0.4274, allocations: 8.031 kB / 0.5242 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009909/0.4373, allocations: 6.353 MB / 0.5304 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.4373, allocations: 0 / 0.5304 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.4387, allocations: 279.7 kB / 0.5306 GB, free: 8.852 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001618/0.4403, allocations: 0.62 MB / 0.5312 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.4404, allocations: 39.98 kB / 0.5313 GB, free: 8.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2135/0.6539, allocations: 11.44 MB / 0.5424 GB, free: 120.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.654, allocations: 2.094 kB / 0.5424 GB, free: 120.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006579/0.6606, allocations: 4.162 MB / 0.5465 GB, free: 118.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.6617, allocations: 0.5389 MB / 0.547 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/0.662, allocations: 39.88 kB / 0.5471 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.6631, allocations: 80.12 kB / 0.5472 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/0.6634, allocations: 139.9 kB / 0.5473 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.6635, allocations: 57.95 kB / 0.5473 GB, free: 118.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00209/0.6656, allocations: 1.867 MB / 0.5492 GB, free: 117.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6657, allocations: 3.938 kB / 0.5492 GB, free: 117.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001923/0.6676, allocations: 0.6925 MB / 0.5498 GB, free: 117.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/0.6686, allocations: 448.8 kB / 0.5503 GB, free: 117.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00431/0.6729, allocations: 2.831 MB / 0.553 GB, free: 116.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.6729, allocations: 3.812 kB / 0.553 GB, free: 116.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002456/0.6754, allocations: 1.926 MB / 0.5549 GB, free: 115.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/0.678, allocations: 0.5968 MB / 0.5555 GB, free: 115 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009864/0.6879, allocations: 7.063 MB / 0.5624 GB, free: 109.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001757/0.6897, allocations: 2.648 MB / 0.565 GB, free: 107.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001509/0.6912, allocations: 0.5042 MB / 0.5655 GB, free: 107.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/0.6916, allocations: 176 kB / 0.5656 GB, free: 107.2 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.6916, allocations: 0 / 0.5656 GB, free: 107.2 MB / 462.1 MB Notification: Performance of Templates: time 0.04896/0.7406, allocations: 35.97 MB / 0.6008 GB, free: 71.83 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches