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.001018/0.001018, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 221.5 MB / 230.3 MB, free: 7.535 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.0008444/0.0008446, allocations: 87.61 kB / 281.2 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.361e-05/1.363e-05, allocations: 4 kB / 337.1 MB, free: 10 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 50.42 MB / 387.5 MB, free: 7.535 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3765/0.4859, allocations: 129.8 MB / 0.5051 GB, free: 12.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.4862, allocations: 91.94 kB / 0.5052 GB, free: 12.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5749/1.061, allocations: 148.9 MB / 0.6506 GB, free: 56.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.512e-06/1.061, allocations: 3.938 kB / 0.6506 GB, free: 56.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005402/1.062, allocations: 183.2 kB / 0.6508 GB, free: 56.53 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.01751/1.079, allocations: 6.591 MB / 0.6573 GB, free: 49.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/1.079, allocations: 8.031 kB / 0.6573 GB, free: 49.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006658/1.086, allocations: 1.244 MB / 0.6585 GB, free: 48.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/1.101, allocations: 6.223 MB / 0.6646 GB, free: 42.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003117/1.101, allocations: 220 kB / 0.6648 GB, free: 42.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001893/1.103, allocations: 411.8 kB / 0.6652 GB, free: 41.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01359/1.116, allocations: 7.013 MB / 0.672 GB, free: 34.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/1.133, allocations: 8.167 MB / 0.68 GB, free: 26.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001587/1.133, allocations: 19.84 kB / 0.68 GB, free: 26.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006612/1.134, allocations: 4 kB / 0.68 GB, free: 26.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/1.134, allocations: 293.4 kB / 0.6803 GB, free: 26.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2861/1.42, allocations: 28.12 MB / 0.7077 GB, free: 56.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/1.431, allocations: 11.57 MB / 0.719 GB, free: 49.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004959/1.436, allocations: 3.142 MB / 0.7221 GB, free: 49.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01336/1.449, allocations: 6.568 MB / 0.7285 GB, free: 48.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/1.449, allocations: 70.34 kB / 0.7286 GB, free: 48.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=306): time 5.54e-06/1.449, allocations: 0 / 0.7286 GB, free: 48.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=325): time 0.02168/1.471, allocations: 11.04 MB / 0.7394 GB, free: 46.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/1.471, allocations: 88.53 kB / 0.7395 GB, free: 46.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004493/1.476, allocations: 2.784 MB / 0.7422 GB, free: 46.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005561/1.476, allocations: 25.7 kB / 0.7422 GB, free: 46.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001621/1.478, allocations: 3.077 MB / 0.7452 GB, free: 45.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009778/1.479, allocations: 1.049 MB / 0.7462 GB, free: 44.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/1.479, allocations: 0 / 0.7462 GB, free: 44.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/1.479, allocations: 457.3 kB / 0.7467 GB, free: 44.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002396/1.481, allocations: 1.714 MB / 0.7483 GB, free: 44.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002803/1.484, allocations: 2.601 MB / 0.7509 GB, free: 43.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003115/1.487, allocations: 2.265 MB / 0.7531 GB, free: 43.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.099e-05/1.487, allocations: 14.38 kB / 0.7531 GB, free: 43.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01038/1.498, allocations: 5.904 MB / 0.7589 GB, free: 42.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/1.498, allocations: 16.16 kB / 0.7589 GB, free: 42.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.412e-05/1.498, allocations: 27.34 kB / 0.7589 GB, free: 42.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/1.501, allocations: 1.22 MB / 0.7601 GB, free: 42.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004106/1.505, allocations: 0.8061 MB / 0.7609 GB, free: 42.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/1.521, allocations: 19.85 MB / 0.7803 GB, free: 27.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004492/1.525, allocations: 135.4 kB / 0.7804 GB, free: 27.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009412/1.526, allocations: 153.9 kB / 0.7806 GB, free: 27.23 MB / 426.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.0009827/1.527, allocations: 202.3 kB / 0.7807 GB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/1.528, allocations: 400.8 kB / 0.7811 GB, free: 26.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009303/1.538, allocations: 5.751 MB / 0.7867 GB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/1.538, allocations: 36.61 kB / 0.7868 GB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.214e-05/1.538, allocations: 13.56 kB / 0.7868 GB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.163e-05/1.538, allocations: 19.55 kB / 0.7868 GB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02294/1.561, allocations: 11.19 MB / 0.7977 GB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.561, allocations: 3.812 kB / 0.7977 GB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/1.563, allocations: 463.6 kB / 0.7982 GB, free: 19.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003418/1.566, allocations: 1.559 MB / 0.7997 GB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004187/1.567, allocations: 26.11 kB / 0.7997 GB, free: 19.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02149/1.588, allocations: 28.97 MB / 0.828 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.588, allocations: 4.188 kB / 0.828 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/1.603, allocations: 8.637 MB / 0.8365 GB, free: 4.488 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002639/1.606, allocations: 0.8656 MB / 0.8373 GB, free: 3.691 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009521/1.607, allocations: 15.28 kB / 0.8373 GB, free: 3.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002321/1.609, allocations: 151.6 kB / 0.8375 GB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007362/1.61, allocations: 281.9 kB / 0.8377 GB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002518/1.61, allocations: 90.84 kB / 0.8378 GB, free: 3.336 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004249/1.614, allocations: 2.077 MB / 0.8398 GB, free: 1.516 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.614, allocations: 0 / 0.8398 GB, free: 1.516 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01019/1.624, allocations: 1.208 MB / 0.841 GB, free: 324 kB / 442.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%) 1,(1,100.0%) 8,(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.001909/1.626, allocations: 481.1 kB / 0.8415 GB, free: 0 / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0162/1.643, allocations: 5.907 MB / 0.8473 GB, free: 10.53 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/1.643, allocations: 0 / 0.8473 GB, free: 10.53 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01193/1.655, allocations: 4.503 MB / 0.8517 GB, free: 6.309 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0094/1.664, allocations: 0.9464 MB / 0.8526 GB, free: 5.602 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04725/1.711, allocations: 11.27 MB / 0.8636 GB, free: 13.07 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01054/1.722, allocations: 4.616 MB / 0.8681 GB, free: 9.637 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00685/1.729, allocations: 0.9743 MB / 0.869 GB, free: 8.973 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/1.73, allocations: 249.5 kB / 0.8693 GB, free: 8.738 MB / 474.7 MB Notification: Performance of SimCode: time 2.455e-06/1.73, allocations: 0 / 0.8693 GB, free: 8.738 MB / 474.7 MB Notification: Performance of Templates: time 0.4964/2.227, allocations: 57.98 MB / 0.9259 GB, free: 88.63 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/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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches