Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|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.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|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.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.001071, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001133/0.001134, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.89 kB / 359.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2116, allocations: 50.53 MB / 410 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01479/0.2265, allocations: 14.27 MB / 424.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007299/0.2338, allocations: 4.68 MB / 428.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009529/0.2348, allocations: 79.75 kB / 429 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.2369, allocations: 1.056 MB / 430 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.2395, allocations: 1.343 MB / 431.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.2412, allocations: 0.9377 MB / 432.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003665/0.2449, allocations: 4.124 MB / 436.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003339/0.2482, allocations: 3.244 MB / 439.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.2502, allocations: 1.912 MB / 441.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/0.2527, allocations: 2.223 MB / 443.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005872/0.2533, allocations: 0.5078 MB / 444.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.2545, allocations: 0.7302 MB / 445.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009114/0.2554, allocations: 1.118 MB / 446.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.2573, allocations: 2.139 MB / 448.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006268/0.2635, allocations: 6.762 MB / 455.1 MB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2636, allocations: 0 / 455.1 MB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2636, allocations: 0 / 455.1 MB, free: 4.199 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001212/0.2637, allocations: 0 / 455.1 MB, free: 4.199 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.009834/0.2735, allocations: 4.527 MB / 459.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.2736, allocations: 12.03 kB / 459.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004317/0.2779, allocations: 0.8494 MB / 460.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003794/0.2817, allocations: 2.46 MB / 462.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.2819, allocations: 246.8 kB / 463.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004856/0.2824, allocations: 327.9 kB / 463.5 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006589/0.289, allocations: 4.259 MB / 467.7 MB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.064e-05/0.2891, allocations: 11.94 kB / 467.8 MB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002876/0.2894, allocations: 136 kB / 467.9 MB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001365/0.2895, allocations: 146.4 kB / 468 MB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005821/0.2954, allocations: 3.605 MB / 471.6 MB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0184/0.3138, allocations: 13.83 MB / 485.5 MB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006398/0.3202, allocations: 6.664 MB / 492.1 MB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/0.3225, allocations: 1.402 MB / 493.5 MB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005637/0.3281, allocations: 3.897 MB / 497.4 MB, free: 8.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.3282, allocations: 47.88 kB / 497.5 MB, free: 8.195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.617e-06/0.3282, allocations: 0 / 497.5 MB, free: 8.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01101/0.3392, allocations: 5.923 MB / 0.4916 GB, free: 2.059 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3393, allocations: 76.7 kB / 0.4917 GB, free: 1.973 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/0.3417, allocations: 1.802 MB / 0.4934 GB, free: 176 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-05/0.3418, allocations: 57.7 kB / 0.4935 GB, free: 112 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.3429, allocations: 1.486 MB / 0.4949 GB, free: 14.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/0.3432, allocations: 0.4958 MB / 0.4954 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004626/0.3437, allocations: 315.4 kB / 0.4957 GB, free: 13.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.989e-05/0.3438, allocations: 301.1 kB / 0.496 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.3449, allocations: 0.6793 MB / 0.4967 GB, free: 12.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.3464, allocations: 1.201 MB / 0.4979 GB, free: 11.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002689/0.3491, allocations: 2.006 MB / 0.4998 GB, free: 9.168 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-05/0.3491, allocations: 8 kB / 0.4998 GB, free: 9.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004027/0.3532, allocations: 2.548 MB / 0.5023 GB, free: 6.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3532, allocations: 12.34 kB / 0.5023 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.3532, allocations: 20 kB / 0.5023 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009327/0.3542, allocations: 364.1 kB / 0.5027 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.3556, allocations: 375.3 kB / 0.503 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00768/0.3633, allocations: 8.4 MB / 0.5112 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.3644, allocations: 88 kB / 0.5113 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.3645, allocations: 76 kB / 0.5114 GB, free: 12.69 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001445/0.366, allocations: 0.9969 MB / 0.5124 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.3663, allocations: 214.7 kB / 0.5126 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003934/0.3702, allocations: 2.294 MB / 0.5148 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.3702, allocations: 3.984 kB / 0.5148 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3702, allocations: 0 / 0.5148 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006719/0.3709, allocations: 435.7 kB / 0.5152 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/0.3712, allocations: 32 kB / 0.5153 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008249/0.372, allocations: 63.95 kB / 0.5153 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/0.3723, allocations: 121.1 kB / 0.5154 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004715/0.377, allocations: 2.224 MB / 0.5176 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003499/0.3805, allocations: 2.498 MB / 0.5201 GB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009934/0.3815, allocations: 0.6973 MB / 0.5207 GB, free: 2.984 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001688/0.3832, allocations: 1.236 MB / 0.5219 GB, free: 1.758 MB / 446.1 MB Notification: Performance of Backend: time 4.31e-07/0.3832, allocations: 0 / 0.5219 GB, free: 1.758 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003397/0.3866, allocations: 2.016 MB / 0.5239 GB, free: 15.66 MB / 462.1 MB Notification: Performance of SimCode: time 0.009488/0.3961, allocations: 6.642 MB / 0.5304 GB, free: 8.977 MB / 462.1 MB Notification: Performance of Templates: time 0.2205/0.6166, allocations: 33.92 MB / 0.5635 GB, free: 109.7 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches