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.002125/0.002125, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.002655/0.002655, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.018/2.018, allocations: 222.9 MB / 241.7 MB, free: 15.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 51.95 kB / 300.6 MB, free: 6.277 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1676, allocations: 49.45 MB / 350.1 MB, free: 4.82 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.02901/0.1967, allocations: 13.48 MB / 363.6 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01578/0.2126, allocations: 4.373 MB / 367.9 MB, free: 2.883 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004372/0.217, allocations: 79.69 kB / 368 MB, free: 2.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005977/0.2231, allocations: 0.8667 MB / 368.9 MB, free: 1.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008856/0.2321, allocations: 1.193 MB / 370.1 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3001/0.5322, allocations: 0.8202 MB / 370.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01042/0.5427, allocations: 4.311 MB / 375.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006272/0.549, allocations: 2.67 MB / 377.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/0.554, allocations: 1.516 MB / 379.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006081/0.5601, allocations: 1.923 MB / 381.3 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00229/0.5624, allocations: 300.4 kB / 381.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004184/0.5666, allocations: 0.5031 MB / 382.1 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002451/0.5691, allocations: 0.8867 MB / 383 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007572/0.5767, allocations: 1.903 MB / 384.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.5871, allocations: 5.656 MB / 390.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.5871, allocations: 0 / 390.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.5872, allocations: 0 / 390.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002889/0.5875, allocations: 0 / 390.6 MB, free: 5.469 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.01985/0.6073, allocations: 4.38 MB / 394.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.525e-05/0.6074, allocations: 12.7 kB / 394.9 MB, free: 2.535 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008591/0.616, allocations: 0.8156 MB / 395.8 MB, free: 2.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008648/0.6247, allocations: 2.321 MB / 398.1 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003967/0.6252, allocations: 241.7 kB / 398.3 MB, free: 420 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001786/0.627, allocations: 324.6 kB / 398.6 MB, free: 312 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01911/0.6461, allocations: 4.275 MB / 402.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002253/0.6464, allocations: 7.188 kB / 402.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001628/0.6481, allocations: 132 kB / 403 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000325/0.6484, allocations: 146.4 kB / 403.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01572/0.6642, allocations: 3.608 MB / 406.8 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05135/0.7156, allocations: 13.87 MB / 420.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01276/0.7284, allocations: 6.561 MB / 427.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005174/0.7337, allocations: 1.393 MB / 428.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01406/0.7478, allocations: 3.644 MB / 432.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.443e-05/0.7479, allocations: 47.81 kB / 432.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 6.743e-06/0.748, allocations: 0 / 432.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.02462/0.7726, allocations: 5.874 MB / 438.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.681e-05/0.7728, allocations: 68.66 kB / 438.2 MB, free: 8.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006642/0.7794, allocations: 1.784 MB / 440 MB, free: 6.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004685/0.78, allocations: 45.7 kB / 440.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002295/0.7823, allocations: 1.445 MB / 441.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001162/0.7835, allocations: 482.9 kB / 442 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001371/0.7849, allocations: 322.2 kB / 442.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.7851, allocations: 301.1 kB / 442.6 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002578/0.7877, allocations: 0.6793 MB / 443.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003071/0.7908, allocations: 1.197 MB / 444.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00515/0.796, allocations: 2.001 MB / 446.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.399e-05/0.7961, allocations: 4 kB / 446.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00795/0.804, allocations: 2.542 MB / 449 MB, free: 13.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.656e-05/0.8041, allocations: 14.97 kB / 449 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.676e-05/0.8042, allocations: 16 kB / 449.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/0.8058, allocations: 368.3 kB / 449.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002445/0.8083, allocations: 375.4 kB / 449.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/0.82, allocations: 7.692 MB / 457.5 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/0.8228, allocations: 83.95 kB / 457.6 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004786/0.8233, allocations: 72 kB / 457.6 MB, free: 3.93 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.003325/0.8266, allocations: 1.001 MB / 458.6 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008082/0.8275, allocations: 189.7 kB / 458.8 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00654/0.834, allocations: 2.303 MB / 461.1 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.816e-05/0.8341, allocations: 16 kB / 461.1 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.303e-05/0.8341, allocations: 8 kB / 461.1 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/0.8342, allocations: 7.969 kB / 461.1 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/0.8479, allocations: 5.07 MB / 466.2 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/0.848, allocations: 4.188 kB / 466.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.8493, allocations: 175.8 kB / 466.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002347/0.8516, allocations: 0.5319 MB / 466.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002499/0.8519, allocations: 39.98 kB / 467 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02062/0.8726, allocations: 12.08 MB / 479 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/0.8726, allocations: 4.031 kB / 479 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/0.8834, allocations: 3.209 MB / 482.3 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002202/0.8857, allocations: 430.6 kB / 482.7 MB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/0.8868, allocations: 32 kB / 482.7 MB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/0.8891, allocations: 63.94 kB / 482.8 MB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006407/0.8898, allocations: 113.1 kB / 482.9 MB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002521/0.89, allocations: 36 kB / 482.9 MB, free: 9.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004354/0.8944, allocations: 1.219 MB / 484.1 MB, free: 8.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.132e-06/0.8945, allocations: 0 / 484.1 MB, free: 8.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005882/0.9004, allocations: 0.5821 MB / 484.7 MB, free: 7.742 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.0009224/0.9014, allocations: 182.5 kB / 484.9 MB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007398/0.9088, allocations: 2.35 MB / 487.2 MB, free: 5.133 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/0.9089, allocations: 448 / 487.2 MB, free: 5.133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00512/0.914, allocations: 1.749 MB / 489 MB, free: 3.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006673/0.9208, allocations: 0.5055 MB / 489.5 MB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/0.9453, allocations: 7.195 MB / 496.7 MB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005514/0.9508, allocations: 2.257 MB / 499 MB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/0.952, allocations: 135.4 kB / 499.1 MB, free: 9.152 MB / 414.1 MB Notification: Performance of SimCode: time 1.383e-06/0.9521, allocations: 0 / 499.1 MB, free: 9.152 MB / 414.1 MB Notification: Performance of Templates: time 0.5158/1.468, allocations: 128.4 MB / 0.6128 GB, free: 80.33 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