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.0009495/0.0009494, allocations: 96.03 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 204.8 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.7 MB / 247.5 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002368/0.0002368, allocations: 11.98 kB / 308.4 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09706/0.09732, allocations: 51.52 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2043/0.3017, allocations: 13.41 MB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.3125, allocations: 5.23 MB / 378.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003005/0.3155, allocations: 77 kB / 378.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003862/0.3194, allocations: 0.9199 MB / 379.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005111/0.3246, allocations: 1.281 MB / 380.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.3275, allocations: 0.9371 MB / 381.8 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007209/0.3348, allocations: 4.724 MB / 386.5 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004794/0.3396, allocations: 2.764 MB / 389.3 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.3427, allocations: 1.419 MB / 390.7 MB, free: 5.168 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004018/0.3467, allocations: 1.918 MB / 392.6 MB, free: 4.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001243/0.348, allocations: 223.9 kB / 392.8 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.3511, allocations: 0.6003 MB / 393.4 MB, free: 4.262 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00165/0.3528, allocations: 0.9531 MB / 394.4 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004197/0.357, allocations: 1.969 MB / 396.3 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006258/0.3633, allocations: 6.013 MB / 402.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3633, allocations: 0 / 402.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.3633, allocations: 3.938 kB / 402.4 MB, free: 14.15 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001666/0.3635, allocations: 0 / 402.4 MB, free: 14.15 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.01087/0.3743, allocations: 4.267 MB / 406.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3744, allocations: 8.031 kB / 406.6 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004892/0.3793, allocations: 0.9216 MB / 407.6 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005347/0.3847, allocations: 2.71 MB / 410.3 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.3849, allocations: 250.6 kB / 410.5 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007392/0.3857, allocations: 338.6 kB / 410.8 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009452/0.3951, allocations: 4.557 MB / 415.4 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-05/0.3952, allocations: 8 kB / 415.4 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003411/0.3956, allocations: 139.2 kB / 415.5 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001659/0.3957, allocations: 150.7 kB / 415.7 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007214/0.403, allocations: 3.95 MB / 419.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02386/0.4268, allocations: 14.24 MB / 433.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007933/0.4348, allocations: 7.006 MB / 440.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002995/0.4378, allocations: 1.693 MB / 442.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008054/0.4459, allocations: 4.504 MB / 447.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.446, allocations: 51.88 kB / 447.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=165): time 3.977e-06/0.446, allocations: 3.938 kB / 447.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=185): time 0.01797/0.464, allocations: 7.865 MB / 455 MB, free: 9.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.4641, allocations: 73.41 kB / 455.1 MB, free: 9.176 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004955/0.469, allocations: 2.657 MB / 457.7 MB, free: 6.496 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002362/0.4693, allocations: 57.7 kB / 457.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.4707, allocations: 1.637 MB / 459.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006786/0.4714, allocations: 0.6255 MB / 460 MB, free: 4.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/0.4717, allocations: 149.6 kB / 460.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4718, allocations: 305.1 kB / 460.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/0.4737, allocations: 0.9253 MB / 461.4 MB, free: 2.781 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/0.4758, allocations: 1.321 MB / 462.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003929/0.4798, allocations: 2.379 MB / 465.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.4798, allocations: 8 kB / 465.1 MB, free: 14.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006126/0.4859, allocations: 3.095 MB / 468.2 MB, free: 11.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.486, allocations: 15.98 kB / 468.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/0.486, allocations: 12.25 kB / 468.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.4876, allocations: 0.5516 MB / 468.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/0.4894, allocations: 435.3 kB / 469.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009359/0.4988, allocations: 6.975 MB / 476.2 MB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.5008, allocations: 99.91 kB / 476.3 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002888/0.5011, allocations: 71.98 kB / 476.4 MB, free: 3.254 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.002506/0.5036, allocations: 1.173 MB / 477.5 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007615/0.5044, allocations: 260.8 kB / 477.8 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005939/0.5103, allocations: 2.919 MB / 480.7 MB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.331e-05/0.5104, allocations: 20 kB / 480.7 MB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.873e-05/0.5104, allocations: 8 kB / 480.7 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/0.5105, allocations: 11.91 kB / 480.7 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/0.5222, allocations: 6.368 MB / 487.1 MB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/0.5222, allocations: 0 / 487.1 MB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/0.5235, allocations: 287.7 kB / 487.4 MB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.5252, allocations: 0.6212 MB / 488 MB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.5254, allocations: 47.97 kB / 488.1 MB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/0.5367, allocations: 10.5 MB / 498.6 MB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.5368, allocations: 4.031 kB / 498.6 MB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00812/0.5449, allocations: 4.192 MB / 0.491 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/0.5464, allocations: 0.5446 MB / 0.4915 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007269/0.5471, allocations: 44 kB / 0.4916 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/0.5487, allocations: 87.92 kB / 0.4916 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004055/0.5492, allocations: 149.7 kB / 0.4918 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/0.5493, allocations: 51.98 kB / 0.4918 GB, free: 7.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003719/0.553, allocations: 1.867 MB / 0.4936 GB, free: 5.434 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5531, allocations: 0 / 0.4936 GB, free: 5.434 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003272/0.5563, allocations: 0.6993 MB / 0.4943 GB, free: 4.734 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.001301/0.5576, allocations: 451.2 kB / 0.4948 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005593/0.5632, allocations: 2.857 MB / 0.4976 GB, free: 1.527 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5633, allocations: 0 / 0.4976 GB, free: 1.527 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003336/0.5666, allocations: 1.95 MB / 0.4995 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003867/0.5705, allocations: 0.573 MB / 0.5 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/0.5856, allocations: 8.816 MB / 0.5086 GB, free: 6.117 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003113/0.5888, allocations: 2.583 MB / 0.5111 GB, free: 3.508 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000858/0.5896, allocations: 183.4 kB / 0.5113 GB, free: 3.332 MB / 430.1 MB Notification: Performance of SimCode: time 1.303e-06/0.5896, allocations: 0 / 0.5113 GB, free: 3.332 MB / 430.1 MB Notification: Performance of Templates: time 0.2847/0.8743, allocations: 100.5 MB / 0.6095 GB, free: 79.01 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/jenkins1/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/jenkins1/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