Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001483/0.001483, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.00181/0.00181, allocations: 169.2 kB / 25.33 MB, free: 9.02 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.894/0.894, allocations: 158.6 MB / 187.2 MB, free: 2.938 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 3.938 kB / 251.1 MB, free: 7.469 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.655e-05, allocations: 2.312 kB / 251.1 MB, free: 7.465 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02909/0.02911, allocations: 37.67 MB / 288.8 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02149/0.0506, allocations: 9.986 MB / 298.8 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008555/0.05916, allocations: 302.2 kB / 299.1 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01519/0.07435, allocations: 10.9 MB / 310 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01447/0.08882, allocations: 4.287 MB / 314.2 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007191/0.09601, allocations: 2.448 MB / 316.7 MB, free: 5.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02009/0.1161, allocations: 17.24 MB / 333.9 MB, free: 4.297 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3208/0.4369, allocations: 20.38 MB / 354.3 MB, free: 28.8 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02006/0.457, allocations: 12.98 MB / 367.3 MB, free: 28.8 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01092/0.4679, allocations: 9.112 MB / 376.4 MB, free: 28.8 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003867/0.4717, allocations: 2.425 MB / 378.8 MB, free: 28.8 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004727/0.4765, allocations: 2.825 MB / 381.7 MB, free: 28.8 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00292/0.4794, allocations: 5.061 MB / 386.7 MB, free: 28.8 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.008127/0.4875, allocations: 6.31 MB / 393 MB, free: 26.89 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01482/0.5023, allocations: 15.48 MB / 408.5 MB, free: 18.93 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.5023, allocations: 0 / 408.5 MB, free: 18.93 MB / 330.8 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5023, allocations: 3.75 kB / 408.5 MB, free: 18.93 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0004933/0.5028, allocations: 1.625 kB / 408.5 MB, free: 18.93 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.03239/0.5352, allocations: 20.17 MB / 428.7 MB, free: 14.8 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.5353, allocations: 11.98 kB / 428.7 MB, free: 14.79 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02911/0.5644, allocations: 11.75 MB / 440.4 MB, free: 3.137 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01775/0.5822, allocations: 8.609 MB / 449 MB, free: 10.88 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008754/0.583, allocations: 1.074 MB / 450.1 MB, free: 9.82 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005166/0.5882, allocations: 1.415 MB / 451.5 MB, free: 8.418 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0291/0.6173, allocations: 12.49 MB / 464 MB, free: 11.8 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002455/0.6175, allocations: 23.08 kB / 464 MB, free: 11.78 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001032/0.6186, allocations: 0.5902 MB / 464.6 MB, free: 11.2 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00063/0.6192, allocations: 0.8109 MB / 465.4 MB, free: 10.39 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01698/0.6362, allocations: 6.875 MB / 472.3 MB, free: 3.52 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2406/0.8768, allocations: 59.12 MB / 0.519 GB, free: 68.76 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/0.8907, allocations: 13.78 MB / 0.5325 GB, free: 67.99 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0033/0.894, allocations: 2.323 MB / 0.5347 GB, free: 67.9 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01378/0.9077, allocations: 9.537 MB / 0.544 GB, free: 67.06 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/0.9078, allocations: 93.97 kB / 0.5441 GB, free: 67.01 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 6.582e-06/0.9078, allocations: 0 / 0.5441 GB, free: 67.01 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.03706/0.9449, allocations: 17.48 MB / 0.5612 GB, free: 62.49 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.9449, allocations: 133.3 kB / 0.5613 GB, free: 62.39 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009549/0.9545, allocations: 5.108 MB / 0.5663 GB, free: 61.83 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001021/0.9555, allocations: 111.7 kB / 0.5664 GB, free: 61.8 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003823/0.9593, allocations: 6.818 MB / 0.5731 GB, free: 59.05 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002376/0.9617, allocations: 1.864 MB / 0.5749 GB, free: 57.89 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003637/0.9653, allocations: 1.685 MB / 0.5765 GB, free: 57.75 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.723e-05/0.9654, allocations: 484.7 kB / 0.577 GB, free: 57.28 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003037/0.9684, allocations: 1.166 MB / 0.5781 GB, free: 57.26 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004655/0.9731, allocations: 5.793 MB / 0.5838 GB, free: 50.34 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008884/0.982, allocations: 7.647 MB / 0.5913 GB, free: 42.04 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001353/0.9821, allocations: 28 kB / 0.5913 GB, free: 42.02 MB / 410.8 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01577/0.9979, allocations: 7.328 MB / 0.5984 GB, free: 35.87 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.849e-05/0.998, allocations: 51.94 kB / 0.5985 GB, free: 35.82 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001673/0.9981, allocations: 104 kB / 0.5986 GB, free: 35.72 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003826/1.002, allocations: 1.387 MB / 0.6 GB, free: 34.32 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00413/1.006, allocations: 1.738 MB / 0.6017 GB, free: 32.7 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/1.017, allocations: 15.56 MB / 0.6168 GB, free: 16.65 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00513/1.023, allocations: 435.6 kB / 0.6173 GB, free: 16.23 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001314/1.024, allocations: 392 kB / 0.6176 GB, free: 15.84 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * 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 (904): * Single equations (assignments): 897 * 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,54.2%), (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.004927/1.029, allocations: 0.6819 MB / 0.6183 GB, free: 15.27 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001622/1.03, allocations: 0.754 MB / 0.619 GB, free: 14.52 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007672/1.038, allocations: 5.178 MB / 0.6241 GB, free: 9.348 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00393/1.042, allocations: 2.81 MB / 0.6268 GB, free: 6.547 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.385e-05/1.042, allocations: 20 kB / 0.6269 GB, free: 6.527 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.291e-05/1.042, allocations: 35.89 kB / 0.6269 GB, free: 6.492 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0274/1.07, allocations: 14.94 MB / 0.6415 GB, free: 7.594 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.702e-05/1.07, allocations: 4 kB / 0.6415 GB, free: 7.59 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/1.072, allocations: 0.8618 MB / 0.6423 GB, free: 6.77 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003699/1.076, allocations: 1.409 MB / 0.6437 GB, free: 5.336 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005393/1.076, allocations: 124 kB / 0.6438 GB, free: 5.215 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1998/1.276, allocations: 19.83 MB / 0.6632 GB, free: 74.19 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.276, allocations: 10.88 kB / 0.6632 GB, free: 74.18 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/1.288, allocations: 6.556 MB / 0.6696 GB, free: 72.94 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002988/1.291, allocations: 1.204 MB / 0.6708 GB, free: 72.93 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008954/1.291, allocations: 101.5 kB / 0.6709 GB, free: 72.93 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/1.293, allocations: 288.8 kB / 0.6711 GB, free: 72.93 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008135/1.294, allocations: 432.5 kB / 0.6716 GB, free: 72.92 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002841/1.294, allocations: 156.5 kB / 0.6717 GB, free: 72.92 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.00431/1.299, allocations: 2.392 MB / 0.674 GB, free: 72.7 MB / 426.8 MB Notification: Performance of sort global known variables: time 3.01e-07/1.299, allocations: 2.625 kB / 0.6741 GB, free: 72.7 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.009632/1.308, allocations: 2.365 MB / 0.6764 GB, free: 72.7 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.001148/1.31, allocations: 308.3 kB / 0.6767 GB, free: 72.61 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01072/1.32, allocations: 6.099 MB / 0.6826 GB, free: 71.45 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.32, allocations: 7.125 kB / 0.6826 GB, free: 71.45 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005192/1.325, allocations: 3.882 MB / 0.6864 GB, free: 70.07 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006198/1.332, allocations: 1.484 MB / 0.6879 GB, free: 69.91 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03645/1.368, allocations: 21.51 MB / 0.7089 GB, free: 61.87 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006282/1.374, allocations: 3.846 MB / 0.7126 GB, free: 61.48 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.006399/1.381, allocations: 2.169 MB / 0.7147 GB, free: 61.18 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001879/1.383, allocations: 454.3 kB / 0.7152 GB, free: 61.17 MB / 426.8 MB Notification: Performance of SimCode: time 2.906e-06/1.383, allocations: 2.734 kB / 0.7152 GB, free: 61.17 MB / 426.8 MB Notification: Performance of Templates: time 0.1167/1.499, allocations: 88.56 MB / 0.8017 GB, free: 12.27 MB / 458.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 6.230693980585784]