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.001357/0.001357, allocations: 111.9 kB / 17.28 MB, free: 6.219 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.001605/0.001605, allocations: 193.3 kB / 18.2 MB, free: 5.301 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.369/1.369, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001172/0.001172, allocations: 47.94 kB / 280.2 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09229/0.09347, allocations: 46.62 MB / 326.8 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01403/0.1075, allocations: 13.44 MB / 340.2 MB, free: 7.297 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009326/0.1169, allocations: 4.362 MB / 344.6 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003068/0.1201, allocations: 67.75 kB / 344.7 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003902/0.124, allocations: 0.8746 MB / 345.5 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005231/0.1293, allocations: 1.166 MB / 346.7 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.1321, allocations: 0.8304 MB / 347.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006644/0.1388, allocations: 4.242 MB / 351.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004975/0.1438, allocations: 3.185 MB / 355 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002868/0.1467, allocations: 1.783 MB / 356.7 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003304/0.15, allocations: 2.059 MB / 358.8 MB, free: 4.594 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001252/0.1513, allocations: 0.5039 MB / 359.3 MB, free: 4.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.1537, allocations: 0.7185 MB / 360 MB, free: 3.371 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.1553, allocations: 1.102 MB / 361.1 MB, free: 2.266 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004423/0.1598, allocations: 2.132 MB / 363.3 MB, free: 128 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00931/0.1691, allocations: 6.629 MB / 369.9 MB, free: 9.477 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.1692, allocations: 0 / 369.9 MB, free: 9.477 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.1693, allocations: 4 kB / 369.9 MB, free: 9.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002714/0.1695, allocations: 0 / 369.9 MB, free: 9.473 MB / 318.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.01429/0.1838, allocations: 4.387 MB / 374.3 MB, free: 5.016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1839, allocations: 8.031 kB / 374.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004481/0.1884, allocations: 0.8202 MB / 375.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004402/0.1928, allocations: 2.221 MB / 377.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.193, allocations: 246.8 kB / 377.6 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007225/0.1938, allocations: 324 kB / 377.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1678/0.3616, allocations: 4.261 MB / 382.1 MB, free: 48.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.3618, allocations: 8.75 kB / 382.1 MB, free: 48.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005981/0.3624, allocations: 130.6 kB / 382.3 MB, free: 48.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/0.3625, allocations: 147.1 kB / 382.4 MB, free: 48.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006217/0.3688, allocations: 3.594 MB / 386 MB, free: 46.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01689/0.3857, allocations: 13.9 MB / 399.9 MB, free: 37.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004427/0.3901, allocations: 6.557 MB / 406.5 MB, free: 31.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.3919, allocations: 1.388 MB / 407.9 MB, free: 30.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004713/0.3966, allocations: 3.639 MB / 411.5 MB, free: 28.08 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.3967, allocations: 51.84 kB / 411.5 MB, free: 28.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=134): time 2.796e-06/0.3967, allocations: 0.6562 kB / 411.5 MB, free: 28.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=137): time 0.009231/0.4059, allocations: 5.877 MB / 417.4 MB, free: 22.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.4059, allocations: 64.72 kB / 417.5 MB, free: 22.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.4078, allocations: 1.784 MB / 419.3 MB, free: 20.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.607e-05/0.4079, allocations: 49.7 kB / 419.3 MB, free: 20.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005444/0.4085, allocations: 1.438 MB / 420.8 MB, free: 19.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.4087, allocations: 480.6 kB / 421.2 MB, free: 18.62 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/0.4091, allocations: 319.3 kB / 421.5 MB, free: 18.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.57e-05/0.4091, allocations: 303.2 kB / 421.8 MB, free: 18.01 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008282/0.41, allocations: 0.6793 MB / 422.5 MB, free: 17.33 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009748/0.411, allocations: 1.197 MB / 423.7 MB, free: 15.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/0.4129, allocations: 2.007 MB / 425.7 MB, free: 13.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.4129, allocations: 4 kB / 425.7 MB, free: 13.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003047/0.4159, allocations: 2.535 MB / 428.3 MB, free: 11.1 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.416, allocations: 15.98 kB / 428.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.416, allocations: 16.34 kB / 428.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007796/0.4168, allocations: 364.1 kB / 428.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.418, allocations: 379.4 kB / 429 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005165/0.4232, allocations: 8.421 MB / 437.4 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.4243, allocations: 75.88 kB / 437.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.4244, allocations: 71.98 kB / 437.6 MB, free: 1.234 MB / 318.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.001247/0.4256, allocations: 1.005 MB / 438.6 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/0.4259, allocations: 197.5 kB / 438.8 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003837/0.4297, allocations: 2.292 MB / 441.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.4298, allocations: 16 kB / 441.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.135e-05/0.4298, allocations: 8 kB / 441.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.4298, allocations: 7.969 kB / 441.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007548/0.4374, allocations: 5.07 MB / 446.2 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.4374, allocations: 4 kB / 446.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007788/0.4382, allocations: 175.7 kB / 446.3 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.4395, allocations: 0.5347 MB / 446.9 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.4396, allocations: 35.98 kB / 446.9 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/0.4514, allocations: 13.23 MB / 460.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4515, allocations: 3.938 kB / 460.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004945/0.4564, allocations: 3.227 MB / 463.4 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008912/0.4573, allocations: 422.6 kB / 463.8 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003847/0.4577, allocations: 35.98 kB / 463.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009469/0.4587, allocations: 63.95 kB / 463.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/0.459, allocations: 109.2 kB / 464 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.02e-05/0.4591, allocations: 35.98 kB / 464 MB, free: 5.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002158/0.4612, allocations: 1.223 MB / 465.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4612, allocations: 3.938 kB / 465.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002186/0.4634, allocations: 0.5742 MB / 465.8 MB, free: 3.887 MB / 350.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.0003471/0.4638, allocations: 169.9 kB / 466 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004797/0.4686, allocations: 2.703 MB / 468.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4686, allocations: 0 / 468.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002459/0.4711, allocations: 1.743 MB / 470.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/0.4735, allocations: 0.5424 MB / 471 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.4837, allocations: 7.228 MB / 478.2 MB, free: 7.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002137/0.4859, allocations: 2.303 MB / 480.5 MB, free: 5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001342/0.4872, allocations: 397 kB / 480.9 MB, free: 4.609 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.4876, allocations: 123.4 kB / 481 MB, free: 4.488 MB / 366.1 MB Notification: Performance of SimCode: time 4.9e-07/0.4876, allocations: 0 / 481 MB, free: 4.488 MB / 366.1 MB Notification: Performance of Templates: time 0.05103/0.5386, allocations: 29.66 MB / 0.4987 GB, free: 6.812 MB / 398.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","../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