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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009424/0.0009424, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008545/0.0008545, allocations: 150.6 kB / 24.81 MB, free: 9.277 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.02/1.02, allocations: 173.3 MB / 201.4 MB, free: 9.184 MB / 186.7 MB " [Timeout remaining time 179] 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=10000,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=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 268.4 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.668e-05, allocations: 6.25 kB / 268.5 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1525/0.1525, allocations: 35.96 MB / 304.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01937/0.1719, allocations: 9.926 MB / 314.3 MB, free: 8.207 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006819/0.1787, allocations: 349.8 kB / 314.7 MB, free: 8.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01159/0.1903, allocations: 10.56 MB / 325.2 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.2007, allocations: 4.231 MB / 329.5 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004392/0.2051, allocations: 2.388 MB / 331.9 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01575/0.2209, allocations: 17.09 MB / 349 MB, free: 9.523 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02714/0.248, allocations: 20.38 MB / 369.3 MB, free: 4.926 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01691/0.2649, allocations: 12.9 MB / 382.2 MB, free: 8.008 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01102/0.276, allocations: 9.193 MB / 391.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003582/0.2795, allocations: 2.41 MB / 393.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004811/0.2844, allocations: 2.808 MB / 396.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003098/0.2875, allocations: 4.987 MB / 401.6 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008394/0.2959, allocations: 6.254 MB / 407.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0197/0.3156, allocations: 15.34 MB / 423.2 MB, free: 14.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/0.3156, allocations: 7.922 kB / 423.2 MB, free: 14.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.277e-06/0.3156, allocations: 4 kB / 423.2 MB, free: 14.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007266/0.3163, allocations: 0 / 423.2 MB, free: 14.92 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.2874/0.6037, allocations: 18.84 MB / 442.1 MB, free: 81.93 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.6037, allocations: 10.36 kB / 442.1 MB, free: 81.93 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02383/0.6275, allocations: 8.303 MB / 450.4 MB, free: 81.07 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01478/0.6423, allocations: 9.183 MB / 459.6 MB, free: 79.24 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005568/0.6429, allocations: 1.058 MB / 460.6 MB, free: 78.76 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002123/0.645, allocations: 1.404 MB / 462 MB, free: 78.3 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/0.6594, allocations: 11.23 MB / 473.3 MB, free: 71.54 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002009/0.6596, allocations: 26.38 kB / 473.3 MB, free: 71.52 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008815/0.6605, allocations: 0.5778 MB / 473.9 MB, free: 70.96 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003894/0.6609, allocations: 0.7778 MB / 474.6 MB, free: 70.24 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00713/0.668, allocations: 5.108 MB / 479.8 MB, free: 65.23 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05076/0.7188, allocations: 57.69 MB / 0.5248 GB, free: 9.758 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008524/0.7273, allocations: 10.23 MB / 0.5348 GB, free: 1.605 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002022/0.7293, allocations: 1.936 MB / 0.5367 GB, free: 15.72 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.7404, allocations: 7.814 MB / 0.5444 GB, free: 8.344 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/0.7405, allocations: 92.78 kB / 0.5444 GB, free: 8.246 MB / 394.8 MB Notification: Performance of pre-optimization done (n=498): time 6.973e-06/0.7405, allocations: 0 / 0.5444 GB, free: 8.246 MB / 394.8 MB Notification: Performance of matching and sorting (n=506): time 0.02431/0.7648, allocations: 12.47 MB / 0.5566 GB, free: 11.93 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.7649, allocations: 133.3 kB / 0.5567 GB, free: 11.78 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005209/0.7701, allocations: 4.866 MB / 0.5615 GB, free: 7.668 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002422/0.7703, allocations: 109.7 kB / 0.5616 GB, free: 7.555 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003523/0.7738, allocations: 6.688 MB / 0.5681 GB, free: 1.055 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00123/0.7751, allocations: 1.878 MB / 0.57 GB, free: 15.28 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001698/0.7768, allocations: 1.638 MB / 0.5716 GB, free: 13.78 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7769, allocations: 480.8 kB / 0.572 GB, free: 13.31 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.7784, allocations: 0.8729 MB / 0.5729 GB, free: 12.44 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003438/0.7819, allocations: 5.192 MB / 0.5779 GB, free: 5.672 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1693/0.9512, allocations: 6.793 MB / 0.5846 GB, free: 98.06 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001217/0.9513, allocations: 25.88 kB / 0.5846 GB, free: 98.06 MB / 426.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01118/0.9625, allocations: 6.416 MB / 0.5909 GB, free: 97.79 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.324e-05/0.9626, allocations: 43.34 kB / 0.5909 GB, free: 97.79 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/0.9627, allocations: 93.83 kB / 0.591 GB, free: 97.79 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002943/0.9656, allocations: 1.344 MB / 0.5923 GB, free: 97.69 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003047/0.9687, allocations: 1.527 MB / 0.5938 GB, free: 97.69 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009724/0.9784, allocations: 15 MB / 0.6085 GB, free: 88.35 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00347/0.9819, allocations: 289.1 kB / 0.6087 GB, free: 88.35 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003973/0.9823, allocations: 310.5 kB / 0.609 GB, free: 88.34 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.003001/0.9853, allocations: 0.6573 MB / 0.6097 GB, free: 88.18 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009967/0.9863, allocations: 0.7431 MB / 0.6104 GB, free: 88.16 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005905/0.9922, allocations: 4.668 MB / 0.615 GB, free: 87.7 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003039/0.9952, allocations: 2.429 MB / 0.6173 GB, free: 87.5 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.664e-05/0.9952, allocations: 19.84 kB / 0.6174 GB, free: 87.5 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/0.9953, allocations: 25.73 kB / 0.6174 GB, free: 87.5 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/1.012, allocations: 14.28 MB / 0.6313 GB, free: 86.22 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/1.012, allocations: 7.844 kB / 0.6313 GB, free: 86.22 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/1.014, allocations: 0.7385 MB / 0.6321 GB, free: 86.17 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00262/1.017, allocations: 1.366 MB / 0.6334 GB, free: 85.31 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002436/1.017, allocations: 122.4 kB / 0.6335 GB, free: 85.27 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/1.027, allocations: 19.22 MB / 0.6523 GB, free: 68.99 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.027, allocations: 8 kB / 0.6523 GB, free: 68.98 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007407/1.035, allocations: 5.82 MB / 0.658 GB, free: 63.91 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/1.037, allocations: 1.097 MB / 0.659 GB, free: 62.96 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004305/1.037, allocations: 108.8 kB / 0.6591 GB, free: 62.86 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.038, allocations: 150.8 kB / 0.6593 GB, free: 62.73 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000554/1.039, allocations: 416.4 kB / 0.6597 GB, free: 62.52 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002075/1.039, allocations: 122 kB / 0.6598 GB, free: 62.41 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002262/1.041, allocations: 2.151 MB / 0.6619 GB, free: 60.9 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/1.041, allocations: 0 / 0.6619 GB, free: 60.9 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005841/1.047, allocations: 2.33 MB / 0.6642 GB, free: 58.58 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,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.0004983/1.048, allocations: 336.5 kB / 0.6645 GB, free: 58.31 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.005644/1.053, allocations: 5.492 MB / 0.6699 GB, free: 53.73 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.053, allocations: 8 kB / 0.6699 GB, free: 53.73 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002964/1.056, allocations: 3.639 MB / 0.6734 GB, free: 50.51 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003289/1.06, allocations: 1.46 MB / 0.6748 GB, free: 49.32 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/1.083, allocations: 20.97 MB / 0.6953 GB, free: 28.4 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002512/1.085, allocations: 3.817 MB / 0.699 GB, free: 24.55 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002745/1.088, allocations: 0.9247 MB / 0.6999 GB, free: 23.62 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002271/1.09, allocations: 1.463 MB / 0.7014 GB, free: 22.15 MB / 426.8 MB Notification: Performance of SimCode: time 1.623e-06/1.09, allocations: 0 / 0.7014 GB, free: 22.15 MB / 426.8 MB Notification: Performance of Templates: time 0.2662/1.356, allocations: 95.94 MB / 0.7951 GB, free: 89.14 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.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.0.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.918592768255621]