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.001638/0.001638, allocations: 117.6 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 200.7 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001138, allocations: 63.89 kB / 358.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2343, allocations: 50.55 MB / 409.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01568/0.25, allocations: 14.27 MB / 423.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.2603, allocations: 5.356 MB / 428.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.2627, allocations: 83.69 kB / 429 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003191/0.2659, allocations: 1.099 MB / 430.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004651/0.2706, allocations: 1.464 MB / 431.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.2732, allocations: 1.028 MB / 432.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00525/0.2785, allocations: 4.355 MB / 436.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004315/0.2828, allocations: 3.355 MB / 440.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002718/0.2856, allocations: 2.029 MB / 442.3 MB, free: 328 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003727/0.2893, allocations: 2.406 MB / 444.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001108/0.2904, allocations: 0.5429 MB / 445.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.2928, allocations: 0.9136 MB / 446.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001621/0.2944, allocations: 1.36 MB / 447.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003462/0.2979, allocations: 2.36 MB / 449.9 MB, free: 8.715 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00804/0.3059, allocations: 7.396 MB / 457.3 MB, free: 1.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.306, allocations: 4 kB / 457.3 MB, free: 1.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.306, allocations: 0 / 457.3 MB, free: 1.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001691/0.3061, allocations: 0 / 457.3 MB, free: 1.293 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.01199/0.3181, allocations: 5.026 MB / 462.3 MB, free: 12.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3182, allocations: 12.03 kB / 462.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004894/0.3231, allocations: 0.9092 MB / 463.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005646/0.3288, allocations: 2.811 MB / 466.1 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.329, allocations: 258.7 kB / 466.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007221/0.3297, allocations: 335.8 kB / 466.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008301/0.338, allocations: 4.551 MB / 471.2 MB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.085e-05/0.3381, allocations: 4 kB / 471.2 MB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003106/0.3385, allocations: 132 kB / 471.3 MB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001567/0.3386, allocations: 158.6 kB / 471.5 MB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006718/0.3453, allocations: 3.911 MB / 475.4 MB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02139/0.3668, allocations: 14 MB / 489.4 MB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007161/0.374, allocations: 6.979 MB / 496.4 MB, free: 8.902 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002834/0.3768, allocations: 1.724 MB / 498.1 MB, free: 7.176 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007366/0.3842, allocations: 4.483 MB / 0.4908 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.3843, allocations: 51.88 kB / 0.4908 GB, free: 2.492 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 3.907e-06/0.3843, allocations: 0 / 0.4908 GB, free: 2.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01629/0.4006, allocations: 7.776 MB / 0.4984 GB, free: 10.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.4007, allocations: 73.41 kB / 0.4985 GB, free: 10.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003501/0.4042, allocations: 2.654 MB / 0.5011 GB, free: 7.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001779/0.4044, allocations: 57.7 kB / 0.5012 GB, free: 7.758 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.4055, allocations: 1.635 MB / 0.5028 GB, free: 6.102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005427/0.4061, allocations: 0.6198 MB / 0.5034 GB, free: 5.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005617/0.4067, allocations: 335.4 kB / 0.5037 GB, free: 5.141 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4068, allocations: 305.1 kB / 0.504 GB, free: 4.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.4084, allocations: 0.9097 MB / 0.5049 GB, free: 3.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.4102, allocations: 1.302 MB / 0.5061 GB, free: 2.477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003423/0.4136, allocations: 2.355 MB / 0.5084 GB, free: 15.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.435e-06/0.4136, allocations: 4 kB / 0.5084 GB, free: 15.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005356/0.419, allocations: 3.08 MB / 0.5114 GB, free: 12.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.419, allocations: 8 kB / 0.5114 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.419, allocations: 12 kB / 0.5115 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.4206, allocations: 0.5519 MB / 0.512 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.4223, allocations: 427.3 kB / 0.5124 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009109/0.4314, allocations: 7.603 MB / 0.5198 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.4329, allocations: 95.91 kB / 0.5199 GB, free: 3.906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.4331, allocations: 71.98 kB / 0.52 GB, free: 3.836 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.00179/0.4349, allocations: 1.18 MB / 0.5211 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004244/0.4353, allocations: 248.9 kB / 0.5214 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005125/0.4405, allocations: 2.894 MB / 0.5242 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/0.4405, allocations: 24 kB / 0.5242 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.4405, allocations: 8 kB / 0.5242 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.4406, allocations: 11.95 kB / 0.5242 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.4507, allocations: 6.349 MB / 0.5305 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.4507, allocations: 0 / 0.5305 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.452, allocations: 275.6 kB / 0.5307 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00165/0.4537, allocations: 0.6198 MB / 0.5313 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/0.4538, allocations: 43.98 kB / 0.5314 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1811/0.6349, allocations: 11.43 MB / 0.5425 GB, free: 120.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.635, allocations: 2.828 kB / 0.5425 GB, free: 120.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006588/0.6416, allocations: 4.164 MB / 0.5466 GB, free: 118.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.6429, allocations: 0.5392 MB / 0.5471 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002846/0.6432, allocations: 41.91 kB / 0.5472 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.6443, allocations: 89.09 kB / 0.5472 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004212/0.6448, allocations: 133.5 kB / 0.5474 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.6449, allocations: 61.98 kB / 0.5474 GB, free: 118.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002334/0.6472, allocations: 1.866 MB / 0.5493 GB, free: 117.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6472, allocations: 2.75 kB / 0.5493 GB, free: 117.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002195/0.6494, allocations: 0.6909 MB / 0.5499 GB, free: 117.6 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.001111/0.6506, allocations: 446.9 kB / 0.5504 GB, free: 117.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004189/0.6548, allocations: 2.826 MB / 0.5531 GB, free: 116.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6548, allocations: 0 / 0.5531 GB, free: 116.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00241/0.6572, allocations: 1.928 MB / 0.555 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.002348/0.6596, allocations: 0.6015 MB / 0.5556 GB, free: 114.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0093/0.6689, allocations: 7.078 MB / 0.5625 GB, free: 109.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/0.6706, allocations: 2.638 MB / 0.5651 GB, free: 107.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00143/0.6721, allocations: 0.5072 MB / 0.5656 GB, free: 107.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000428/0.6725, allocations: 166.6 kB / 0.5657 GB, free: 107.2 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6725, allocations: 0 / 0.5657 GB, free: 107.2 MB / 462.1 MB Notification: Performance of Templates: time 0.04925/0.7218, allocations: 35.99 MB / 0.6009 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