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.001185/0.001185, allocations: 109.4 kB / 17.73 MB, free: 5.363 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.001156/0.001156, allocations: 188.1 kB / 18.66 MB, free: 4.441 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.383/1.383, 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.001283/0.001283, allocations: 55.91 kB / 328.6 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08583/0.08712, allocations: 46.61 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.1959/0.283, allocations: 13.58 MB / 388.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009353/0.2924, allocations: 4.442 MB / 393.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002591/0.2951, allocations: 67.06 kB / 393.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00304/0.2982, allocations: 1.036 MB / 394.3 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004437/0.3027, allocations: 1.348 MB / 395.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.3051, allocations: 0.9034 MB / 396.5 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005991/0.3111, allocations: 4.101 MB / 400.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004436/0.3155, allocations: 3.191 MB / 403.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003531/0.3191, allocations: 1.902 MB / 405.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00316/0.3223, allocations: 2.089 MB / 407.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000688/0.323, allocations: 0.5089 MB / 408.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.3245, allocations: 0.7124 MB / 409 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009577/0.3255, allocations: 1.11 MB / 410.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002448/0.328, allocations: 2.141 MB / 412.3 MB, free: 8.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006029/0.334, allocations: 6.7 MB / 419 MB, free: 3.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.334, allocations: 0 / 419 MB, free: 3.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.334, allocations: 0 / 419 MB, free: 3.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001249/0.3342, allocations: 1.156 kB / 419 MB, free: 3.594 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.01229/0.3465, allocations: 4.399 MB / 423.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.3465, allocations: 8.031 kB / 423.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004231/0.3508, allocations: 0.824 MB / 424.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003892/0.3547, allocations: 2.287 MB / 426.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.3549, allocations: 242.8 kB / 426.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004787/0.3553, allocations: 320.3 kB / 427.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007379/0.3627, allocations: 4.27 MB / 431.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.17e-05/0.3628, allocations: 4 kB / 431.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003394/0.3632, allocations: 136 kB / 431.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002362/0.3634, allocations: 146.5 kB / 431.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006305/0.3697, allocations: 3.594 MB / 435.2 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0207/0.3904, allocations: 13.7 MB / 448.9 MB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006391/0.3969, allocations: 6.565 MB / 455.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00223/0.3991, allocations: 1.39 MB / 456.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005862/0.405, allocations: 3.632 MB / 460.5 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.4051, allocations: 51.88 kB / 460.5 MB, free: 8.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 2.895e-06/0.4051, allocations: 0 / 460.5 MB, free: 8.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01119/0.4163, allocations: 5.875 MB / 466.4 MB, free: 2.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.4164, allocations: 64.72 kB / 466.5 MB, free: 2.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/0.4189, allocations: 1.792 MB / 468.3 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-05/0.419, allocations: 45.7 kB / 468.3 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009593/0.42, allocations: 1.438 MB / 469.8 MB, free: 15.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.4203, allocations: 477.1 kB / 470.2 MB, free: 14.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000484/0.4208, allocations: 319.2 kB / 470.5 MB, free: 14.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.421, allocations: 301.1 kB / 470.8 MB, free: 14.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.422, allocations: 0.6793 MB / 471.5 MB, free: 13.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.4235, allocations: 1.205 MB / 472.7 MB, free: 12.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002586/0.4261, allocations: 1.995 MB / 474.7 MB, free: 9.828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/0.4261, allocations: 7.938 kB / 474.7 MB, free: 9.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004147/0.4302, allocations: 2.535 MB / 477.3 MB, free: 7.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.4303, allocations: 19.97 kB / 477.3 MB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-05/0.4303, allocations: 16 kB / 477.3 MB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009575/0.4313, allocations: 364.1 kB / 477.6 MB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.4327, allocations: 379.3 kB / 478 MB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007553/0.4403, allocations: 8.407 MB / 486.4 MB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.442, allocations: 80.05 kB / 486.5 MB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.4422, allocations: 72 kB / 486.6 MB, free: 13.35 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.001953/0.4441, allocations: 0.997 MB / 487.6 MB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003739/0.4445, allocations: 197.7 kB / 487.8 MB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003866/0.4484, allocations: 2.293 MB / 490.1 MB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.4484, allocations: 16 kB / 490.1 MB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/0.4484, allocations: 8.188 kB / 490.1 MB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.4484, allocations: 3.984 kB / 490.1 MB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007701/0.4562, allocations: 5.083 MB / 495.2 MB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.4562, allocations: 0 / 495.2 MB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008098/0.457, allocations: 179.9 kB / 495.3 MB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/0.4584, allocations: 0.5281 MB / 495.9 MB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.4585, allocations: 35.98 kB / 495.9 MB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.4715, allocations: 13.22 MB / 0.4972 GB, free: 5.727 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/0.4715, allocations: 7.969 kB / 0.4972 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005194/0.4767, allocations: 3.21 MB / 0.5003 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009046/0.4776, allocations: 426.6 kB / 0.5007 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/0.4779, allocations: 39.94 kB / 0.5008 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008254/0.4787, allocations: 67.88 kB / 0.5008 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/0.479, allocations: 105.2 kB / 0.5009 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.194e-05/0.4791, allocations: 39.98 kB / 0.501 GB, free: 1.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001794/0.4809, allocations: 1.219 MB / 0.5022 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4809, allocations: 0 / 0.5022 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002183/0.4831, allocations: 0.5821 MB / 0.5027 GB, free: 15.93 MB / 446.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.0003216/0.4834, allocations: 170.9 kB / 0.5029 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003627/0.4871, allocations: 2.357 MB / 0.5052 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4871, allocations: 0 / 0.5052 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00252/0.4896, allocations: 1.762 MB / 0.5069 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/0.492, allocations: 0.5378 MB / 0.5074 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00989/0.5019, allocations: 5.828 MB / 0.5131 GB, free: 5.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002082/0.504, allocations: 2.303 MB / 0.5154 GB, free: 2.742 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001438/0.5055, allocations: 401 kB / 0.5158 GB, free: 2.348 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/0.5058, allocations: 127.4 kB / 0.5159 GB, free: 2.223 MB / 446.1 MB Notification: Performance of SimCode: time 7.02e-07/0.5058, allocations: 0 / 0.5159 GB, free: 2.223 MB / 446.1 MB Notification: Performance of Templates: time 0.05111/0.5569, allocations: 30.24 MB / 0.5454 GB, free: 3.922 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