Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 112.1 kB / 17.29 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241.9 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 51.89 kB / 300.8 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09602/0.09722, allocations: 49.46 MB / 350.3 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01495/0.1122, allocations: 13.48 MB / 363.7 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008445/0.1207, allocations: 4.345 MB / 368.1 MB, free: 2.852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.123, allocations: 83.62 kB / 368.2 MB, free: 2.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003452/0.1264, allocations: 0.8707 MB / 369 MB, free: 1.895 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004798/0.1313, allocations: 1.186 MB / 370.2 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1565/0.2878, allocations: 0.805 MB / 371 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005771/0.2936, allocations: 4.21 MB / 375.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003919/0.2976, allocations: 3.231 MB / 378.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003456/0.3011, allocations: 1.78 MB / 380.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003724/0.3048, allocations: 2.063 MB / 382.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001133/0.306, allocations: 0.5081 MB / 382.8 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.3082, allocations: 0.7175 MB / 383.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.3092, allocations: 1.109 MB / 384.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003504/0.3127, allocations: 2.131 MB / 386.8 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00639/0.3191, allocations: 5.696 MB / 392.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3191, allocations: 0 / 392.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.287e-06/0.3191, allocations: 1.531 kB / 392.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000178/0.3193, allocations: 0 / 392.5 MB, free: 4.52 MB / 302.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.01115/0.3305, allocations: 4.385 MB / 396.9 MB, free: 1.586 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3305, allocations: 10.84 kB / 396.9 MB, free: 1.586 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004163/0.3347, allocations: 0.8169 MB / 397.7 MB, free: 1.195 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003637/0.3384, allocations: 2.326 MB / 400 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.3385, allocations: 241.1 kB / 400.3 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005131/0.3391, allocations: 325.6 kB / 400.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007738/0.3468, allocations: 4.271 MB / 404.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.195e-05/0.3469, allocations: 7.906 kB / 404.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003037/0.3472, allocations: 128 kB / 405 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/0.3474, allocations: 150.4 kB / 405.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006144/0.3535, allocations: 3.604 MB / 408.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02016/0.3737, allocations: 13.86 MB / 422.6 MB, free: 9.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006203/0.3799, allocations: 6.563 MB / 429.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00221/0.3822, allocations: 1.4 MB / 430.5 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006275/0.3885, allocations: 3.633 MB / 434.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.3886, allocations: 47.81 kB / 434.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 3.707e-06/0.3886, allocations: 3.844 kB / 434.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.01194/0.4005, allocations: 5.874 MB / 440.1 MB, free: 6.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.4006, allocations: 68.66 kB / 440.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002892/0.4035, allocations: 1.78 MB / 441.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.4037, allocations: 49.7 kB / 442 MB, free: 4.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.4047, allocations: 1.441 MB / 443.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004778/0.4052, allocations: 479.8 kB / 443.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005393/0.4058, allocations: 323.2 kB / 444.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.4059, allocations: 301.1 kB / 444.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.407, allocations: 0.6754 MB / 445.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.4085, allocations: 1.204 MB / 446.4 MB, free: 92 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/0.4111, allocations: 1.996 MB / 448.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.4111, allocations: 4 kB / 448.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004286/0.4154, allocations: 2.539 MB / 450.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.4155, allocations: 12 kB / 450.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-05/0.4155, allocations: 20 kB / 451 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.4165, allocations: 376 kB / 451.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.4179, allocations: 379.4 kB / 451.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007511/0.4254, allocations: 8.416 MB / 460.1 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.427, allocations: 75.95 kB / 460.2 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/0.4272, allocations: 68 kB / 460.3 MB, free: 1.414 MB / 366.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.001874/0.4291, allocations: 1.005 MB / 461.3 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00051/0.4296, allocations: 189.7 kB / 461.4 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004156/0.4338, allocations: 2.293 MB / 463.7 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.4338, allocations: 19.98 kB / 463.8 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/0.4339, allocations: 12 kB / 463.8 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.4339, allocations: 7.922 kB / 463.8 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008406/0.4423, allocations: 5.074 MB / 468.9 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.4423, allocations: 0 / 468.9 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007755/0.4431, allocations: 175.8 kB / 469 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001395/0.4445, allocations: 0.5402 MB / 469.6 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.4446, allocations: 43.92 kB / 469.6 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0122/0.4568, allocations: 13.22 MB / 482.8 MB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.4569, allocations: 7.969 kB / 482.8 MB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005251/0.4621, allocations: 3.216 MB / 486 MB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.4632, allocations: 422.6 kB / 486.5 MB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004979/0.4637, allocations: 47.86 kB / 486.5 MB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.4649, allocations: 59.95 kB / 486.6 MB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/0.4652, allocations: 109.2 kB / 486.7 MB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.504e-05/0.4653, allocations: 39.98 kB / 486.7 MB, free: 5.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002246/0.4676, allocations: 1.219 MB / 487.9 MB, free: 4.617 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4676, allocations: 0 / 487.9 MB, free: 4.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002444/0.47, allocations: 0.5822 MB / 488.5 MB, free: 4.035 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003571/0.4704, allocations: 166 kB / 488.7 MB, free: 3.863 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005052/0.4755, allocations: 2.698 MB / 491.4 MB, free: 1.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.4755, allocations: 0 / 491.4 MB, free: 1.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002642/0.4781, allocations: 1.742 MB / 493.1 MB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/0.4811, allocations: 0.5576 MB / 493.7 MB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.4921, allocations: 7.186 MB / 0.4891 GB, free: 7.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002222/0.4943, allocations: 2.253 MB / 0.4913 GB, free: 5.219 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004912/0.4948, allocations: 143.4 kB / 0.4915 GB, free: 5.078 MB / 414.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4949, allocations: 0 / 0.4915 GB, free: 5.078 MB / 414.1 MB Notification: Performance of Templates: time 0.2695/0.7644, allocations: 128.4 MB / 0.6169 GB, free: 76.71 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches