Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001653/0.001653, allocations: 181.8 kB / 17.02 MB, free: 5.121 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.574/1.574, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.000879/0.0008789, allocations: 92.16 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002527/0.0002527, allocations: 4 kB / 328.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2577, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4286/0.6864, allocations: 146.6 MB / 0.5102 GB, free: 65.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.6867, allocations: 108.3 kB / 0.5103 GB, free: 65.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.146/1.833, allocations: 350.8 MB / 0.8529 GB, free: 33.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.565e-06/1.833, allocations: 0 / 0.8529 GB, free: 33.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001038/1.834, allocations: 252.9 kB / 0.8531 GB, free: 33.03 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.04021/1.874, allocations: 10.95 MB / 0.8638 GB, free: 29.49 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.874, allocations: 7.312 kB / 0.8638 GB, free: 29.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03163/1.906, allocations: 5.41 MB / 0.8691 GB, free: 28.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02462/1.931, allocations: 9.415 MB / 0.8783 GB, free: 27.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001264/1.932, allocations: 0.7939 MB / 0.8791 GB, free: 27.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005411/1.937, allocations: 1.045 MB / 0.8801 GB, free: 27.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05086/1.988, allocations: 17.94 MB / 0.8976 GB, free: 26.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006808/1.989, allocations: 15.25 kB / 0.8976 GB, free: 26.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004842/1.994, allocations: 460 kB / 0.8981 GB, free: 26.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008539/1.995, allocations: 0.7292 MB / 0.8988 GB, free: 26.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03405/2.029, allocations: 16.74 MB / 0.9151 GB, free: 23.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1085/2.137, allocations: 58.37 MB / 0.9721 GB, free: 1.348 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3128/2.45, allocations: 24.38 MB / 0.9959 GB, free: 34.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04177/2.492, allocations: 21.6 MB / 1.017 GB, free: 33.88 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.776e-05/2.492, allocations: 100.7 kB / 1.017 GB, free: 33.83 MB / 458.7 MB Notification: Performance of pre-optimization done (n=672): time 9.508e-06/2.492, allocations: 0 / 1.017 GB, free: 33.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=697): time 0.09061/2.583, allocations: 39.12 MB / 1.055 GB, free: 26.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/2.583, allocations: 144.2 kB / 1.055 GB, free: 26.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008387/2.591, allocations: 3.61 MB / 1.059 GB, free: 24.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001607/2.593, allocations: 128.8 kB / 1.059 GB, free: 24.79 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003034/2.596, allocations: 4.21 MB / 1.063 GB, free: 21.64 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003101/2.599, allocations: 2.314 MB / 1.065 GB, free: 19.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001337/2.6, allocations: 132.8 kB / 1.066 GB, free: 19.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006905/2.601, allocations: 0.6005 MB / 1.066 GB, free: 19.31 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00799/2.609, allocations: 4.561 MB / 1.071 GB, free: 17.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009193/2.618, allocations: 6.133 MB / 1.077 GB, free: 13.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/2.629, allocations: 5.576 MB / 1.082 GB, free: 11.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.355e-05/2.629, allocations: 11.62 kB / 1.082 GB, free: 11.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02694/2.656, allocations: 14.03 MB / 1.096 GB, free: 5.367 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.556e-05/2.656, allocations: 27.34 kB / 1.096 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/2.656, allocations: 43.53 kB / 1.096 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008364/2.664, allocations: 4.022 MB / 1.1 GB, free: 4.203 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006006/2.671, allocations: 1.327 MB / 1.101 GB, free: 4.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02026/2.691, allocations: 16.97 MB / 1.118 GB, free: 8.785 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007599/2.698, allocations: 356.3 kB / 1.118 GB, free: 8.676 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002202/2.701, allocations: 298.8 kB / 1.118 GB, free: 8.617 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 197 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (675): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(7,59.2%) 28,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.0121/2.713, allocations: 3.927 MB / 1.122 GB, free: 6.266 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00289/2.716, allocations: 0.5398 MB / 1.123 GB, free: 5.727 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03045/2.746, allocations: 13.51 MB / 1.136 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002094/2.746, allocations: 157.6 kB / 1.136 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.848e-05/2.747, allocations: 8 kB / 1.136 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001175/2.747, allocations: 31.92 kB / 1.136 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3195/3.066, allocations: 27 MB / 1.162 GB, free: 74.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.392e-05/3.066, allocations: 3.281 kB / 1.162 GB, free: 74.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003794/3.07, allocations: 0.8792 MB / 1.163 GB, free: 74.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008269/3.078, allocations: 3.918 MB / 1.167 GB, free: 74.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001401/3.08, allocations: 153.5 kB / 1.167 GB, free: 74.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01924/3.099, allocations: 20.88 MB / 1.188 GB, free: 63.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/3.099, allocations: 5.906 kB / 1.188 GB, free: 63.85 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03405/3.133, allocations: 20.23 MB / 1.207 GB, free: 62.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005728/3.139, allocations: 1.661 MB / 1.209 GB, free: 62.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002347/3.141, allocations: 113.7 kB / 1.209 GB, free: 62.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00459/3.146, allocations: 303 kB / 1.209 GB, free: 62.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001697/3.148, allocations: 0.5175 MB / 1.21 GB, free: 62.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001/3.149, allocations: 187.5 kB / 1.21 GB, free: 62.29 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005063/3.154, allocations: 2.73 MB / 1.213 GB, free: 62.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/3.154, allocations: 0 / 1.213 GB, free: 62.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01046/3.164, allocations: 1.986 MB / 1.215 GB, free: 62.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,imc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.002086/3.166, allocations: 0.5647 MB / 1.215 GB, free: 62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01927/3.186, allocations: 11.83 MB / 1.227 GB, free: 59.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/3.186, allocations: 8.281 kB / 1.227 GB, free: 59.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01189/3.198, allocations: 6.702 MB / 1.233 GB, free: 56.67 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00765/3.205, allocations: 1.173 MB / 1.234 GB, free: 56.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04966/3.255, allocations: 26.86 MB / 1.261 GB, free: 42.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01325/3.268, allocations: 7.121 MB / 1.268 GB, free: 39.78 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007603/3.276, allocations: 1.658 MB / 1.269 GB, free: 39.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00203/3.278, allocations: 383.8 kB / 1.27 GB, free: 39.57 MB / 490.7 MB Notification: Performance of SimCode: time 1.413e-06/3.278, allocations: 7.844 kB / 1.27 GB, free: 39.57 MB / 490.7 MB Notification: Performance of Templates: time 0.4202/3.698, allocations: 121.2 MB / 1.388 GB, free: 65.37 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches