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.001114/0.001114, allocations: 111 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.001086/0.001086, allocations: 207.9 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.291/1.291, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2148, allocations: 50.55 MB / 410 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01416/0.229, allocations: 14.26 MB / 424.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006509/0.2355, allocations: 4.68 MB / 428.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008072/0.2363, allocations: 83.69 kB / 429 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.2382, allocations: 1.013 MB / 430 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002354/0.2406, allocations: 1.289 MB / 431.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.2423, allocations: 0.9458 MB / 432.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003509/0.2458, allocations: 4.12 MB / 436.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003224/0.249, allocations: 3.233 MB / 439.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.2509, allocations: 1.912 MB / 441.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.2532, allocations: 2.223 MB / 443.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005626/0.2538, allocations: 0.5078 MB / 444.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.2549, allocations: 0.7341 MB / 445 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008596/0.2558, allocations: 1.118 MB / 446.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001799/0.2576, allocations: 2.139 MB / 448.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005374/0.2629, allocations: 6.747 MB / 455 MB, free: 4.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.263, allocations: 0 / 455 MB, free: 4.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.263, allocations: 3.938 kB / 455 MB, free: 4.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.128e-05/0.263, allocations: 0 / 455 MB, free: 4.359 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.008831/0.2718, allocations: 4.433 MB / 459.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2719, allocations: 8.031 kB / 459.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004232/0.2761, allocations: 0.8318 MB / 460.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003926/0.2801, allocations: 2.451 MB / 462.7 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.2802, allocations: 246.8 kB / 462.9 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000436/0.2807, allocations: 331.8 kB / 463.3 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006291/0.287, allocations: 4.263 MB / 467.5 MB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-05/0.2871, allocations: 4 kB / 467.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/0.2874, allocations: 132 kB / 467.7 MB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.2875, allocations: 150.4 kB / 467.8 MB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005753/0.2933, allocations: 3.601 MB / 471.4 MB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01828/0.3116, allocations: 13.79 MB / 485.2 MB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005913/0.3175, allocations: 6.661 MB / 491.9 MB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002136/0.3197, allocations: 1.402 MB / 493.3 MB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005522/0.3252, allocations: 3.877 MB / 497.1 MB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.3253, allocations: 51.88 kB / 497.2 MB, free: 8.535 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 4.238e-06/0.3253, allocations: 3.984 kB / 497.2 MB, free: 8.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01041/0.3357, allocations: 5.886 MB / 0.4913 GB, free: 2.426 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.3357, allocations: 68.72 kB / 0.4914 GB, free: 2.348 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/0.3379, allocations: 1.805 MB / 0.4931 GB, free: 0.543 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.167e-05/0.338, allocations: 61.64 kB / 0.4932 GB, free: 488 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008877/0.3389, allocations: 1.442 MB / 0.4946 GB, free: 15.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/0.3393, allocations: 477 kB / 0.495 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/0.3397, allocations: 319.3 kB / 0.4953 GB, free: 14.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.108e-05/0.3398, allocations: 305.1 kB / 0.4956 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.3408, allocations: 0.6754 MB / 0.4963 GB, free: 13.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.3422, allocations: 1.197 MB / 0.4975 GB, free: 11.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/0.3446, allocations: 2.006 MB / 0.4994 GB, free: 9.602 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.3446, allocations: 4 kB / 0.4994 GB, free: 9.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003833/0.3485, allocations: 2.55 MB / 0.5019 GB, free: 7.004 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3485, allocations: 8 kB / 0.5019 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.3485, allocations: 20.34 kB / 0.5019 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009219/0.3495, allocations: 375.5 kB / 0.5023 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.3508, allocations: 371.4 kB / 0.5027 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00731/0.3582, allocations: 8.384 MB / 0.5108 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.3595, allocations: 80.05 kB / 0.5109 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.3597, allocations: 75.94 kB / 0.511 GB, free: 13.14 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.001517/0.3612, allocations: 1.009 MB / 0.512 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/0.3615, allocations: 201.5 kB / 0.5122 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003751/0.3652, allocations: 2.293 MB / 0.5144 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.3653, allocations: 11.97 kB / 0.5144 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.3653, allocations: 0 / 0.5144 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007615/0.366, allocations: 418.6 kB / 0.5148 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.3663, allocations: 28 kB / 0.5148 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000832/0.3671, allocations: 63.95 kB / 0.5149 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.3673, allocations: 125.1 kB / 0.515 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004475/0.3718, allocations: 2.219 MB / 0.5172 GB, free: 6.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003241/0.375, allocations: 2.493 MB / 0.5196 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009174/0.376, allocations: 0.6973 MB / 0.5203 GB, free: 3.457 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001623/0.3776, allocations: 1.236 MB / 0.5215 GB, free: 2.23 MB / 446.1 MB Notification: Performance of Backend: time 2.31e-07/0.3776, allocations: 0 / 0.5215 GB, free: 2.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003368/0.381, allocations: 2.008 MB / 0.5235 GB, free: 144 kB / 446.1 MB Notification: Performance of SimCode: time 0.00886/0.3899, allocations: 6.528 MB / 0.5299 GB, free: 9.574 MB / 462.1 MB Notification: Performance of Templates: time 0.2168/0.6067, allocations: 33.93 MB / 0.563 GB, free: 110.3 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