Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001564, allocations: 171.8 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008703/0.0008704, allocations: 90.64 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.151e-05/3.183e-05, allocations: 4 kB / 322.5 MB, free: 17.33 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08853/0.08858, allocations: 47.57 MB / 370 MB, free: 1.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3613/0.4499, allocations: 108.5 MB / 478.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.4502, allocations: 82.14 kB / 478.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4113/0.8615, allocations: 80.31 MB / 0.5459 GB, free: 90.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.8616, allocations: 1.156 kB / 0.5459 GB, free: 90.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00025/0.8618, allocations: 81.64 kB / 0.5459 GB, free: 90.01 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.012/0.8739, allocations: 3.207 MB / 0.5491 GB, free: 88.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.8739, allocations: 9.5 kB / 0.5491 GB, free: 88.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004736/0.8787, allocations: 0.7321 MB / 0.5498 GB, free: 88.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009455/0.8882, allocations: 3.343 MB / 0.5531 GB, free: 88.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.8884, allocations: 238.2 kB / 0.5533 GB, free: 88.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009195/0.8894, allocations: 318.3 kB / 0.5536 GB, free: 88.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00757/0.8969, allocations: 4.091 MB / 0.5576 GB, free: 87.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.587e-05/0.8971, allocations: 10.92 kB / 0.5576 GB, free: 87.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000318/0.8974, allocations: 130.8 kB / 0.5577 GB, free: 87.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.8975, allocations: 145.1 kB / 0.5579 GB, free: 87.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005306/0.9028, allocations: 3.342 MB / 0.5611 GB, free: 87.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/0.9213, allocations: 13.55 MB / 0.5744 GB, free: 82.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005048/0.9264, allocations: 6.79 MB / 0.581 GB, free: 75.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001849/0.9283, allocations: 1.363 MB / 0.5823 GB, free: 75.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005654/0.9339, allocations: 3.618 MB / 0.5858 GB, free: 73.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.934, allocations: 51.3 kB / 0.5859 GB, free: 73.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.617e-06/0.934, allocations: 0 / 0.5859 GB, free: 73.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=142): time 0.008664/0.9427, allocations: 5.009 MB / 0.5908 GB, free: 70.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.9428, allocations: 70.95 kB / 0.5909 GB, free: 70.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/0.9451, allocations: 1.609 MB / 0.5924 GB, free: 70.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.9452, allocations: 56.89 kB / 0.5925 GB, free: 70.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007508/0.9459, allocations: 1.428 MB / 0.5939 GB, free: 69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/0.9463, allocations: 493.9 kB / 0.5943 GB, free: 68.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.048e-05/0.9464, allocations: 35.28 kB / 0.5944 GB, free: 68.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.9465, allocations: 370.1 kB / 0.5947 GB, free: 68.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009378/0.9475, allocations: 0.7143 MB / 0.5954 GB, free: 67.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.9486, allocations: 1.166 MB / 0.5966 GB, free: 67.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.9498, allocations: 0.9393 MB / 0.5975 GB, free: 66.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.9498, allocations: 7.125 kB / 0.5975 GB, free: 66.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00376/0.9536, allocations: 2.558 MB / 0.6 GB, free: 65.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.9536, allocations: 11.59 kB / 0.6 GB, free: 65.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.9536, allocations: 18.09 kB / 0.6 GB, free: 65.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.9549, allocations: 0.4916 MB / 0.6005 GB, free: 65.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.9562, allocations: 389.5 kB / 0.6009 GB, free: 65.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006494/0.9627, allocations: 6.379 MB / 0.6071 GB, free: 60.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.9644, allocations: 77.7 kB / 0.6072 GB, free: 60.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.9645, allocations: 70.75 kB / 0.6072 GB, free: 60.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 176 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(7,67.3%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000284/0.9648, allocations: 211.2 kB / 0.6074 GB, free: 60.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/0.9651, allocations: 192.3 kB / 0.6076 GB, free: 60.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003534/0.9686, allocations: 2.41 MB / 0.61 GB, free: 59.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.9686, allocations: 11.28 kB / 0.61 GB, free: 59.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.9686, allocations: 11.47 kB / 0.61 GB, free: 59.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.9687, allocations: 7.453 kB / 0.61 GB, free: 59.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006879/0.9755, allocations: 5.388 MB / 0.6153 GB, free: 56.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.9756, allocations: 0 / 0.6153 GB, free: 56.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009435/0.9765, allocations: 212.3 kB / 0.6155 GB, free: 56.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.9776, allocations: 0.4922 MB / 0.616 GB, free: 55.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.071e-05/0.9777, allocations: 43.83 kB / 0.616 GB, free: 55.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008485/0.9862, allocations: 10.41 MB / 0.6262 GB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.9863, allocations: 7.969 kB / 0.6262 GB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004622/0.9909, allocations: 3.52 MB / 0.6296 GB, free: 42.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009933/0.9919, allocations: 448.7 kB / 0.63 GB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/0.9922, allocations: 28 kB / 0.6301 GB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009075/0.9931, allocations: 78.2 kB / 0.6301 GB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/0.9934, allocations: 109.9 kB / 0.6302 GB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.993e-05/0.9934, allocations: 43.56 kB / 0.6303 GB, free: 41.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001604/0.9951, allocations: 1.238 MB / 0.6315 GB, free: 40.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9951, allocations: 0 / 0.6315 GB, free: 40.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001925/0.997, allocations: 0.6209 MB / 0.6321 GB, free: 39.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.strayReluctance.Phi.re,aimc.stator.strayReluctance.Phi.im,aimc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004797/0.9975, allocations: 409.3 kB / 0.6325 GB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003154/1.001, allocations: 2.276 MB / 0.6347 GB, free: 37.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.001, allocations: 4 kB / 0.6347 GB, free: 37.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001863/1.003, allocations: 1.668 MB / 0.6363 GB, free: 35.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/1.005, allocations: 473.1 kB / 0.6368 GB, free: 35.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007246/1.012, allocations: 4.834 MB / 0.6415 GB, free: 31.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/1.013, allocations: 2.423 MB / 0.6439 GB, free: 29.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00136/1.015, allocations: 417.6 kB / 0.6443 GB, free: 28.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/1.015, allocations: 126.4 kB / 0.6444 GB, free: 28.71 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/1.015, allocations: 0 / 0.6444 GB, free: 28.71 MB / 410.7 MB Notification: Performance of Templates: time 0.04516/1.06, allocations: 31.58 MB / 0.6752 GB, free: 0.8477 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize_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_Initialize/AIMC_Initialize.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches