Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_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.0009749/0.0009748, allocations: 199.2 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.213/1.213, allocations: 226.5 MB / 245.3 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007745/0.0007745, allocations: 101.7 kB / 297.4 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002075/0.0002075, allocations: 4 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1928, allocations: 51.28 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.294/0.4869, allocations: 131.7 MB / 0.5277 GB, free: 49.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.4872, allocations: 100.7 kB / 0.5278 GB, free: 49.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3272/0.8143, allocations: 154.1 MB / 0.6783 GB, free: 1.516 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.937e-06/0.8144, allocations: 0 / 0.6783 GB, free: 1.516 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000597/0.815, allocations: 183.7 kB / 0.6784 GB, free: 1.336 MB / 458.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.2144/1.029, allocations: 7.269 MB / 0.6855 GB, free: 49.46 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/1.029, allocations: 11.91 kB / 0.6856 GB, free: 49.46 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007158/1.037, allocations: 1.281 MB / 0.6868 GB, free: 49.05 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/1.051, allocations: 5.765 MB / 0.6924 GB, free: 48.21 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005637/1.052, allocations: 0.4927 MB / 0.6929 GB, free: 48.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002427/1.054, allocations: 0.666 MB / 0.6936 GB, free: 48.19 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02236/1.077, allocations: 9.382 MB / 0.7027 GB, free: 47.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004211/1.077, allocations: 25.52 kB / 0.7028 GB, free: 47.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001969/1.079, allocations: 283.3 kB / 0.703 GB, free: 47.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002548/1.079, allocations: 292.2 kB / 0.7033 GB, free: 47.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01661/1.096, allocations: 7.673 MB / 0.7108 GB, free: 47.17 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04949/1.146, allocations: 29.68 MB / 0.7398 GB, free: 40.65 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/1.156, allocations: 12.18 MB / 0.7517 GB, free: 31.94 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005237/1.161, allocations: 3.389 MB / 0.755 GB, free: 30.76 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01421/1.175, allocations: 7.134 MB / 0.762 GB, free: 27.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/1.175, allocations: 70.31 kB / 0.762 GB, free: 27.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=308): time 6.122e-06/1.175, allocations: 3.844 kB / 0.762 GB, free: 27.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=327): time 0.02935/1.205, allocations: 16.16 MB / 0.7778 GB, free: 19.31 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/1.205, allocations: 84.05 kB / 0.7779 GB, free: 19.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006739/1.212, allocations: 3.973 MB / 0.7818 GB, free: 17.78 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005311/1.212, allocations: 82.23 kB / 0.7818 GB, free: 17.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001715/1.214, allocations: 3.095 MB / 0.7849 GB, free: 15.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000988/1.215, allocations: 1.098 MB / 0.7859 GB, free: 14.51 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003936/1.215, allocations: 75.91 kB / 0.786 GB, free: 14.45 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002174/1.216, allocations: 458.9 kB / 0.7864 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002891/1.218, allocations: 1.876 MB / 0.7883 GB, free: 13.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003222/1.222, allocations: 2.802 MB / 0.791 GB, free: 11.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006414/1.228, allocations: 4.872 MB / 0.7958 GB, free: 8.953 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.997e-05/1.228, allocations: 10.94 kB / 0.7958 GB, free: 8.953 MB / 458.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.01017/1.238, allocations: 6.397 MB / 0.802 GB, free: 6.414 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/1.238, allocations: 18.08 kB / 0.8021 GB, free: 6.414 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.644e-05/1.239, allocations: 29.16 kB / 0.8021 GB, free: 6.414 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002611/1.241, allocations: 1.264 MB / 0.8033 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003137/1.244, allocations: 0.807 MB / 0.8041 GB, free: 5.953 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01664/1.261, allocations: 20.74 MB / 0.8244 GB, free: 4.172 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003921/1.265, allocations: 201.1 kB / 0.8245 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007456/1.266, allocations: 147.7 kB / 0.8247 GB, free: 3.875 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.005158/1.271, allocations: 2.189 MB / 0.8268 GB, free: 2.023 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/1.272, allocations: 446.6 kB / 0.8272 GB, free: 1.582 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/1.286, allocations: 6.315 MB / 0.8334 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-05/1.286, allocations: 32 kB / 0.8334 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.498e-05/1.286, allocations: 19.56 kB / 0.8335 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.297e-05/1.286, allocations: 15.19 kB / 0.8335 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02501/1.311, allocations: 12.45 MB / 0.8456 GB, free: 2.383 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/1.311, allocations: 4.375 kB / 0.8456 GB, free: 2.379 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002191/1.313, allocations: 466.3 kB / 0.8461 GB, free: 2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003885/1.317, allocations: 1.621 MB / 0.8477 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005207/1.318, allocations: 71.31 kB / 0.8477 GB, free: 0.625 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4/1.718, allocations: 30.24 MB / 0.8773 GB, free: 79.29 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.718, allocations: 7.406 kB / 0.8773 GB, free: 79.29 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/1.731, allocations: 8.769 MB / 0.8858 GB, free: 78.33 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002377/1.733, allocations: 0.9268 MB / 0.8867 GB, free: 78.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009347/1.734, allocations: 65.31 kB / 0.8868 GB, free: 78.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/1.736, allocations: 207.5 kB / 0.887 GB, free: 78.23 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000691/1.737, allocations: 278.8 kB / 0.8873 GB, free: 78.23 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/1.737, allocations: 97.94 kB / 0.8874 GB, free: 78.23 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003883/1.741, allocations: 2.692 MB / 0.89 GB, free: 78.05 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.81e-07/1.741, allocations: 0 / 0.89 GB, free: 78.05 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00502/1.746, allocations: 1.39 MB / 0.8914 GB, free: 78.05 MB / 0.4949 GB 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%) 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.001/1.747, allocations: 0.5392 MB / 0.8919 GB, free: 77.93 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.008174/1.755, allocations: 6.353 MB / 0.8981 GB, free: 76.3 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.755, allocations: 3.172 kB / 0.8981 GB, free: 76.3 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005812/1.761, allocations: 4.819 MB / 0.9028 GB, free: 74.36 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008225/1.769, allocations: 1.303 MB / 0.9041 GB, free: 74.33 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02285/1.792, allocations: 15.78 MB / 0.9195 GB, free: 67.96 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004247/1.797, allocations: 4.401 MB / 0.9238 GB, free: 67.04 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/1.798, allocations: 302.3 kB / 0.9241 GB, free: 67.04 MB / 0.4949 GB Notification: Performance of SimCode: time 9.61e-07/1.798, allocations: 2.438 kB / 0.9241 GB, free: 67.04 MB / 0.4949 GB Notification: Performance of Templates: time 1.183/2.981, allocations: 0.628 GB / 1.552 GB, free: 27.45 MB / 0.5105 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches