Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|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.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|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.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|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.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|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.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001652/0.001652, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001889/0.001889, allocations: 206.8 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.418/2.418, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4634/0.4657, allocations: 50.55 MB / 409.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02235/0.4881, allocations: 13.49 MB / 423.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.5016, allocations: 4.54 MB / 428 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003632/0.5053, allocations: 79.75 kB / 428.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004786/0.5101, allocations: 0.9901 MB / 429 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006494/0.5167, allocations: 1.285 MB / 430.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004033/0.5208, allocations: 0.8838 MB / 431.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008721/0.5295, allocations: 4.061 MB / 435.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006815/0.5364, allocations: 3.248 MB / 438.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004989/0.5414, allocations: 1.904 MB / 440.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006044/0.5476, allocations: 2.242 MB / 442.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002067/0.5497, allocations: 0.5156 MB / 443.2 MB, free: 120 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/0.5532, allocations: 0.7302 MB / 443.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002626/0.5559, allocations: 1.141 MB / 445.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005606/0.5615, allocations: 2.139 MB / 447.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01285/0.5744, allocations: 6.786 MB / 454 MB, free: 5.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/0.5745, allocations: 0 / 454 MB, free: 5.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5745, allocations: 0 / 454 MB, free: 5.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002711/0.5748, allocations: 0 / 454 MB, free: 5.289 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.02051/0.5953, allocations: 4.448 MB / 458.4 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.996e-05/0.5954, allocations: 12.03 kB / 458.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009071/0.6045, allocations: 0.8437 MB / 459.3 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009389/0.614, allocations: 2.495 MB / 461.8 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004225/0.6144, allocations: 234.6 kB / 462 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001811/0.6163, allocations: 311.8 kB / 462.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0157/0.632, allocations: 4.258 MB / 466.6 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001489/0.6322, allocations: 7.984 kB / 466.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008576/0.6331, allocations: 132 kB / 466.7 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002409/0.6334, allocations: 142.2 kB / 466.9 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01251/0.6459, allocations: 3.667 MB / 470.5 MB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03903/0.685, allocations: 13.39 MB / 483.9 MB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/0.6957, allocations: 6.893 MB / 490.8 MB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003923/0.6997, allocations: 1.41 MB / 492.2 MB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/0.71, allocations: 3.88 MB / 496.1 MB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.115e-05/0.7101, allocations: 43.56 kB / 496.1 MB, free: 9.508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 5.55e-06/0.7102, allocations: 0 / 496.1 MB, free: 9.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.02165/0.7318, allocations: 6.657 MB / 0.491 GB, free: 2.656 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.7319, allocations: 64.72 kB / 0.4911 GB, free: 2.578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004652/0.7366, allocations: 1.888 MB / 0.4929 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003626/0.737, allocations: 53.64 kB / 0.493 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001515/0.7386, allocations: 1.447 MB / 0.4944 GB, free: 15.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008835/0.7395, allocations: 496.8 kB / 0.4949 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007517/0.7402, allocations: 307.3 kB / 0.4951 GB, free: 14.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.7404, allocations: 301.1 kB / 0.4954 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.7422, allocations: 0.7613 MB / 0.4962 GB, free: 13.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/0.7446, allocations: 1.224 MB / 0.4974 GB, free: 11.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004577/0.7492, allocations: 2.108 MB / 0.4994 GB, free: 9.602 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.021e-05/0.7493, allocations: 4 kB / 0.4994 GB, free: 9.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.007362/0.7567, allocations: 2.671 MB / 0.502 GB, free: 6.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.7568, allocations: 12 kB / 0.5021 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.035e-05/0.7568, allocations: 16 kB / 0.5021 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/0.7589, allocations: 0.5017 MB / 0.5026 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/0.7612, allocations: 387.4 kB / 0.5029 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.7741, allocations: 6.914 MB / 0.5097 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/0.7765, allocations: 79.81 kB / 0.5098 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000354/0.7769, allocations: 71.98 kB / 0.5098 GB, free: 14.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * 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,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002929/0.7799, allocations: 1.048 MB / 0.5109 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000769/0.7806, allocations: 201.5 kB / 0.511 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006505/0.7872, allocations: 2.504 MB / 0.5135 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.33e-05/0.7873, allocations: 15.94 kB / 0.5135 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.613e-05/0.7873, allocations: 8 kB / 0.5135 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.911e-05/0.7873, allocations: 7.969 kB / 0.5135 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/0.8029, allocations: 5.545 MB / 0.5189 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.803, allocations: 0 / 0.5189 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/0.8046, allocations: 215.7 kB / 0.5191 GB, free: 4.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001995/0.8066, allocations: 0.4883 MB / 0.5196 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002886/0.8069, allocations: 39.98 kB / 0.5197 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01819/0.8251, allocations: 11.42 MB / 0.5308 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.8252, allocations: 7.969 kB / 0.5308 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008956/0.8341, allocations: 3.566 MB / 0.5343 GB, free: 4.578 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00193/0.8361, allocations: 454.6 kB / 0.5347 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006642/0.8368, allocations: 28 kB / 0.5348 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/0.8386, allocations: 67.95 kB / 0.5348 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005381/0.8391, allocations: 121 kB / 0.5349 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/0.8393, allocations: 43.98 kB / 0.535 GB, free: 3.859 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003565/0.8429, allocations: 1.307 MB / 0.5363 GB, free: 2.562 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8429, allocations: 0 / 0.5363 GB, free: 2.562 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003795/0.8467, allocations: 0.5859 MB / 0.5368 GB, free: 1.977 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (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) * 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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006727/0.8475, allocations: 179 kB / 0.537 GB, free: 1.793 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.334/1.181, allocations: 2.391 MB / 0.5393 GB, free: 124.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/1.182, allocations: 0.5625 kB / 0.5393 GB, free: 124.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004914/1.186, allocations: 1.728 MB / 0.541 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004109/1.191, allocations: 0.526 MB / 0.5415 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/1.207, allocations: 5.95 MB / 0.5473 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00296/1.21, allocations: 2.32 MB / 0.5496 GB, free: 120.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/1.211, allocations: 145.1 kB / 0.5497 GB, free: 120.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.422e-06/1.211, allocations: 4.969 kB / 0.5498 GB, free: 120.6 MB / 462.1 MB Notification: Performance of Templates: time 0.1459/1.357, allocations: 98.93 MB / 0.6464 GB, free: 25.88 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches