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.0008942/0.0008942, allocations: 95.59 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.7 MB / 246.8 MB, free: 9.758 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002199/0.0002201, allocations: 11.94 kB / 307.8 MB, free: 0.5586 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09142/0.09166, allocations: 51.51 MB / 359.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1793/0.271, allocations: 13.41 MB / 372.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00865/0.2797, allocations: 5.229 MB / 377.9 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.2814, allocations: 81.38 kB / 378 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.2839, allocations: 0.9237 MB / 378.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003192/0.2871, allocations: 1.272 MB / 380.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.289, allocations: 0.9252 MB / 381.1 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00484/0.2939, allocations: 4.728 MB / 385.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003077/0.297, allocations: 2.758 MB / 388.6 MB, free: 5.445 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.2992, allocations: 1.417 MB / 390 MB, free: 4.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002463/0.3016, allocations: 1.924 MB / 391.9 MB, free: 4.051 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004881/0.3021, allocations: 225.3 kB / 392.2 MB, free: 4.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.3037, allocations: 0.6005 MB / 392.8 MB, free: 3.926 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007128/0.3044, allocations: 0.9485 MB / 393.7 MB, free: 3.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001752/0.3062, allocations: 1.973 MB / 395.7 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006017/0.3122, allocations: 6.94 MB / 402.6 MB, free: 13.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3123, allocations: 0 / 402.6 MB, free: 13.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3123, allocations: 0 / 402.6 MB, free: 13.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001666/0.3124, allocations: 0 / 402.6 MB, free: 13.24 MB / 318.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.01092/0.3234, allocations: 4.264 MB / 406.9 MB, free: 9.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.3234, allocations: 8.031 kB / 406.9 MB, free: 9.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005289/0.3287, allocations: 0.9239 MB / 407.8 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005259/0.334, allocations: 2.706 MB / 410.5 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.3343, allocations: 254.2 kB / 410.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000826/0.3351, allocations: 334.6 kB / 411.1 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008054/0.3432, allocations: 4.56 MB / 415.7 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.981e-05/0.3433, allocations: 4 kB / 415.7 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003238/0.3436, allocations: 136 kB / 415.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001594/0.3438, allocations: 158.7 kB / 416 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006852/0.3506, allocations: 3.939 MB / 419.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02075/0.3714, allocations: 14.25 MB / 434.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007729/0.3792, allocations: 7.009 MB / 441.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003049/0.3823, allocations: 1.699 MB / 442.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008307/0.3906, allocations: 4.502 MB / 447.4 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.3907, allocations: 55.81 kB / 447.4 MB, free: 260 kB / 350.1 MB Notification: Performance of pre-optimization done (n=165): time 5.33e-06/0.3907, allocations: 0 / 447.4 MB, free: 260 kB / 350.1 MB Notification: Performance of matching and sorting (n=185): time 0.01715/0.4079, allocations: 7.865 MB / 455.3 MB, free: 8.254 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.4079, allocations: 73.41 kB / 455.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003605/0.4115, allocations: 2.661 MB / 458 MB, free: 5.488 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001874/0.4117, allocations: 61.64 kB / 458.1 MB, free: 5.422 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00114/0.4129, allocations: 1.63 MB / 459.7 MB, free: 3.773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005318/0.4134, allocations: 0.6225 MB / 460.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.4137, allocations: 153.6 kB / 460.5 MB, free: 3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.4138, allocations: 305.1 kB / 460.8 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.4154, allocations: 0.9253 MB / 461.7 MB, free: 1.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/0.4173, allocations: 1.318 MB / 463 MB, free: 312 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003566/0.4208, allocations: 2.375 MB / 465.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.4209, allocations: 8 kB / 465.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005577/0.4264, allocations: 3.106 MB / 468.5 MB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.4265, allocations: 11.94 kB / 468.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.4265, allocations: 16.25 kB / 468.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/0.428, allocations: 0.5477 MB / 469.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/0.4298, allocations: 435.3 kB / 469.5 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008686/0.4385, allocations: 6.973 MB / 476.5 MB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.4401, allocations: 95.91 kB / 476.6 MB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.4403, allocations: 79.98 kB / 476.6 MB, free: 2.246 MB / 382.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.001915/0.4422, allocations: 1.166 MB / 477.8 MB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004025/0.4426, allocations: 260.8 kB / 478.1 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005352/0.448, allocations: 2.923 MB / 481 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.969e-05/0.448, allocations: 23.94 kB / 481 MB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.4481, allocations: 8 kB / 481 MB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.82e-05/0.4481, allocations: 11.91 kB / 481 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/0.4583, allocations: 6.369 MB / 487.4 MB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/0.4584, allocations: 0 / 487.4 MB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.4597, allocations: 287.7 kB / 487.7 MB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/0.4613, allocations: 0.614 MB / 488.3 MB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.4614, allocations: 51.97 kB / 488.3 MB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/0.4723, allocations: 10.5 MB / 498.8 MB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4724, allocations: 0 / 498.8 MB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007114/0.4795, allocations: 4.2 MB / 0.4913 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.4807, allocations: 0.5485 MB / 0.4918 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003226/0.481, allocations: 40 kB / 0.4918 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.4822, allocations: 91.92 kB / 0.4919 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003319/0.4825, allocations: 141.7 kB / 0.4921 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.4827, allocations: 51.98 kB / 0.4921 GB, free: 6.305 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002584/0.4853, allocations: 1.867 MB / 0.4939 GB, free: 4.426 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4853, allocations: 0 / 0.4939 GB, free: 4.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00218/0.4874, allocations: 0.7057 MB / 0.4946 GB, free: 3.723 MB / 414.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.001064/0.4885, allocations: 458.8 kB / 0.4951 GB, free: 3.395 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004922/0.4935, allocations: 2.849 MB / 0.4978 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4935, allocations: 0 / 0.4978 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002946/0.4964, allocations: 1.957 MB / 0.4997 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/0.4993, allocations: 0.5576 MB / 0.5003 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.511, allocations: 8.805 MB / 0.5089 GB, free: 5.129 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002308/0.5133, allocations: 2.64 MB / 0.5115 GB, free: 2.461 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001812/0.5152, allocations: 0.5125 MB / 0.512 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/0.5157, allocations: 171.4 kB / 0.5121 GB, free: 1.777 MB / 430.1 MB Notification: Performance of SimCode: time 9.81e-07/0.5157, allocations: 0 / 0.5121 GB, free: 1.777 MB / 430.1 MB Notification: Performance of Templates: time 0.2282/0.7438, allocations: 35.5 MB / 0.5468 GB, free: 135.7 MB / 446.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