Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimsE.i_0_r|// aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimsE.i_0_r|// aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 172.5 kB / 17.4 MB, free: 4.297 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.29/1.29, allocations: 223.3 MB / 241.4 MB, free: 9.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007626/0.0007624, allocations: 91.17 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003234, allocations: 15.94 kB / 352.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2085, allocations: 50.4 MB / 402.8 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3233/0.5319, allocations: 130.7 MB / 0.521 GB, free: 95.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/0.5323, allocations: 102.2 kB / 0.5211 GB, free: 95.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5201/1.052, allocations: 150.6 MB / 0.6681 GB, free: 34.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.863e-06/1.052, allocations: 0 / 0.6681 GB, free: 34.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005585/1.053, allocations: 185.7 kB / 0.6683 GB, free: 34.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: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.01868/1.072, allocations: 7.215 MB / 0.6754 GB, free: 31.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/1.072, allocations: 11.12 kB / 0.6754 GB, free: 31.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00619/1.078, allocations: 1.251 MB / 0.6766 GB, free: 31.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/1.091, allocations: 5.719 MB / 0.6822 GB, free: 30.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000535/1.091, allocations: 0.4991 MB / 0.6827 GB, free: 30.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002284/1.093, allocations: 0.6613 MB / 0.6833 GB, free: 30.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02032/1.114, allocations: 9.375 MB / 0.6925 GB, free: 29.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003835/1.114, allocations: 27.86 kB / 0.6925 GB, free: 29.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002069/1.116, allocations: 292 kB / 0.6928 GB, free: 29.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002651/1.117, allocations: 288.7 kB / 0.693 GB, free: 29.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01759/1.134, allocations: 7.67 MB / 0.7005 GB, free: 29.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05541/1.19, allocations: 29.48 MB / 0.7293 GB, free: 21.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008942/1.199, allocations: 11.88 MB / 0.7409 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004569/1.203, allocations: 3.353 MB / 0.7442 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01149/1.215, allocations: 6.849 MB / 0.7509 GB, free: 6.992 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.215, allocations: 69.33 kB / 0.751 GB, free: 6.926 MB / 426.7 MB Notification: Performance of pre-optimization done (n=308): time 4.568e-06/1.215, allocations: 4 kB / 0.751 GB, free: 6.922 MB / 426.7 MB Notification: Performance of matching and sorting (n=327): time 0.02793/1.243, allocations: 16.16 MB / 0.7667 GB, free: 15.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/1.243, allocations: 85.42 kB / 0.7668 GB, free: 14.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007475/1.25, allocations: 3.946 MB / 0.7707 GB, free: 13.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006275/1.251, allocations: 83.14 kB / 0.7708 GB, free: 13.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002389/1.253, allocations: 3.081 MB / 0.7738 GB, free: 11.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001372/1.255, allocations: 1.095 MB / 0.7748 GB, free: 10.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005211/1.255, allocations: 81.56 kB / 0.7749 GB, free: 10.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003142/1.256, allocations: 451.6 kB / 0.7753 GB, free: 9.836 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003372/1.259, allocations: 1.877 MB / 0.7772 GB, free: 9.145 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003877/1.263, allocations: 2.805 MB / 0.7799 GB, free: 7.363 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007848/1.271, allocations: 4.864 MB / 0.7847 GB, free: 4.617 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.478e-05/1.271, allocations: 11.09 kB / 0.7847 GB, free: 4.617 MB / 442.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.01404/1.285, allocations: 6.395 MB / 0.7909 GB, free: 0 / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/1.285, allocations: 25.19 kB / 0.7909 GB, free: 0 / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002117/1.285, allocations: 40.03 kB / 0.791 GB, free: 0 / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003017/1.288, allocations: 1.274 MB / 0.7922 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/1.292, allocations: 0.8121 MB / 0.793 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01911/1.311, allocations: 20.73 MB / 0.8133 GB, free: 9.637 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003947/1.315, allocations: 204.6 kB / 0.8135 GB, free: 9.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000873/1.316, allocations: 147.6 kB / 0.8136 GB, free: 9.34 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (418): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(2,100.0%) 14,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005519/1.322, allocations: 2.182 MB / 0.8157 GB, free: 7.492 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/1.323, allocations: 446.6 kB / 0.8162 GB, free: 7.051 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/1.336, allocations: 6.138 MB / 0.8221 GB, free: 1.762 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.789e-05/1.336, allocations: 28 kB / 0.8222 GB, free: 1.734 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.936e-05/1.336, allocations: 16 kB / 0.8222 GB, free: 1.719 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.306e-05/1.336, allocations: 13.36 kB / 0.8222 GB, free: 1.719 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2488/1.585, allocations: 12.66 MB / 0.8346 GB, free: 71.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/1.585, allocations: 0 / 0.8346 GB, free: 71.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/1.587, allocations: 466.8 kB / 0.835 GB, free: 71.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003411/1.59, allocations: 1.61 MB / 0.8366 GB, free: 71.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003227/1.59, allocations: 71.92 kB / 0.8367 GB, free: 71.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02151/1.612, allocations: 30.23 MB / 0.8662 GB, free: 51.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/1.612, allocations: 7.719 kB / 0.8662 GB, free: 51.06 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/1.624, allocations: 8.778 MB / 0.8748 GB, free: 50.08 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002261/1.626, allocations: 0.9196 MB / 0.8757 GB, free: 49.99 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007236/1.627, allocations: 79.25 kB / 0.8757 GB, free: 49.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/1.629, allocations: 203.2 kB / 0.8759 GB, free: 49.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006789/1.63, allocations: 285 kB / 0.8762 GB, free: 49.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/1.63, allocations: 88.33 kB / 0.8763 GB, free: 49.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003873/1.634, allocations: 2.669 MB / 0.8789 GB, free: 49.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.634, allocations: 7.219 kB / 0.8789 GB, free: 49.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004692/1.638, allocations: 1.383 MB / 0.8802 GB, free: 49.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.stator.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,loadInertiaM.w,loadInertiaE.w,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (234): * Single equations (assignments): 217 * 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: 16 * 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: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008613/1.639, allocations: 0.5271 MB / 0.8808 GB, free: 49.69 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007689/1.647, allocations: 6.364 MB / 0.887 GB, free: 48.06 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/1.647, allocations: 0 / 0.887 GB, free: 48.06 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005897/1.653, allocations: 4.835 MB / 0.8917 GB, free: 46.11 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008369/1.661, allocations: 1.278 MB / 0.8929 GB, free: 46.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02286/1.684, allocations: 15.79 MB / 0.9084 GB, free: 39.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004449/1.689, allocations: 4.486 MB / 0.9127 GB, free: 38.78 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00425/1.693, allocations: 1.051 MB / 0.9138 GB, free: 38.67 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.694, allocations: 268.6 kB / 0.914 GB, free: 38.67 MB / 474.7 MB Notification: Performance of SimCode: time 8.92e-07/1.694, allocations: 0 / 0.914 GB, free: 38.67 MB / 474.7 MB Notification: Performance of Templates: time 0.1193/1.813, allocations: 73.63 MB / 0.9859 GB, free: 6.625 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Start/IMS_Start.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches