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.001991/0.001991, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002869/0.002869, allocations: 202.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.116/2.116, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.88 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7284/0.7298, allocations: 50.54 MB / 410 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.08516/0.815, allocations: 38.9 MB / 448.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04739/0.8625, allocations: 10.33 MB / 459.2 MB, free: 128 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01967/0.8823, allocations: 295.1 kB / 459.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0397/0.9221, allocations: 10.19 MB / 469.7 MB, free: 5.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02915/0.9512, allocations: 4.043 MB / 473.7 MB, free: 1.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01538/0.9666, allocations: 2.422 MB / 476.2 MB, free: 15.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03908/1.006, allocations: 16.52 MB / 492.7 MB, free: 14.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05632/1.062, allocations: 31.2 MB / 0.5116 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01622/1.078, allocations: 8.517 MB / 0.5199 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01664/1.095, allocations: 9.496 MB / 0.5292 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007406/1.103, allocations: 2.418 MB / 0.5315 GB, free: 10.63 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009794/1.112, allocations: 2.832 MB / 0.5343 GB, free: 7.797 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008609/1.121, allocations: 4.812 MB / 0.539 GB, free: 2.973 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.5638/1.685, allocations: 9.205 MB / 0.548 GB, free: 48.12 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04259/1.728, allocations: 32.15 MB / 0.5794 GB, free: 40.74 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/1.728, allocations: 3.562 kB / 0.5794 GB, free: 40.74 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.739e-06/1.728, allocations: 5.812 kB / 0.5794 GB, free: 40.74 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001529/1.729, allocations: 5.219 kB / 0.5794 GB, free: 40.74 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.07222/1.801, allocations: 18.71 MB / 0.5977 GB, free: 29.19 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/1.801, allocations: 15.08 kB / 0.5977 GB, free: 29.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04749/1.849, allocations: 8.34 MB / 0.6058 GB, free: 25.42 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02922/1.878, allocations: 10.24 MB / 0.6158 GB, free: 16.17 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001564/1.88, allocations: 1.066 MB / 0.6169 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008541/1.888, allocations: 1.392 MB / 0.6182 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06824/1.957, allocations: 22.75 MB / 0.6405 GB, free: 6.941 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001096/1.958, allocations: 19.81 kB / 0.6405 GB, free: 6.922 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0121/1.97, allocations: 0.5779 MB / 0.641 GB, free: 6.359 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002335/1.972, allocations: 0.7793 MB / 0.6418 GB, free: 5.578 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1026/2.075, allocations: 21.01 MB / 0.6623 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2331/2.308, allocations: 72.65 MB / 0.7333 GB, free: 7.469 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5128/2.821, allocations: 42.7 MB / 0.775 GB, free: 179.3 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01921/2.84, allocations: 5.198 MB / 0.7801 GB, free: 179.2 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05468/2.895, allocations: 12.97 MB / 0.7927 GB, free: 176.7 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/2.895, allocations: 88.2 kB / 0.7928 GB, free: 176.6 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 1.321e-05/2.895, allocations: 0 / 0.7928 GB, free: 176.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.1183/3.014, allocations: 26.29 MB / 0.8185 GB, free: 165.3 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.361e-05/3.014, allocations: 135.8 kB / 0.8186 GB, free: 165.2 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02157/3.035, allocations: 5.791 MB / 0.8243 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001852/3.037, allocations: 108 kB / 0.8244 GB, free: 163 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.007232/3.045, allocations: 6.162 MB / 0.8304 GB, free: 157.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0037/3.048, allocations: 1.73 MB / 0.8321 GB, free: 156.1 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007606/3.056, allocations: 1.461 MB / 0.8335 GB, free: 154.7 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001115/3.056, allocations: 305.1 kB / 0.8338 GB, free: 154.4 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009677/3.066, allocations: 3.63 MB / 0.8373 GB, free: 151.4 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01296/3.079, allocations: 6.474 MB / 0.8437 GB, free: 144.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02269/3.102, allocations: 10.76 MB / 0.8542 GB, free: 133.1 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001609/3.102, allocations: 24 kB / 0.8542 GB, free: 133.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.04058/3.143, allocations: 12.09 MB / 0.866 GB, free: 121.1 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/3.143, allocations: 44 kB / 0.866 GB, free: 121 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002863/3.143, allocations: 92 kB / 0.8661 GB, free: 120.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006223/3.149, allocations: 1.588 MB / 0.8677 GB, free: 119.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01083/3.16, allocations: 1.666 MB / 0.8693 GB, free: 117.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03108/3.191, allocations: 19.62 MB / 0.8885 GB, free: 97.39 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/3.201, allocations: 427.4 kB / 0.8889 GB, free: 96.98 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002099/3.203, allocations: 372 kB / 0.8892 GB, free: 96.61 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.01574/3.219, allocations: 5.191 MB / 0.8943 GB, free: 91.41 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002483/3.222, allocations: 0.5934 MB / 0.8949 GB, free: 90.81 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02416/3.246, allocations: 9.373 MB / 0.904 GB, free: 81.34 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01516/3.261, allocations: 5.88 MB / 0.9098 GB, free: 75.43 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.621e-05/3.261, allocations: 17.31 kB / 0.9098 GB, free: 75.41 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001298/3.261, allocations: 31.64 kB / 0.9098 GB, free: 75.38 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06373/3.325, allocations: 21 MB / 0.9303 GB, free: 54.29 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-05/3.325, allocations: 4 kB / 0.9303 GB, free: 54.29 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005883/3.331, allocations: 0.8665 MB / 0.9312 GB, free: 53.42 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006982/3.338, allocations: 1.637 MB / 0.9328 GB, free: 51.77 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001219/3.339, allocations: 132 kB / 0.9329 GB, free: 51.64 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03094/3.37, allocations: 23.18 MB / 0.9555 GB, free: 27.52 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/3.37, allocations: 11.94 kB / 0.9556 GB, free: 27.51 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01951/3.39, allocations: 13.72 MB / 0.9689 GB, free: 13.43 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003405/3.393, allocations: 1.356 MB / 0.9703 GB, free: 12.05 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001539/3.395, allocations: 112 kB / 0.9704 GB, free: 11.94 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003718/3.399, allocations: 283.7 kB / 0.9707 GB, free: 11.66 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009869/3.4, allocations: 408.3 kB / 0.971 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004758/3.4, allocations: 158.9 kB / 0.9712 GB, free: 11.11 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006828/3.407, allocations: 3.908 MB / 0.975 GB, free: 7.234 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.6e-07/3.407, allocations: 0 / 0.975 GB, free: 7.234 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00901/3.416, allocations: 2.336 MB / 0.9773 GB, free: 4.898 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.001062/3.417, allocations: 318.6 kB / 0.9776 GB, free: 4.586 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.2522/3.669, allocations: 9.877 MB / 0.9872 GB, free: 195.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/3.669, allocations: 3.938 kB / 0.9872 GB, free: 195.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008609/3.678, allocations: 5.439 MB / 0.9926 GB, free: 194.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00824/3.686, allocations: 1.64 MB / 0.9942 GB, free: 194.3 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04165/3.728, allocations: 24.26 MB / 1.018 GB, free: 186.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01781/3.746, allocations: 8.574 MB / 1.026 GB, free: 182.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004006/3.75, allocations: 0.5137 MB / 1.027 GB, free: 181.8 MB / 0.5763 GB Notification: Performance of SimCode: time 2.926e-06/3.75, allocations: 0 / 1.027 GB, free: 181.8 MB / 0.5763 GB Notification: Performance of Templates: time 3.274/7.024, allocations: 0.6713 GB / 1.698 GB, free: 157.2 MB / 0.5919 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/jenkins1/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/jenkins1/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