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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.0009283/0.0009283, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008839/0.0008838, allocations: 88.11 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.719e-05/1.723e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09423/0.09426, allocations: 47.59 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3779/0.4722, allocations: 109.1 MB / 472.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.4725, allocations: 88.58 kB / 472.3 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4101/0.8826, allocations: 79.51 MB / 0.5389 GB, free: 87.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.8827, allocations: 3.75 kB / 0.5389 GB, free: 87.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002702/0.883, allocations: 81.06 kB / 0.539 GB, free: 87.53 MB / 410.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.01/0.893, allocations: 3.205 MB / 0.5421 GB, free: 86.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.893, allocations: 9.688 kB / 0.5421 GB, free: 86.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005018/0.8981, allocations: 0.7355 MB / 0.5428 GB, free: 86.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008468/0.9066, allocations: 3.3 MB / 0.546 GB, free: 85.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.9068, allocations: 104 kB / 0.5461 GB, free: 85.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009483/0.9078, allocations: 197 kB / 0.5463 GB, free: 85.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006517/0.9143, allocations: 3.152 MB / 0.5494 GB, free: 85.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007422/0.9217, allocations: 3.671 MB / 0.553 GB, free: 85.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.273e-05/0.9219, allocations: 9.562 kB / 0.553 GB, free: 85.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002869/0.9222, allocations: 9.453 kB / 0.553 GB, free: 85.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001384/0.9223, allocations: 145.1 kB / 0.5532 GB, free: 85.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01878/0.9411, allocations: 13.27 MB / 0.5661 GB, free: 82.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004711/0.9458, allocations: 6.532 MB / 0.5725 GB, free: 77.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/0.9476, allocations: 1.297 MB / 0.5738 GB, free: 77.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005128/0.9528, allocations: 3.684 MB / 0.5774 GB, free: 75.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.9528, allocations: 53.83 kB / 0.5774 GB, free: 75.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 3.436e-06/0.9528, allocations: 0 / 0.5774 GB, free: 75.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=147): time 0.007223/0.9601, allocations: 4.471 MB / 0.5818 GB, free: 73.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.9601, allocations: 65.31 kB / 0.5818 GB, free: 73.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.9618, allocations: 1.245 MB / 0.5831 GB, free: 72.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.9619, allocations: 25.7 kB / 0.5831 GB, free: 72.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000658/0.9626, allocations: 1.42 MB / 0.5845 GB, free: 71.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.9629, allocations: 493.4 kB / 0.5849 GB, free: 71.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.28e-05/0.963, allocations: 0 / 0.5849 GB, free: 71.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.99e-05/0.9631, allocations: 376.8 kB / 0.5853 GB, free: 70.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007635/0.9638, allocations: 0.6366 MB / 0.5859 GB, free: 70.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008955/0.9647, allocations: 1.089 MB / 0.587 GB, free: 69.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.9661, allocations: 0.9797 MB / 0.5879 GB, free: 69.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.9661, allocations: 3.688 kB / 0.5879 GB, free: 69.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.003439/0.9696, allocations: 2.443 MB / 0.5903 GB, free: 68.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.9696, allocations: 11.12 kB / 0.5903 GB, free: 68.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.9696, allocations: 17.62 kB / 0.5904 GB, free: 68.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007583/0.9704, allocations: 374.7 kB / 0.5907 GB, free: 68.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.9717, allocations: 380.9 kB / 0.5911 GB, free: 68.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005341/0.9771, allocations: 7.549 MB / 0.5984 GB, free: 61.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.9786, allocations: 42.25 kB / 0.5985 GB, free: 61.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.9788, allocations: 73.09 kB / 0.5986 GB, free: 61.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete 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 (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%) 1,(1,100.0%) 7,(3,100.0%) 9,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002993/0.9791, allocations: 159.1 kB / 0.5987 GB, free: 61.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.9793, allocations: 174.6 kB / 0.5989 GB, free: 61.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003711/0.983, allocations: 2.324 MB / 0.6011 GB, free: 60.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.983, allocations: 14.53 kB / 0.6012 GB, free: 60.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.983, allocations: 7.219 kB / 0.6012 GB, free: 60.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.9831, allocations: 12.81 kB / 0.6012 GB, free: 60.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006947/0.99, allocations: 4.753 MB / 0.6058 GB, free: 58.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.9901, allocations: 4.188 kB / 0.6058 GB, free: 58.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008066/0.9909, allocations: 192.6 kB / 0.606 GB, free: 58.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/0.9921, allocations: 0.5352 MB / 0.6065 GB, free: 58.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.043e-05/0.9922, allocations: 21.56 kB / 0.6065 GB, free: 58.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008302/1, allocations: 11.76 MB / 0.618 GB, free: 48.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.001, allocations: 3.906 kB / 0.618 GB, free: 48.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004754/1.005, allocations: 3.372 MB / 0.6213 GB, free: 46.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008566/1.006, allocations: 411.9 kB / 0.6217 GB, free: 46.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002365/1.006, allocations: 14.67 kB / 0.6217 GB, free: 46.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000841/1.007, allocations: 46.97 kB / 0.6218 GB, free: 46.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/1.008, allocations: 125 kB / 0.6219 GB, free: 46.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.044e-05/1.008, allocations: 41.05 kB / 0.6219 GB, free: 46.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001526/1.009, allocations: 0.9299 MB / 0.6228 GB, free: 45.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.009, allocations: 3.938 kB / 0.6228 GB, free: 45.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003499/1.013, allocations: 0.5394 MB / 0.6234 GB, free: 45.89 MB / 410.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.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,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 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * 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%) 1,(1,100.0%) 7,(1,100.0%) 13,(3,100.0%) 9,(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.0007405/1.013, allocations: 326.8 kB / 0.6237 GB, free: 45.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003073/1.017, allocations: 2.234 MB / 0.6259 GB, free: 44.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.017, allocations: 1.312 kB / 0.6259 GB, free: 44.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001952/1.019, allocations: 1.692 MB / 0.6275 GB, free: 43.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/1.021, allocations: 376.5 kB / 0.6279 GB, free: 42.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009075/1.03, allocations: 4.696 MB / 0.6325 GB, free: 38.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/1.032, allocations: 2.368 MB / 0.6348 GB, free: 36.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001581/1.033, allocations: 362 kB / 0.6351 GB, free: 36.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/1.033, allocations: 115 kB / 0.6352 GB, free: 36.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/1.033, allocations: 0 / 0.6352 GB, free: 36.34 MB / 410.7 MB Notification: Performance of Templates: time 0.0382/1.072, allocations: 24.35 MB / 0.659 GB, free: 19.75 MB / 410.7 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