Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00291/0.002915, allocations: 188.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.577/3.577, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001745/0.001744, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006219/0.0006221, allocations: 12 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2469, allocations: 47.58 MB / 374.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.07611/0.3231, allocations: 10.93 MB / 385.5 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0163/0.3394, allocations: 4.233 MB / 389.7 MB, free: 216 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003672/0.3432, allocations: 67.69 kB / 389.8 MB, free: 148 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.4495/0.7927, allocations: 0.7593 MB / 390.5 MB, free: 9.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009102/0.8019, allocations: 1.156 MB / 391.7 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004728/0.8067, allocations: 0.6283 MB / 392.3 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01145/0.8182, allocations: 2.807 MB / 395.1 MB, free: 9.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008063/0.8263, allocations: 2.18 MB / 397.3 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005209/0.8316, allocations: 1.265 MB / 398.6 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006059/0.8378, allocations: 1.473 MB / 400.1 MB, free: 8.895 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002217/0.84, allocations: 206.1 kB / 400.3 MB, free: 8.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004356/0.8445, allocations: 373.4 kB / 400.6 MB, free: 8.895 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009768/0.8543, allocations: 0.7204 MB / 401.3 MB, free: 8.781 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00341/0.8578, allocations: 0.7431 MB / 402.1 MB, free: 8.637 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01428/0.8721, allocations: 5.427 MB / 407.5 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.8722, allocations: 4 kB / 407.5 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.957e-06/0.8722, allocations: 0 / 407.5 MB, free: 6.328 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002694/0.8725, allocations: 1 kB / 407.5 MB, free: 6.328 MB / 282.7 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.0231/0.8956, allocations: 3.724 MB / 411.2 MB, free: 4.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/0.8957, allocations: 12.17 kB / 411.2 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/0.9074, allocations: 0.8224 MB / 412.1 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/0.9177, allocations: 2.185 MB / 414.3 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004856/0.9183, allocations: 237.5 kB / 414.5 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002026/0.9203, allocations: 326.7 kB / 414.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02182/0.9422, allocations: 4.215 MB / 419 MB, free: 188 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002454/0.9425, allocations: 8 kB / 419 MB, free: 180 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001578/0.9441, allocations: 131.9 kB / 419.2 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003952/0.9446, allocations: 147.2 kB / 419.3 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0213/0.9659, allocations: 3.586 MB / 422.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06505/1.031, allocations: 13.9 MB / 436.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01651/1.048, allocations: 6.547 MB / 443.3 MB, free: 6.762 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01622/1.064, allocations: 3.211 MB / 446.5 MB, free: 3.504 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/1.064, allocations: 51.83 kB / 446.6 MB, free: 3.445 MB / 314.7 MB Notification: Performance of pre-optimization done (n=140): time 8.135e-06/1.064, allocations: 0 / 446.6 MB, free: 3.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=143): time 0.03342/1.098, allocations: 5.992 MB / 452.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/1.098, allocations: 72.7 kB / 452.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006963/1.105, allocations: 1.724 MB / 454.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004641/1.105, allocations: 49.7 kB / 454.4 MB, free: 11.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002325/1.108, allocations: 1.373 MB / 455.8 MB, free: 9.992 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001213/1.109, allocations: 493.6 kB / 456.3 MB, free: 9.512 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/1.109, allocations: 39.94 kB / 456.3 MB, free: 9.473 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004155/1.11, allocations: 382.8 kB / 456.7 MB, free: 9.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003372/1.113, allocations: 0.6949 MB / 457.4 MB, free: 8.395 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00437/1.118, allocations: 1.196 MB / 458.6 MB, free: 6.984 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004401/1.122, allocations: 0.9207 MB / 459.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.422e-05/1.122, allocations: 4 kB / 459.5 MB, free: 6.059 MB / 330.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.01172/1.134, allocations: 2.446 MB / 462 MB, free: 3.574 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.732e-05/1.134, allocations: 16.06 kB / 462 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.148e-05/1.134, allocations: 16 kB / 462 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002422/1.136, allocations: 376 kB / 462.4 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003803/1.14, allocations: 379.4 kB / 462.7 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0195/1.16, allocations: 7.765 MB / 470.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003989/1.164, allocations: 84 kB / 470.6 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006963/1.165, allocations: 78.41 kB / 470.7 MB, free: 10.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * 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 initialization (196): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(1,100.0%) 1,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005595/1.17, allocations: 1.005 MB / 471.7 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/1.171, allocations: 193.7 kB / 471.8 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/1.184, allocations: 2.344 MB / 474.2 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-05/1.184, allocations: 19.98 kB / 474.2 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.49e-05/1.184, allocations: 8.188 kB / 474.2 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.226e-05/1.184, allocations: 3.984 kB / 474.2 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0381/1.222, allocations: 5.154 MB / 479.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.383e-05/1.222, allocations: 12.03 kB / 479.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/1.225, allocations: 191.7 kB / 479.6 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01212/1.237, allocations: 0.5321 MB / 480.1 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004839/1.238, allocations: 43.92 kB / 480.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04327/1.281, allocations: 12.18 MB / 492.3 MB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/1.281, allocations: 7.969 kB / 492.3 MB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/1.297, allocations: 3.392 MB / 495.7 MB, free: 152 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004197/1.301, allocations: 430.6 kB / 496.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001879/1.303, allocations: 35.98 kB / 496.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004169/1.307, allocations: 71.95 kB / 496.3 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/1.308, allocations: 105.2 kB / 496.4 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003337/1.308, allocations: 43.98 kB / 496.4 MB, free: 15.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00566/1.314, allocations: 1.172 MB / 497.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.442e-06/1.314, allocations: 0 / 497.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0075/1.322, allocations: 0.586 MB / 498.2 MB, free: 13.71 MB / 378.7 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 (92): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009681/1.323, allocations: 154.2 kB / 498.3 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01065/1.333, allocations: 2.411 MB / 0.489 GB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/1.334, allocations: 0 / 0.489 GB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007559/1.341, allocations: 1.778 MB / 0.4907 GB, free: 9.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00666/1.348, allocations: 0.4941 MB / 0.4912 GB, free: 8.727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0311/1.379, allocations: 7.09 MB / 0.4981 GB, free: 1.586 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00749/1.387, allocations: 2.32 MB / 0.5004 GB, free: 15.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/1.388, allocations: 139.4 kB / 0.5005 GB, free: 15.1 MB / 394.7 MB Notification: Performance of SimCode: time 2.855e-06/1.388, allocations: 0 / 0.5005 GB, free: 15.1 MB / 394.7 MB Notification: Performance of Templates: time 0.8098/2.198, allocations: 120 MB / 0.6178 GB, free: 52.34 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches