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.001375/0.001375, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.266/1.266, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0008442/0.0008442, allocations: 92.61 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002984, allocations: 4 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2253, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3752/0.6006, allocations: 130.5 MB / 0.5195 GB, free: 53.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/0.6009, allocations: 103.3 kB / 0.5196 GB, free: 53.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6139/1.215, allocations: 150.7 MB / 0.6668 GB, free: 43.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.215, allocations: 0 / 0.6668 GB, free: 43.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007322/1.216, allocations: 182 kB / 0.667 GB, free: 43.46 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.02092/1.237, allocations: 7.299 MB / 0.6741 GB, free: 41.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/1.237, allocations: 11.75 kB / 0.6741 GB, free: 41.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006885/1.244, allocations: 1.246 MB / 0.6753 GB, free: 41.51 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01578/1.259, allocations: 6.273 MB / 0.6815 GB, free: 40.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00047/1.26, allocations: 0.4949 MB / 0.6819 GB, free: 40.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002325/1.262, allocations: 0.6673 MB / 0.6826 GB, free: 40.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01908/1.281, allocations: 9.324 MB / 0.6917 GB, free: 39.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000199/1.282, allocations: 18.2 kB / 0.6917 GB, free: 39.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009823/1.283, allocations: 287.9 kB / 0.692 GB, free: 39.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002021/1.283, allocations: 291.6 kB / 0.6923 GB, free: 39.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/1.297, allocations: 7.677 MB / 0.6998 GB, free: 39.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05798/1.355, allocations: 29.44 MB / 0.7285 GB, free: 33.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/1.366, allocations: 11.88 MB / 0.7401 GB, free: 24.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01332/1.379, allocations: 6.964 MB / 0.7469 GB, free: 20.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.563e-05/1.379, allocations: 74.61 kB / 0.747 GB, free: 20.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=323): time 5.2e-06/1.379, allocations: 0 / 0.747 GB, free: 20.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=342): time 0.03612/1.415, allocations: 16.47 MB / 0.7631 GB, free: 29 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/1.415, allocations: 92.47 kB / 0.7632 GB, free: 28.94 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006294/1.422, allocations: 3.474 MB / 0.7666 GB, free: 27.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006167/1.422, allocations: 81.33 kB / 0.7666 GB, free: 27.58 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001565/1.424, allocations: 3.051 MB / 0.7696 GB, free: 25.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009796/1.425, allocations: 1.152 MB / 0.7707 GB, free: 24.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/1.425, allocations: 78.94 kB / 0.7708 GB, free: 24.31 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002132/1.425, allocations: 458.2 kB / 0.7712 GB, free: 23.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002549/1.428, allocations: 1.931 MB / 0.7731 GB, free: 23.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002743/1.43, allocations: 2.82 MB / 0.7759 GB, free: 21.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00289/1.433, allocations: 2.354 MB / 0.7782 GB, free: 20.49 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/1.433, allocations: 7.594 kB / 0.7782 GB, free: 20.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=492) (initialization): time 0.009154/1.443, allocations: 6.504 MB / 0.7845 GB, free: 17.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/1.443, allocations: 18.06 kB / 0.7846 GB, free: 17.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-05/1.443, allocations: 23.5 kB / 0.7846 GB, free: 17.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002587/1.445, allocations: 1.272 MB / 0.7858 GB, free: 17.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003919/1.449, allocations: 0.8339 MB / 0.7866 GB, free: 17.42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01795/1.467, allocations: 21.09 MB / 0.8072 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00439/1.472, allocations: 209.8 kB / 0.8074 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007765/1.472, allocations: 158.7 kB / 0.8076 GB, free: 14.72 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (429): * Single equations (assignments): 415 * 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.005056/1.478, allocations: 2.177 MB / 0.8097 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/1.479, allocations: 454.5 kB / 0.8101 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/1.489, allocations: 6.285 MB / 0.8163 GB, free: 7.008 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.861e-05/1.489, allocations: 36 kB / 0.8163 GB, free: 6.973 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.546e-05/1.489, allocations: 16 kB / 0.8163 GB, free: 6.957 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-05/1.489, allocations: 25.67 kB / 0.8164 GB, free: 6.949 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02182/1.511, allocations: 12.8 MB / 0.8289 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/1.511, allocations: 4 kB / 0.8289 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002225/1.513, allocations: 0.4917 MB / 0.8293 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003846/1.517, allocations: 1.62 MB / 0.8309 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004059/1.518, allocations: 83.55 kB / 0.831 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3564/1.874, allocations: 30.73 MB / 0.861 GB, free: 68.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.311e-05/1.874, allocations: 10.94 kB / 0.861 GB, free: 68.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/1.891, allocations: 9.369 MB / 0.8702 GB, free: 67.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003986/1.896, allocations: 0.9372 MB / 0.8711 GB, free: 67.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002176/1.898, allocations: 67.88 kB / 0.8711 GB, free: 67.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003578/1.901, allocations: 207.6 kB / 0.8713 GB, free: 67.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008662/1.902, allocations: 294.9 kB / 0.8716 GB, free: 67.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002899/1.903, allocations: 96.66 kB / 0.8717 GB, free: 67.31 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005751/1.908, allocations: 2.661 MB / 0.8743 GB, free: 67.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.908, allocations: 0 / 0.8743 GB, free: 67.13 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008612/1.917, allocations: 1.394 MB / 0.8757 GB, free: 67.13 MB / 490.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 (249): * Single equations (assignments): 232 * 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.001853/1.919, allocations: 0.5308 MB / 0.8762 GB, free: 67.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01193/1.931, allocations: 6.505 MB / 0.8825 GB, free: 65.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/1.931, allocations: 3.938 kB / 0.8825 GB, free: 65.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00834/1.939, allocations: 4.904 MB / 0.8873 GB, free: 63.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008751/1.948, allocations: 1.248 MB / 0.8886 GB, free: 63.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03598/1.984, allocations: 15.89 MB / 0.9041 GB, free: 57.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009548/1.994, allocations: 4.616 MB / 0.9086 GB, free: 56.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006033/2, allocations: 1.053 MB / 0.9096 GB, free: 56.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/2.001, allocations: 274.1 kB / 0.9099 GB, free: 56.07 MB / 490.7 MB Notification: Performance of SimCode: time 1.203e-06/2.001, allocations: 0 / 0.9099 GB, free: 56.07 MB / 490.7 MB Notification: Performance of Templates: time 0.1395/2.141, allocations: 73.12 MB / 0.9813 GB, free: 35.95 MB / 490.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