Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002033/0.002033, allocations: 200 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007868/0.0007868, allocations: 103.3 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.519e-05/1.568e-05, allocations: 0 / 343.7 MB, free: 8.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 51.48 MB / 395.2 MB, free: 4.695 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4157/0.5243, allocations: 130.8 MB / 0.5137 GB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.5246, allocations: 94.5 kB / 0.5138 GB, free: 11.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5913/1.116, allocations: 152.5 MB / 0.6627 GB, free: 67.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.375e-06/1.116, allocations: 0 / 0.6627 GB, free: 67.87 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007205/1.117, allocations: 189.2 kB / 0.6629 GB, free: 67.83 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: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.01965/1.136, allocations: 6.615 MB / 0.6693 GB, free: 64.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/1.136, allocations: 10.16 kB / 0.6694 GB, free: 64.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006686/1.143, allocations: 1.276 MB / 0.6706 GB, free: 64.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01685/1.16, allocations: 6.28 MB / 0.6767 GB, free: 60.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004352/1.16, allocations: 221 kB / 0.6769 GB, free: 60.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002911/1.163, allocations: 406 kB / 0.6773 GB, free: 60.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01589/1.179, allocations: 7.02 MB / 0.6842 GB, free: 56.81 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0283/1.208, allocations: 8.173 MB / 0.6922 GB, free: 49.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003891/1.208, allocations: 15.84 kB / 0.6922 GB, free: 49.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002108/1.21, allocations: 8 kB / 0.6922 GB, free: 49.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002292/1.21, allocations: 289.4 kB / 0.6925 GB, free: 48.76 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04697/1.257, allocations: 28.32 MB / 0.7201 GB, free: 19.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009369/1.267, allocations: 11.87 MB / 0.7317 GB, free: 6.957 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004479/1.271, allocations: 3.169 MB / 0.7348 GB, free: 3.777 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3003/1.572, allocations: 6.862 MB / 0.7415 GB, free: 63.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/1.572, allocations: 72.16 kB / 0.7416 GB, free: 62.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=306): time 4.468e-06/1.572, allocations: 2.625 kB / 0.7416 GB, free: 62.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=325): time 0.02047/1.592, allocations: 11.27 MB / 0.7526 GB, free: 61.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/1.592, allocations: 85.03 kB / 0.7527 GB, free: 61.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005336/1.598, allocations: 2.804 MB / 0.7554 GB, free: 61.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000693/1.598, allocations: 25.7 kB / 0.7554 GB, free: 61.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001998/1.6, allocations: 3.088 MB / 0.7585 GB, free: 59.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001047/1.601, allocations: 1.05 MB / 0.7595 GB, free: 59.19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/1.602, allocations: 0 / 0.7595 GB, free: 59.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002092/1.602, allocations: 454.5 kB / 0.7599 GB, free: 58.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/1.604, allocations: 1.722 MB / 0.7616 GB, free: 58.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/1.607, allocations: 2.599 MB / 0.7641 GB, free: 57.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003534/1.61, allocations: 2.336 MB / 0.7664 GB, free: 57.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/1.61, allocations: 7.844 kB / 0.7664 GB, free: 57.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.009606/1.62, allocations: 5.992 MB / 0.7723 GB, free: 57.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/1.62, allocations: 16.69 kB / 0.7723 GB, free: 57.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-05/1.62, allocations: 27.06 kB / 0.7723 GB, free: 57.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/1.623, allocations: 1.216 MB / 0.7735 GB, free: 57.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003295/1.626, allocations: 0.8076 MB / 0.7743 GB, free: 57.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/1.641, allocations: 19.85 MB / 0.7937 GB, free: 43.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003753/1.645, allocations: 130.2 kB / 0.7938 GB, free: 43.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000571/1.646, allocations: 148.5 kB / 0.7939 GB, free: 43.65 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 402 * 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.0007508/1.646, allocations: 205 kB / 0.7941 GB, free: 43.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000956/1.647, allocations: 408.5 kB / 0.7945 GB, free: 43.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/1.659, allocations: 5.835 MB / 0.8002 GB, free: 41.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/1.659, allocations: 30.67 kB / 0.8002 GB, free: 41.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.083e-05/1.659, allocations: 18.62 kB / 0.8003 GB, free: 41.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.166e-05/1.659, allocations: 18.56 kB / 0.8003 GB, free: 41.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/1.68, allocations: 11.27 MB / 0.8113 GB, free: 37.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/1.68, allocations: 5.344 kB / 0.8113 GB, free: 37.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002079/1.682, allocations: 468 kB / 0.8117 GB, free: 37.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00347/1.685, allocations: 1.546 MB / 0.8133 GB, free: 36.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003407/1.686, allocations: 30 kB / 0.8133 GB, free: 36.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02103/1.707, allocations: 28.96 MB / 0.8416 GB, free: 28.65 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/1.707, allocations: 4.688 kB / 0.8416 GB, free: 28.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/1.719, allocations: 8.704 MB / 0.8501 GB, free: 24.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/1.721, allocations: 0.8656 MB / 0.8509 GB, free: 24 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005888/1.722, allocations: 17.78 kB / 0.8509 GB, free: 23.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/1.724, allocations: 151.9 kB / 0.8511 GB, free: 23.99 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006225/1.724, allocations: 280.6 kB / 0.8513 GB, free: 23.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/1.724, allocations: 96.92 kB / 0.8514 GB, free: 23.92 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00306/1.727, allocations: 2.088 MB / 0.8535 GB, free: 23.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.3e-07/1.727, allocations: 3.625 kB / 0.8535 GB, free: 23.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004582/1.732, allocations: 1.22 MB / 0.8547 GB, free: 23.08 MB / 458.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 215 * 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%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(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.0008867/1.733, allocations: 498.5 kB / 0.8551 GB, free: 22.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00759/1.741, allocations: 5.884 MB / 0.8609 GB, free: 19.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/1.741, allocations: 3.25 kB / 0.8609 GB, free: 19.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005811/1.746, allocations: 4.495 MB / 0.8653 GB, free: 16.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006626/1.753, allocations: 0.9655 MB / 0.8662 GB, free: 16.74 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02156/1.775, allocations: 10.81 MB / 0.8768 GB, free: 9.617 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00484/1.78, allocations: 4.626 MB / 0.8813 GB, free: 6.172 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00394/1.784, allocations: 0.9774 MB / 0.8822 GB, free: 5.504 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007251/1.784, allocations: 247.3 kB / 0.8825 GB, free: 5.266 MB / 458.7 MB Notification: Performance of SimCode: time 1.072e-06/1.784, allocations: 0 / 0.8825 GB, free: 5.266 MB / 458.7 MB Notification: Performance of Templates: time 0.3811/2.165, allocations: 58.47 MB / 0.9396 GB, free: 77.25 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches