Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.988/0.988, allocations: 177.1 MB / 205.3 MB, free: 5.094 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.1.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=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 273.5 MB, free: 1.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169e-05/1.286e-05, allocations: 5.406 kB / 273.5 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1504/0.1504, allocations: 36.63 MB / 310.2 MB, free: 8.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01956/0.1699, allocations: 10.78 MB / 321 MB, free: 1.047 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005164/0.1751, allocations: 357.9 kB / 321.3 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009899/0.185, allocations: 10.79 MB / 332.1 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006686/0.1917, allocations: 4.244 MB / 336.3 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003443/0.1951, allocations: 2.441 MB / 338.8 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01324/0.2084, allocations: 17.28 MB / 356.1 MB, free: 15.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01953/0.2279, allocations: 21 MB / 377.1 MB, free: 9.977 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01309/0.241, allocations: 12.96 MB / 390 MB, free: 13 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009748/0.2507, allocations: 9.29 MB / 399.3 MB, free: 3.688 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003002/0.2537, allocations: 2.41 MB / 401.7 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003667/0.2574, allocations: 2.843 MB / 404.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002646/0.26, allocations: 4.995 MB / 409.6 MB, free: 9.426 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007385/0.2674, allocations: 6.254 MB / 415.8 MB, free: 3.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01454/0.282, allocations: 15.37 MB / 431.2 MB, free: 3.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.282, allocations: 0 / 431.2 MB, free: 3.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.282, allocations: 0 / 431.2 MB, free: 3.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004159/0.2824, allocations: 0 / 431.2 MB, free: 3.75 MB / 378.7 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.2508/0.5332, allocations: 17.84 MB / 449 MB, free: 81 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.5332, allocations: 9 kB / 449 MB, free: 81 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02389/0.5571, allocations: 8.57 MB / 457.6 MB, free: 80.61 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008079/0.5652, allocations: 5.505 MB / 463.1 MB, free: 77.45 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/0.5656, allocations: 1.065 MB / 464.2 MB, free: 76.84 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00128/0.5669, allocations: 1.397 MB / 465.6 MB, free: 75.46 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/0.5781, allocations: 11.54 MB / 477.1 MB, free: 64.57 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001956/0.5783, allocations: 19.03 kB / 477.1 MB, free: 64.56 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008987/0.5792, allocations: 0.5778 MB / 477.7 MB, free: 64 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000349/0.5796, allocations: 0.7839 MB / 478.5 MB, free: 63.21 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006909/0.5865, allocations: 5.633 MB / 484.1 MB, free: 57.57 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03578/0.6223, allocations: 43.88 MB / 0.5156 GB, free: 15.13 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007092/0.6293, allocations: 8.102 MB / 0.5235 GB, free: 7.23 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.6309, allocations: 1.711 MB / 0.5252 GB, free: 5.574 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007457/0.6383, allocations: 6.156 MB / 0.5312 GB, free: 15.65 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.6384, allocations: 90.52 kB / 0.5313 GB, free: 15.55 MB / 394.8 MB Notification: Performance of pre-optimization done (n=498): time 6.041e-06/0.6384, allocations: 0 / 0.5313 GB, free: 15.55 MB / 394.8 MB Notification: Performance of matching and sorting (n=506): time 0.02016/0.6586, allocations: 11.49 MB / 0.5425 GB, free: 4.125 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.6586, allocations: 133.3 kB / 0.5427 GB, free: 3.973 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/0.6613, allocations: 3.695 MB / 0.5463 GB, free: 1.043 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002156/0.6615, allocations: 105.7 kB / 0.5464 GB, free: 0.9336 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002176/0.6637, allocations: 5.706 MB / 0.5519 GB, free: 11.42 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000913/0.6646, allocations: 1.798 MB / 0.5537 GB, free: 9.723 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/0.666, allocations: 1.364 MB / 0.555 GB, free: 8.504 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.6661, allocations: 305.1 kB / 0.5553 GB, free: 8.203 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.6673, allocations: 1.001 MB / 0.5563 GB, free: 7.199 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/0.6697, allocations: 3.672 MB / 0.5599 GB, free: 2.449 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00412/0.6738, allocations: 5.432 MB / 0.5652 GB, free: 12.23 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.924e-05/0.6738, allocations: 24 kB / 0.5652 GB, free: 12.21 MB / 426.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.00639/0.6802, allocations: 5.256 MB / 0.5703 GB, free: 7.582 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.455e-05/0.6803, allocations: 51.98 kB / 0.5704 GB, free: 7.531 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.785e-05/0.6803, allocations: 92 kB / 0.5705 GB, free: 7.441 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002518/0.6828, allocations: 1.239 MB / 0.5717 GB, free: 6.207 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003092/0.6859, allocations: 1.655 MB / 0.5733 GB, free: 4.668 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1632/0.8491, allocations: 11.34 MB / 0.5844 GB, free: 99.68 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00402/0.8531, allocations: 283.8 kB / 0.5846 GB, free: 99.68 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006269/0.8538, allocations: 301.7 kB / 0.5849 GB, free: 99.68 MB / 426.8 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 (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.00258/0.8563, allocations: 0.6059 MB / 0.5855 GB, free: 99.57 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008579/0.8572, allocations: 0.4961 MB / 0.586 GB, free: 99.57 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00514/0.8623, allocations: 3.888 MB / 0.5898 GB, free: 99.23 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002427/0.8648, allocations: 1.897 MB / 0.5917 GB, free: 99.07 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.971e-05/0.8648, allocations: 18.5 kB / 0.5917 GB, free: 99.07 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.144e-05/0.8648, allocations: 24.56 kB / 0.5917 GB, free: 99.07 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/0.8765, allocations: 9.553 MB / 0.601 GB, free: 98.12 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.8765, allocations: 7.812 kB / 0.601 GB, free: 98.12 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002134/0.8786, allocations: 1.107 MB / 0.6021 GB, free: 98.1 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002346/0.881, allocations: 1.265 MB / 0.6034 GB, free: 98.01 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002685/0.8812, allocations: 120.5 kB / 0.6035 GB, free: 98.01 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008017/0.8892, allocations: 14.35 MB / 0.6175 GB, free: 88.95 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.8892, allocations: 10.84 kB / 0.6175 GB, free: 88.95 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005514/0.8948, allocations: 4.849 MB / 0.6222 GB, free: 87.82 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.8959, allocations: 0.7317 MB / 0.6229 GB, free: 87.82 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004538/0.8964, allocations: 106.6 kB / 0.623 GB, free: 87.82 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.8975, allocations: 149.2 kB / 0.6232 GB, free: 87.82 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000527/0.8981, allocations: 408.2 kB / 0.6236 GB, free: 87.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/0.8983, allocations: 113.5 kB / 0.6237 GB, free: 87.8 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001262/0.8995, allocations: 1.765 MB / 0.6254 GB, free: 87.67 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.8995, allocations: 2.516 kB / 0.6254 GB, free: 87.67 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00422/0.9037, allocations: 2.333 MB / 0.6277 GB, free: 86.45 MB / 426.8 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 (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.0004317/0.9042, allocations: 297 kB / 0.628 GB, free: 86.3 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004197/0.9084, allocations: 4.684 MB / 0.6325 GB, free: 82.68 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001086/0.9085, allocations: 83.94 kB / 0.6326 GB, free: 82.59 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002389/0.9109, allocations: 3.008 MB / 0.6356 GB, free: 79.99 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/0.9138, allocations: 1.482 MB / 0.637 GB, free: 78.58 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01852/0.9323, allocations: 20.49 MB / 0.657 GB, free: 58.04 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001998/0.9343, allocations: 2.779 MB / 0.6597 GB, free: 55.23 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002158/0.9364, allocations: 0.9352 MB / 0.6606 GB, free: 54.29 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002158/0.9386, allocations: 1.335 MB / 0.6619 GB, free: 52.94 MB / 426.8 MB Notification: Performance of SimCode: time 1.312e-06/0.9386, allocations: 0 / 0.6619 GB, free: 52.94 MB / 426.8 MB Notification: Performance of Templates: time 0.2517/1.19, allocations: 97.46 MB / 0.7571 GB, free: 126.3 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.565395214129239]