Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 109.2 kB / 17.17 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 194.9 kB / 18.08 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 52.23 kB / 300.6 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1214, allocations: 49.45 MB / 350.1 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2189/0.3404, allocations: 37.58 MB / 387.7 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02426/0.3647, allocations: 9.914 MB / 397.6 MB, free: 292 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01176/0.3765, allocations: 283.1 kB / 397.9 MB, free: 228 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02501/0.4016, allocations: 9.562 MB / 407.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01699/0.4186, allocations: 3.686 MB / 411.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008071/0.4267, allocations: 2.203 MB / 413.3 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02199/0.4487, allocations: 16.61 MB / 429.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05052/0.4992, allocations: 25.52 MB / 455.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01406/0.5134, allocations: 7.173 MB / 462.6 MB, free: 5.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01612/0.5295, allocations: 8.812 MB / 471.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006673/0.5363, allocations: 1.539 MB / 473 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01082/0.5471, allocations: 1.937 MB / 474.9 MB, free: 9.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008949/0.5561, allocations: 3.895 MB / 478.8 MB, free: 5.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01802/0.5742, allocations: 8.261 MB / 487.1 MB, free: 12.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03178/0.606, allocations: 27.85 MB / 0.5028 GB, free: 1.066 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.606, allocations: 0 / 0.5028 GB, free: 1.066 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6061, allocations: 0 / 0.5028 GB, free: 1.066 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0009883/0.607, allocations: 4 kB / 0.5028 GB, free: 1.062 MB / 414.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.4542/1.061, allocations: 18.73 MB / 0.5211 GB, free: 112.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/1.061, allocations: 9.719 kB / 0.5211 GB, free: 112.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0498/1.111, allocations: 8.254 MB / 0.5292 GB, free: 110.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02422/1.135, allocations: 9.872 MB / 0.5388 GB, free: 105.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001719/1.137, allocations: 1.064 MB / 0.5399 GB, free: 104.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006815/1.144, allocations: 1.4 MB / 0.5412 GB, free: 104.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06169/1.206, allocations: 22.77 MB / 0.5635 GB, free: 85.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007626/1.207, allocations: 23.75 kB / 0.5635 GB, free: 85.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005828/1.212, allocations: 0.5838 MB / 0.5641 GB, free: 85.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007961/1.213, allocations: 0.7715 MB / 0.5648 GB, free: 84.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04769/1.261, allocations: 21.02 MB / 0.5854 GB, free: 63.42 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1281/1.389, allocations: 72.91 MB / 0.6566 GB, free: 5.387 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03999/1.429, allocations: 42.45 MB / 0.698 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01057/1.44, allocations: 5.238 MB / 0.7031 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2561/1.696, allocations: 12.81 MB / 0.7156 GB, free: 158.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/1.696, allocations: 91.16 kB / 0.7157 GB, free: 158.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=504): time 6.402e-06/1.696, allocations: 0 / 0.7157 GB, free: 158.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=512): time 0.05641/1.752, allocations: 26.68 MB / 0.7418 GB, free: 147.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/1.752, allocations: 128.2 kB / 0.7419 GB, free: 147.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008164/1.761, allocations: 5.751 MB / 0.7475 GB, free: 145 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001086/1.762, allocations: 112 kB / 0.7476 GB, free: 144.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003109/1.765, allocations: 6.151 MB / 0.7536 GB, free: 140.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001992/1.767, allocations: 1.749 MB / 0.7553 GB, free: 139 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002246/1.769, allocations: 1.468 MB / 0.7568 GB, free: 138.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.362e-05/1.769, allocations: 308.8 kB / 0.7571 GB, free: 138 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004942/1.774, allocations: 3.662 MB / 0.7606 GB, free: 136.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006129/1.78, allocations: 6.515 MB / 0.767 GB, free: 128.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/1.792, allocations: 10.85 MB / 0.7776 GB, free: 116.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.989e-05/1.792, allocations: 27.69 kB / 0.7776 GB, free: 116.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.02132/1.813, allocations: 12.17 MB / 0.7895 GB, free: 104.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002216/1.814, allocations: 47.94 kB / 0.7895 GB, free: 104.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002414/1.814, allocations: 95.94 kB / 0.7896 GB, free: 104.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004485/1.818, allocations: 1.583 MB / 0.7912 GB, free: 102.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006433/1.825, allocations: 1.673 MB / 0.7928 GB, free: 100.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02034/1.845, allocations: 18.21 MB / 0.8106 GB, free: 82.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006765/1.852, allocations: 431.3 kB / 0.811 GB, free: 81.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00166/1.854, allocations: 372 kB / 0.8114 GB, free: 81.27 MB / 494.1 MB 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 (868): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,53.5%), (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.01004/1.864, allocations: 5.184 MB / 0.8164 GB, free: 76.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002204/1.866, allocations: 0.602 MB / 0.817 GB, free: 75.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01833/1.884, allocations: 9.43 MB / 0.8262 GB, free: 65.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009859/1.894, allocations: 5.955 MB / 0.832 GB, free: 59.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-05/1.894, allocations: 19.94 kB / 0.8321 GB, free: 59.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001177/1.894, allocations: 35.83 kB / 0.8321 GB, free: 59.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04224/1.937, allocations: 21.13 MB / 0.8527 GB, free: 38.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-05/1.937, allocations: 4 kB / 0.8527 GB, free: 38.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004007/1.941, allocations: 0.866 MB / 0.8536 GB, free: 37.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004655/1.945, allocations: 1.648 MB / 0.8552 GB, free: 36.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001002/1.946, allocations: 128 kB / 0.8553 GB, free: 35.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02157/1.968, allocations: 21.35 MB / 0.8762 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/1.968, allocations: 8.953 kB / 0.8762 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3136/2.282, allocations: 13.84 MB / 0.8897 GB, free: 143.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004799/2.287, allocations: 1.361 MB / 0.891 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002031/2.289, allocations: 111.7 kB / 0.8911 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004285/2.293, allocations: 282.7 kB / 0.8914 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001488/2.294, allocations: 408.5 kB / 0.8918 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004693/2.295, allocations: 155.4 kB / 0.8919 GB, free: 142.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00823/2.303, allocations: 3.886 MB / 0.8957 GB, free: 141.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.41e-07/2.303, allocations: 0 / 0.8957 GB, free: 141.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01205/2.315, allocations: 2.338 MB / 0.898 GB, free: 141.2 MB / 494.1 MB 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 (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,13,100.0%), (1,5,100.0%), (1,8,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.001772/2.317, allocations: 342.3 kB / 0.8983 GB, free: 141 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01833/2.335, allocations: 9.947 MB / 0.908 GB, free: 136.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/2.335, allocations: 3.562 kB / 0.908 GB, free: 136.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01067/2.346, allocations: 5.474 MB / 0.9134 GB, free: 134.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01468/2.361, allocations: 1.534 MB / 0.9149 GB, free: 133.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06169/2.423, allocations: 30.51 MB / 0.9447 GB, free: 112.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01648/2.439, allocations: 8.566 MB / 0.9531 GB, free: 105.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00276/2.442, allocations: 0.5107 MB / 0.9536 GB, free: 105.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.513e-06/2.442, allocations: 0 / 0.9536 GB, free: 105.5 MB / 494.1 MB Notification: Performance of Templates: time 1.823/4.264, allocations: 0.6676 GB / 1.621 GB, free: 154.6 MB / 0.5138 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches