Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001436/0.001436, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001815/0.001815, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 55.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2674, allocations: 50.55 MB / 409.3 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03731/0.3048, allocations: 38.92 MB / 448.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02259/0.3274, allocations: 10.31 MB / 458.5 MB, free: 284 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00805/0.3355, allocations: 295.1 kB / 458.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02249/0.358, allocations: 10.19 MB / 469 MB, free: 5.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.014/0.372, allocations: 4.039 MB / 473 MB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007461/0.3795, allocations: 2.425 MB / 475.5 MB, free: 15.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02298/0.4025, allocations: 16.52 MB / 492 MB, free: 14.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04102/0.4436, allocations: 31.2 MB / 0.5109 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/0.4556, allocations: 8.521 MB / 0.5193 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.015/0.4706, allocations: 9.488 MB / 0.5285 GB, free: 13.19 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006312/0.477, allocations: 2.418 MB / 0.5309 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009491/0.4865, allocations: 2.832 MB / 0.5336 GB, free: 7.941 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007969/0.4945, allocations: 4.812 MB / 0.5383 GB, free: 3.117 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.4753/0.9698, allocations: 9.206 MB / 0.5473 GB, free: 48.17 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03888/1.009, allocations: 32.16 MB / 0.5787 GB, free: 40.89 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.009, allocations: 1.438 kB / 0.5787 GB, free: 40.89 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.954e-06/1.009, allocations: 0 / 0.5787 GB, free: 40.89 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.00104/1.01, allocations: 0 / 0.5787 GB, free: 40.89 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.05841/1.068, allocations: 18.72 MB / 0.597 GB, free: 29.33 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/1.068, allocations: 11 kB / 0.597 GB, free: 29.33 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04597/1.114, allocations: 8.34 MB / 0.6052 GB, free: 25.56 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02254/1.137, allocations: 10.24 MB / 0.6152 GB, free: 16.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007986/1.138, allocations: 1.056 MB / 0.6162 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007691/1.145, allocations: 1.4 MB / 0.6176 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06352/1.209, allocations: 22.75 MB / 0.6398 GB, free: 7.059 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007511/1.21, allocations: 27.45 kB / 0.6398 GB, free: 7.035 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006057/1.216, allocations: 0.5718 MB / 0.6404 GB, free: 6.477 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009192/1.217, allocations: 0.7859 MB / 0.6411 GB, free: 5.691 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06392/1.281, allocations: 21.01 MB / 0.6617 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1484/1.429, allocations: 72.65 MB / 0.7326 GB, free: 7.586 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2613/1.691, allocations: 42.71 MB / 0.7743 GB, free: 179.5 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008811/1.699, allocations: 5.2 MB / 0.7794 GB, free: 179.4 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02051/1.72, allocations: 12.95 MB / 0.792 GB, free: 177 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.925e-05/1.72, allocations: 89.58 kB / 0.7921 GB, free: 176.9 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 7.544e-06/1.72, allocations: 0.5 kB / 0.7921 GB, free: 176.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.05405/1.774, allocations: 26.3 MB / 0.8178 GB, free: 165.6 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/1.774, allocations: 135.1 kB / 0.8179 GB, free: 165.5 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008059/1.782, allocations: 5.786 MB / 0.8236 GB, free: 163.3 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009532/1.783, allocations: 108.1 kB / 0.8237 GB, free: 163.2 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002582/1.786, allocations: 6.164 MB / 0.8297 GB, free: 157.9 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001682/1.788, allocations: 1.734 MB / 0.8314 GB, free: 156.4 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002005/1.79, allocations: 1.455 MB / 0.8328 GB, free: 155.1 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.011e-05/1.79, allocations: 308.9 kB / 0.8331 GB, free: 154.8 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004462/1.794, allocations: 3.632 MB / 0.8367 GB, free: 151.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005646/1.8, allocations: 6.475 MB / 0.843 GB, free: 144.6 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/1.81, allocations: 10.76 MB / 0.8535 GB, free: 133.4 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.366e-05/1.811, allocations: 28 kB / 0.8535 GB, free: 133.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01705/1.828, allocations: 12.08 MB / 0.8653 GB, free: 121.4 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.249e-05/1.828, allocations: 46.81 kB / 0.8654 GB, free: 121.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/1.828, allocations: 92 kB / 0.8655 GB, free: 121.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003971/1.832, allocations: 1.598 MB / 0.867 GB, free: 119.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006233/1.838, allocations: 1.665 MB / 0.8686 GB, free: 118 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01959/1.858, allocations: 19.63 MB / 0.8878 GB, free: 97.69 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006244/1.864, allocations: 427.4 kB / 0.8882 GB, free: 97.27 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/1.865, allocations: 368 kB / 0.8886 GB, free: 96.91 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008416/1.873, allocations: 5.199 MB / 0.8936 GB, free: 91.7 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001483/1.875, allocations: 0.5942 MB / 0.8942 GB, free: 91.09 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/1.889, allocations: 9.365 MB / 0.9034 GB, free: 81.63 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008402/1.897, allocations: 5.872 MB / 0.9091 GB, free: 75.72 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.577e-05/1.897, allocations: 20 kB / 0.9091 GB, free: 75.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.742e-05/1.898, allocations: 23.91 kB / 0.9092 GB, free: 75.68 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0326/1.93, allocations: 21.01 MB / 0.9297 GB, free: 54.57 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.047e-05/1.93, allocations: 4 kB / 0.9297 GB, free: 54.56 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003595/1.934, allocations: 0.8666 MB / 0.9305 GB, free: 53.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004328/1.938, allocations: 1.63 MB / 0.9321 GB, free: 52.05 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006447/1.939, allocations: 134.3 kB / 0.9322 GB, free: 51.92 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02094/1.96, allocations: 23.19 MB / 0.9549 GB, free: 27.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.96, allocations: 15.92 kB / 0.9549 GB, free: 27.78 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01886/1.979, allocations: 13.72 MB / 0.9683 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003319/1.982, allocations: 1.356 MB / 0.9696 GB, free: 12.33 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001407/1.983, allocations: 116.3 kB / 0.9697 GB, free: 12.21 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003453/1.987, allocations: 279.7 kB / 0.97 GB, free: 11.94 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001002/1.988, allocations: 416.3 kB / 0.9704 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003341/1.988, allocations: 155.9 kB / 0.9705 GB, free: 11.38 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005906/1.994, allocations: 3.908 MB / 0.9744 GB, free: 7.504 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.4e-07/1.994, allocations: 3.938 kB / 0.9744 GB, free: 7.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009043/2.003, allocations: 2.332 MB / 0.9766 GB, free: 5.168 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/2.004, allocations: 304.5 kB / 0.9769 GB, free: 4.863 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.2671/2.271, allocations: 9.881 MB / 0.9866 GB, free: 195.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/2.271, allocations: 3.906 kB / 0.9866 GB, free: 195.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0088/2.28, allocations: 5.445 MB / 0.9919 GB, free: 194.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008357/2.289, allocations: 1.643 MB / 0.9935 GB, free: 194.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04444/2.333, allocations: 24.64 MB / 1.018 GB, free: 187 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01084/2.344, allocations: 8.855 MB / 1.026 GB, free: 182.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007112/2.351, allocations: 2.543 MB / 1.029 GB, free: 180.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/2.353, allocations: 457.3 kB / 1.029 GB, free: 180.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.032e-06/2.353, allocations: 0 / 1.029 GB, free: 180.2 MB / 0.5763 GB Notification: Performance of Templates: time 0.2046/2.557, allocations: 97.34 MB / 1.124 GB, free: 87.27 MB / 0.5763 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches