Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001787/0.001787, allocations: 183 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 48.3 kB / 328.6 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09672/0.09804, allocations: 46.62 MB / 375.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.203/0.3011, allocations: 13.57 MB / 388.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009643/0.3107, allocations: 4.436 MB / 393.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003261/0.3141, allocations: 66.97 kB / 393.2 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003495/0.3176, allocations: 1 MB / 394.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005956/0.3236, allocations: 1.308 MB / 395.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.3267, allocations: 0.9025 MB / 396.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006946/0.3337, allocations: 4.104 MB / 400.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005666/0.3394, allocations: 3.195 MB / 403.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004079/0.3435, allocations: 1.895 MB / 405.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004933/0.3485, allocations: 2.09 MB / 407.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001935/0.3504, allocations: 0.5162 MB / 408.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003335/0.3538, allocations: 0.707 MB / 409 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002289/0.3561, allocations: 1.116 MB / 410.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005991/0.3621, allocations: 2.134 MB / 412.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.3724, allocations: 6.695 MB / 418.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3725, allocations: 0 / 418.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3725, allocations: 0 / 418.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002789/0.3728, allocations: 5.25 kB / 418.9 MB, free: 3.664 MB / 334.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.01656/0.3893, allocations: 4.402 MB / 423.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.419e-05/0.3894, allocations: 12.03 kB / 423.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00505/0.3945, allocations: 0.8239 MB / 424.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004719/0.3992, allocations: 2.279 MB / 426.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.3995, allocations: 238.8 kB / 426.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005882/0.4, allocations: 328.3 kB / 427 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007683/0.4077, allocations: 4.266 MB / 431.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.72e-05/0.4078, allocations: 4 kB / 431.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000314/0.4082, allocations: 128 kB / 431.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001404/0.4083, allocations: 150.4 kB / 431.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006233/0.4145, allocations: 3.597 MB / 435.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02149/0.4361, allocations: 13.71 MB / 448.8 MB, free: 5.355 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006412/0.4425, allocations: 6.563 MB / 455.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002308/0.4448, allocations: 1.39 MB / 456.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006855/0.4517, allocations: 3.632 MB / 460.4 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.4518, allocations: 51.88 kB / 460.5 MB, free: 8.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 3.306e-06/0.4518, allocations: 0 / 460.5 MB, free: 8.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01288/0.4647, allocations: 5.871 MB / 466.3 MB, free: 2.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.4648, allocations: 68.72 kB / 466.4 MB, free: 2.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00388/0.4687, allocations: 1.788 MB / 468.2 MB, free: 0.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.4688, allocations: 49.7 kB / 468.2 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001097/0.4699, allocations: 1.434 MB / 469.7 MB, free: 15.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004273/0.4704, allocations: 481.1 kB / 470.1 MB, free: 14.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005368/0.4709, allocations: 319.2 kB / 470.5 MB, free: 14.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.471, allocations: 301.1 kB / 470.8 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.4723, allocations: 0.6832 MB / 471.4 MB, free: 13.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.4737, allocations: 1.197 MB / 472.6 MB, free: 12.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002707/0.4765, allocations: 1.995 MB / 474.6 MB, free: 9.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.786e-05/0.4765, allocations: 7.938 kB / 474.6 MB, free: 9.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004284/0.4808, allocations: 2.539 MB / 477.2 MB, free: 7.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.4808, allocations: 15.94 kB / 477.2 MB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.854e-05/0.4809, allocations: 16 kB / 477.2 MB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009742/0.4818, allocations: 356.3 kB / 477.6 MB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.4832, allocations: 383.3 kB / 477.9 MB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00779/0.491, allocations: 8.414 MB / 486.3 MB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.4927, allocations: 71.97 kB / 486.4 MB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/0.493, allocations: 75.98 kB / 486.5 MB, free: 13.43 MB / 414.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.00208/0.4951, allocations: 1.001 MB / 487.5 MB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005466/0.4956, allocations: 193.7 kB / 487.7 MB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004298/0.4999, allocations: 2.293 MB / 490 MB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.5, allocations: 12 kB / 490 MB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.122e-05/0.5, allocations: 11.98 kB / 490 MB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.5, allocations: 7.984 kB / 490 MB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009878/0.5099, allocations: 5.071 MB / 495.1 MB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.5099, allocations: 3.984 kB / 495.1 MB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007783/0.5107, allocations: 179.9 kB / 495.3 MB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.5122, allocations: 0.5281 MB / 495.8 MB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.5123, allocations: 35.98 kB / 495.8 MB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/0.5247, allocations: 13.22 MB / 0.4971 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.5248, allocations: 11.95 kB / 0.4971 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005157/0.5299, allocations: 3.202 MB / 0.5002 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.531, allocations: 426.6 kB / 0.5007 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005315/0.5315, allocations: 43.94 kB / 0.5007 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.5327, allocations: 63.94 kB / 0.5008 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003067/0.533, allocations: 101.3 kB / 0.5009 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.5332, allocations: 39.98 kB / 0.5009 GB, free: 1.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002247/0.5354, allocations: 1.223 MB / 0.5021 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5354, allocations: 4 kB / 0.5021 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002604/0.538, allocations: 0.5742 MB / 0.5026 GB, free: 28 kB / 430.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.0003828/0.5384, allocations: 167 kB / 0.5028 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003996/0.5424, allocations: 2.366 MB / 0.5051 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.5425, allocations: 4 kB / 0.5051 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002627/0.5451, allocations: 1.749 MB / 0.5068 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003136/0.5483, allocations: 0.5434 MB / 0.5074 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.5599, allocations: 5.831 MB / 0.5131 GB, free: 5.156 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002614/0.5625, allocations: 2.303 MB / 0.5153 GB, free: 2.828 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001581/0.5641, allocations: 401 kB / 0.5157 GB, free: 2.434 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/0.5646, allocations: 123.4 kB / 0.5158 GB, free: 2.312 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5646, allocations: 0 / 0.5158 GB, free: 2.312 MB / 446.1 MB Notification: Performance of Templates: time 0.05936/0.624, allocations: 30.25 MB / 0.5453 GB, free: 4.004 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches