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: 113.2 kB / 17.73 MB, free: 5.336 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.001452/0.001452, allocations: 188.2 kB / 18.67 MB, free: 4.402 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.457/1.457, 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.002255/0.002255, allocations: 51.92 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1217, allocations: 46.62 MB / 375.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.2176/0.3394, allocations: 13.58 MB / 388.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.3498, allocations: 4.437 MB / 393.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004098/0.3541, allocations: 67.69 kB / 393.2 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004036/0.3581, allocations: 1.004 MB / 394.3 MB, free: 2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005898/0.364, allocations: 1.305 MB / 395.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002974/0.367, allocations: 0.9008 MB / 396.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008794/0.3758, allocations: 4.107 MB / 400.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006024/0.3819, allocations: 3.192 MB / 403.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004299/0.3862, allocations: 1.88 MB / 405.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004823/0.3911, allocations: 2.087 MB / 407.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001887/0.393, allocations: 0.5094 MB / 408.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003664/0.3967, allocations: 0.7146 MB / 408.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002838/0.3996, allocations: 1.115 MB / 410.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0064/0.406, allocations: 2.134 MB / 412.2 MB, free: 8.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.4186, allocations: 6.719 MB / 418.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.4186, allocations: 0 / 418.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4186, allocations: 1.375 kB / 418.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002902/0.4189, allocations: 0 / 418.9 MB, free: 3.645 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.01622/0.4352, allocations: 4.497 MB / 423.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.4353, allocations: 8.031 kB / 423.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005339/0.4406, allocations: 0.8338 MB / 424.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005259/0.4459, allocations: 2.296 MB / 426.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/0.4462, allocations: 238.8 kB / 426.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/0.4474, allocations: 332.3 kB / 427.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009793/0.4572, allocations: 4.266 MB / 431.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.147e-05/0.4574, allocations: 4 kB / 431.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003375/0.4577, allocations: 136 kB / 431.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001526/0.4579, allocations: 146.4 kB / 431.7 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006968/0.4648, allocations: 3.59 MB / 435.2 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02365/0.4885, allocations: 13.75 MB / 449 MB, free: 5.195 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00687/0.4954, allocations: 6.571 MB / 455.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002393/0.4978, allocations: 1.394 MB / 457 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006171/0.504, allocations: 3.632 MB / 460.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.5041, allocations: 47.88 kB / 460.6 MB, free: 8.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 2.955e-06/0.5041, allocations: 4 kB / 460.6 MB, free: 8.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01189/0.516, allocations: 5.923 MB / 466.6 MB, free: 2.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.5161, allocations: 72.72 kB / 466.6 MB, free: 2.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/0.5188, allocations: 1.78 MB / 468.4 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.5189, allocations: 49.7 kB / 468.5 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009936/0.5199, allocations: 1.474 MB / 469.9 MB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003898/0.5203, allocations: 0.4997 MB / 470.4 MB, free: 14.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000464/0.5208, allocations: 311.4 kB / 470.7 MB, free: 14.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.5209, allocations: 305.1 kB / 471 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.522, allocations: 0.6793 MB / 471.7 MB, free: 13.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.5234, allocations: 1.201 MB / 472.9 MB, free: 11.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002541/0.526, allocations: 1.995 MB / 474.9 MB, free: 9.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.526, allocations: 8 kB / 474.9 MB, free: 9.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004105/0.5301, allocations: 2.548 MB / 477.5 MB, free: 7.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.5302, allocations: 15.98 kB / 477.5 MB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/0.5302, allocations: 16 kB / 477.5 MB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009831/0.5312, allocations: 364.1 kB / 477.9 MB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.5326, allocations: 375.4 kB / 478.2 MB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007517/0.5401, allocations: 8.419 MB / 486.6 MB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.5418, allocations: 76.11 kB / 486.7 MB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.5419, allocations: 75.98 kB / 486.8 MB, free: 13.14 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.001872/0.5438, allocations: 1.009 MB / 487.8 MB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00042/0.5442, allocations: 198.7 kB / 488 MB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/0.5482, allocations: 2.289 MB / 490.3 MB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.5482, allocations: 12 kB / 490.3 MB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.5483, allocations: 8 kB / 490.3 MB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.5483, allocations: 11.97 kB / 490.3 MB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008609/0.5569, allocations: 5.071 MB / 495.4 MB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.5569, allocations: 4 kB / 495.4 MB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007835/0.5577, allocations: 172 kB / 495.6 MB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/0.5592, allocations: 0.5358 MB / 496.1 MB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.5593, allocations: 35.98 kB / 496.1 MB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.5721, allocations: 13.23 MB / 0.4974 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.5721, allocations: 3.938 kB / 0.4974 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005735/0.5779, allocations: 3.227 MB / 0.5006 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/0.579, allocations: 431.7 kB / 0.501 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005801/0.5796, allocations: 39.92 kB / 0.501 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.581, allocations: 63.95 kB / 0.5011 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003644/0.5814, allocations: 109.2 kB / 0.5012 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.5815, allocations: 39.98 kB / 0.5012 GB, free: 1.492 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002716/0.5842, allocations: 1.223 MB / 0.5024 GB, free: 284 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5842, allocations: 0 / 0.5024 GB, free: 284 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.002892/0.5871, allocations: 0.5743 MB / 0.503 GB, free: 15.7 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.0003878/0.5875, allocations: 174.9 kB / 0.5032 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004022/0.5916, allocations: 2.358 MB / 0.5055 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5916, allocations: 0 / 0.5055 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002743/0.5943, allocations: 1.764 MB / 0.5072 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003069/0.5974, allocations: 0.534 MB / 0.5077 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.6087, allocations: 5.927 MB / 0.5135 GB, free: 4.727 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002507/0.6112, allocations: 2.303 MB / 0.5157 GB, free: 2.398 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001495/0.6127, allocations: 401 kB / 0.5161 GB, free: 2.004 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/0.6132, allocations: 123.4 kB / 0.5162 GB, free: 1.883 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6132, allocations: 0 / 0.5162 GB, free: 1.883 MB / 446.1 MB Notification: Performance of Templates: time 0.05519/0.6684, allocations: 30.24 MB / 0.5458 GB, free: 3.582 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