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.001057/0.001057, allocations: 108.7 kB / 17.75 MB, free: 5.223 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.00106/0.00106, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.305/1.305, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 43.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2186, allocations: 49.43 MB / 401.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01371/0.2323, allocations: 13.65 MB / 415.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00729/0.2396, allocations: 4.399 MB / 419.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.2412, allocations: 79.75 kB / 419.6 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002566/0.2438, allocations: 1.049 MB / 420.6 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003501/0.2474, allocations: 1.351 MB / 422 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.2494, allocations: 0.888 MB / 422.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004347/0.2537, allocations: 4.079 MB / 426.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003738/0.2575, allocations: 3.221 MB / 430.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/0.2598, allocations: 1.912 MB / 432.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002865/0.2627, allocations: 2.09 MB / 434.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009175/0.2636, allocations: 0.5078 MB / 434.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.2652, allocations: 0.7068 MB / 435.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.2663, allocations: 1.118 MB / 436.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002334/0.2686, allocations: 2.136 MB / 438.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00534/0.2739, allocations: 6.711 MB / 445.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.274, allocations: 0 / 445.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.274, allocations: 4 kB / 445.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.597e-05/0.274, allocations: 0 / 445.3 MB, free: 12.77 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.009157/0.2832, allocations: 4.398 MB / 449.7 MB, free: 8.297 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2832, allocations: 12.03 kB / 449.7 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00426/0.2875, allocations: 0.8124 MB / 450.6 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004074/0.2916, allocations: 2.435 MB / 453 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.2918, allocations: 242.8 kB / 453.2 MB, free: 4.738 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004604/0.2922, allocations: 328 kB / 453.5 MB, free: 4.418 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006696/0.2989, allocations: 4.267 MB / 457.8 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.484e-05/0.299, allocations: 11.84 kB / 457.8 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003134/0.2993, allocations: 136.1 kB / 458 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/0.2995, allocations: 142.4 kB / 458.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005665/0.3051, allocations: 3.605 MB / 461.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.3239, allocations: 13.68 MB / 475.4 MB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006132/0.3301, allocations: 6.581 MB / 482 MB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/0.3323, allocations: 1.394 MB / 483.4 MB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005456/0.3378, allocations: 3.62 MB / 487 MB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.3378, allocations: 51.88 kB / 487 MB, free: 1.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=134): time 3.046e-06/0.3378, allocations: 0 / 487 MB, free: 1.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=137): time 0.01094/0.3488, allocations: 5.867 MB / 492.9 MB, free: 11.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.3489, allocations: 68.72 kB / 493 MB, free: 11.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/0.3513, allocations: 1.784 MB / 494.7 MB, free: 9.609 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.712e-05/0.3514, allocations: 49.7 kB / 494.8 MB, free: 9.555 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009571/0.3524, allocations: 1.438 MB / 496.2 MB, free: 8.098 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003529/0.3527, allocations: 477.1 kB / 496.7 MB, free: 7.625 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004459/0.3532, allocations: 319.2 kB / 497 MB, free: 7.309 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.149e-05/0.3533, allocations: 305.1 kB / 497.3 MB, free: 7.008 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.3543, allocations: 0.6754 MB / 498 MB, free: 6.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.3557, allocations: 1.201 MB / 499.2 MB, free: 4.906 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002599/0.3583, allocations: 1.999 MB / 0.4894 GB, free: 2.688 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.3583, allocations: 8 kB / 0.4894 GB, free: 2.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004067/0.3624, allocations: 2.543 MB / 0.4919 GB, free: 96 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.3624, allocations: 15.94 kB / 0.4919 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.3624, allocations: 16 kB / 0.492 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000997/0.3634, allocations: 360.4 kB / 0.4923 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.3648, allocations: 375.4 kB / 0.4927 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007651/0.3725, allocations: 8.418 MB / 0.5009 GB, free: 6.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.3737, allocations: 71.97 kB / 0.501 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.3738, allocations: 76 kB / 0.501 GB, free: 6.207 MB / 430.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.001608/0.3754, allocations: 1.003 MB / 0.502 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.3757, allocations: 197.6 kB / 0.5022 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003897/0.3796, allocations: 2.289 MB / 0.5044 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.3796, allocations: 11.97 kB / 0.5044 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.3797, allocations: 4 kB / 0.5044 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007432/0.3804, allocations: 418.6 kB / 0.5048 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.3807, allocations: 31.98 kB / 0.5049 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008349/0.3815, allocations: 67.95 kB / 0.5049 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/0.3817, allocations: 113.1 kB / 0.505 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004711/0.3865, allocations: 2.231 MB / 0.5072 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003373/0.3898, allocations: 2.493 MB / 0.5097 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009742/0.3908, allocations: 0.6973 MB / 0.5103 GB, free: 12.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001663/0.3925, allocations: 1.223 MB / 0.5115 GB, free: 11.31 MB / 446.1 MB Notification: Performance of Backend: time 2.21e-07/0.3925, allocations: 0 / 0.5115 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003499/0.396, allocations: 1.992 MB / 0.5135 GB, free: 9.238 MB / 446.1 MB Notification: Performance of SimCode: time 0.009256/0.4053, allocations: 6.51 MB / 0.5198 GB, free: 2.688 MB / 446.1 MB Notification: Performance of Templates: time 0.2213/0.6266, allocations: 33.5 MB / 0.5526 GB, free: 125.1 MB / 462.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