Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 221.3 MB / 235.5 MB, free: 2.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008506/0.0008507, allocations: 88.05 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.997e-05/1.999e-05, allocations: 0 / 343.8 MB, free: 4.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08463/0.08466, allocations: 50.41 MB / 394.3 MB, free: 1.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3184/0.4031, allocations: 109.6 MB / 0.492 GB, free: 9.891 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.4034, allocations: 91.77 kB / 0.4921 GB, free: 9.805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3679/0.7713, allocations: 80.51 MB / 0.5707 GB, free: 97.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.7713, allocations: 0 / 0.5707 GB, free: 97.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002143/0.7715, allocations: 81.64 kB / 0.5708 GB, free: 97.07 MB / 426.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.008337/0.7799, allocations: 3.205 MB / 0.574 GB, free: 95.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.7799, allocations: 10.94 kB / 0.574 GB, free: 95.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004315/0.7843, allocations: 0.7377 MB / 0.5747 GB, free: 95.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007756/0.792, allocations: 3.355 MB / 0.578 GB, free: 95.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.7922, allocations: 235.5 kB / 0.5782 GB, free: 95.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006539/0.7929, allocations: 311 kB / 0.5785 GB, free: 95.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007042/0.7999, allocations: 4.091 MB / 0.5825 GB, free: 94.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.148e-05/0.8, allocations: 5.406 kB / 0.5825 GB, free: 94.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003257/0.8004, allocations: 130.7 kB / 0.5826 GB, free: 94.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/0.8005, allocations: 142.3 kB / 0.5827 GB, free: 94.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005234/0.8057, allocations: 3.345 MB / 0.586 GB, free: 93.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01862/0.8244, allocations: 13.55 MB / 0.5992 GB, free: 86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004676/0.8291, allocations: 6.788 MB / 0.6059 GB, free: 79.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/0.8309, allocations: 1.374 MB / 0.6072 GB, free: 79.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004901/0.8358, allocations: 3.603 MB / 0.6107 GB, free: 77.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.8358, allocations: 43.41 kB / 0.6108 GB, free: 77.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 2.414e-06/0.8358, allocations: 0 / 0.6108 GB, free: 77.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=142): time 0.007831/0.8437, allocations: 5.031 MB / 0.6157 GB, free: 74.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.8437, allocations: 67.94 kB / 0.6157 GB, free: 74.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/0.8457, allocations: 1.606 MB / 0.6173 GB, free: 74.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.202e-05/0.8457, allocations: 52.98 kB / 0.6174 GB, free: 73.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006112/0.8464, allocations: 1.427 MB / 0.6188 GB, free: 72.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.8466, allocations: 490.3 kB / 0.6192 GB, free: 72.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-05/0.8467, allocations: 35.28 kB / 0.6193 GB, free: 72.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.468e-05/0.8468, allocations: 379.3 kB / 0.6196 GB, free: 72.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008776/0.8477, allocations: 0.7098 MB / 0.6203 GB, free: 71.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.8487, allocations: 1.171 MB / 0.6215 GB, free: 71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.8498, allocations: 0.9266 MB / 0.6224 GB, free: 70.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.8498, allocations: 3.031 kB / 0.6224 GB, free: 70.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003432/0.8532, allocations: 2.557 MB / 0.6249 GB, free: 69.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.8533, allocations: 18.73 kB / 0.6249 GB, free: 69.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.8533, allocations: 15.03 kB / 0.6249 GB, free: 69.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.8545, allocations: 0.4945 MB / 0.6254 GB, free: 69.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.8558, allocations: 376.8 kB / 0.6257 GB, free: 69.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006225/0.862, allocations: 6.37 MB / 0.632 GB, free: 64.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.8633, allocations: 86.09 kB / 0.632 GB, free: 64.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.8634, allocations: 71.09 kB / 0.6321 GB, free: 64.15 MB / 426.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.0002295/0.8637, allocations: 204.5 kB / 0.6323 GB, free: 63.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.8639, allocations: 189.7 kB / 0.6325 GB, free: 63.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003409/0.8673, allocations: 2.415 MB / 0.6348 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.8673, allocations: 16 kB / 0.6349 GB, free: 61.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.8673, allocations: 8 kB / 0.6349 GB, free: 61.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.8674, allocations: 7.828 kB / 0.6349 GB, free: 61.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006812/0.8742, allocations: 5.381 MB / 0.6401 GB, free: 57.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.8742, allocations: 0 / 0.6401 GB, free: 57.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008935/0.8751, allocations: 224.5 kB / 0.6403 GB, free: 56.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.8762, allocations: 497 kB / 0.6408 GB, free: 56.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.8763, allocations: 35.66 kB / 0.6409 GB, free: 56.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007299/0.8836, allocations: 10.42 MB / 0.651 GB, free: 45.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.8836, allocations: 4.062 kB / 0.651 GB, free: 45.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/0.888, allocations: 3.525 MB / 0.6545 GB, free: 42.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.889, allocations: 458.5 kB / 0.6549 GB, free: 42.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.8892, allocations: 32 kB / 0.6549 GB, free: 42.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008844/0.8901, allocations: 73.83 kB / 0.655 GB, free: 42.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.8904, allocations: 105.5 kB / 0.6551 GB, free: 42.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.886e-05/0.8905, allocations: 43.66 kB / 0.6552 GB, free: 41.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001611/0.8921, allocations: 1.231 MB / 0.6564 GB, free: 40.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.8921, allocations: 0 / 0.6564 GB, free: 40.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001859/0.894, allocations: 0.6324 MB / 0.657 GB, free: 40.25 MB / 426.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.stray.Phi.re,aimc.stator.stray.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.0004748/0.8944, allocations: 411 kB / 0.6574 GB, free: 39.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002938/0.8974, allocations: 2.276 MB / 0.6596 GB, free: 37.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.8974, allocations: 0 / 0.6596 GB, free: 37.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.8992, allocations: 1.662 MB / 0.6612 GB, free: 36.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.9009, allocations: 491.8 kB / 0.6617 GB, free: 35.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006698/0.9076, allocations: 4.831 MB / 0.6664 GB, free: 31.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/0.9091, allocations: 2.423 MB / 0.6688 GB, free: 29.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00123/0.9104, allocations: 411.7 kB / 0.6692 GB, free: 28.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/0.9107, allocations: 131.4 kB / 0.6693 GB, free: 28.55 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.9107, allocations: 0 / 0.6693 GB, free: 28.55 MB / 426.7 MB Notification: Performance of Templates: time 0.04427/0.955, allocations: 31.66 MB / 0.7002 GB, free: 13.18 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches