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.001111/0.001111, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00171/0.00282, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0011/0.0011, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001489/0.002589, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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 1.029/1.029, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09556/1.124, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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 2.214e-06/2.214e-06, allocations: 0 / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.894e-05, allocations: 9.688 kB / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1868/0.1868, allocations: 36.89 MB / 281.6 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02129/0.2081, allocations: 10.84 MB / 292.5 MB, free: 200 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005241/0.2133, allocations: 356.8 kB / 292.8 MB, free: 76 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01118/0.2245, allocations: 10.84 MB / 303.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.2356, allocations: 4.233 MB / 307.9 MB, free: 8.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004872/0.2405, allocations: 2.434 MB / 310.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01611/0.2566, allocations: 17.37 MB / 327.7 MB, free: 7.855 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02369/0.2803, allocations: 20.44 MB / 348.1 MB, free: 3.125 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01722/0.2975, allocations: 13.46 MB / 361.6 MB, free: 5.598 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01336/0.3108, allocations: 9.263 MB / 370.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006393/0.3172, allocations: 2.414 MB / 373.3 MB, free: 9.902 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007208/0.3244, allocations: 2.839 MB / 376.1 MB, free: 7.062 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003094/0.3275, allocations: 3.991 MB / 380.1 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007769/0.3353, allocations: 5.234 MB / 385.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01486/0.3502, allocations: 14.51 MB / 399.9 MB, free: 15.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.3502, allocations: 7.938 kB / 399.9 MB, free: 15.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3502, allocations: 4 kB / 399.9 MB, free: 15.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004429/0.3506, allocations: 0 / 399.9 MB, free: 15.25 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.0289/0.3795, allocations: 20.85 MB / 420.7 MB, free: 10.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.3795, allocations: 8.031 kB / 420.7 MB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02176/0.4013, allocations: 8.553 MB / 429.3 MB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1595/0.5608, allocations: 5.497 MB / 434.8 MB, free: 91.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009793/0.5618, allocations: 1.06 MB / 435.8 MB, free: 91.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00304/0.5648, allocations: 1.402 MB / 437.2 MB, free: 91.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/0.5841, allocations: 11.54 MB / 448.8 MB, free: 90.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002647/0.5843, allocations: 19.64 kB / 448.8 MB, free: 90.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001195/0.5855, allocations: 0.5766 MB / 449.4 MB, free: 90.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005363/0.5861, allocations: 0.7534 MB / 450.1 MB, free: 90.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.5964, allocations: 5.628 MB / 455.8 MB, free: 90.06 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0476/0.644, allocations: 44.12 MB / 499.9 MB, free: 56.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007418/0.6514, allocations: 8.099 MB / 0.4961 GB, free: 48.78 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/0.653, allocations: 1.715 MB / 0.4977 GB, free: 47.13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/0.6533, allocations: 200 kB / 0.4979 GB, free: 46.94 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/0.6534, allocations: 108.4 kB / 0.498 GB, free: 46.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=662): time 7.765e-06/0.6534, allocations: 0 / 0.498 GB, free: 46.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=670): time 0.02521/0.6786, allocations: 14.16 MB / 0.5119 GB, free: 32.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.6786, allocations: 150.7 kB / 0.512 GB, free: 32.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002841/0.6815, allocations: 3.653 MB / 0.5156 GB, free: 29.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002531/0.6817, allocations: 133.7 kB / 0.5157 GB, free: 29.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.6831, allocations: 5.469 MB / 0.5211 GB, free: 24.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008307/0.6839, allocations: 2.348 MB / 0.5233 GB, free: 22.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/0.6852, allocations: 1.52 MB / 0.5248 GB, free: 20.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.122e-05/0.6852, allocations: 305.1 kB / 0.5251 GB, free: 20.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.6864, allocations: 1.13 MB / 0.5262 GB, free: 19.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.6882, allocations: 3.819 MB / 0.53 GB, free: 14.51 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003914/0.6921, allocations: 6.084 MB / 0.5359 GB, free: 7.648 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.718e-05/0.6921, allocations: 28 kB / 0.5359 GB, free: 7.621 MB / 394.7 MB Notification: Performance of matching and sorting (n=1113) (initialization): time 0.006109/0.6982, allocations: 5.67 MB / 0.5415 GB, free: 2.523 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.6983, allocations: 44 kB / 0.5415 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.29e-05/0.6983, allocations: 92 kB / 0.5416 GB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002457/0.7008, allocations: 1.258 MB / 0.5428 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004387/0.7052, allocations: 2.387 MB / 0.5451 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009328/0.7145, allocations: 11.35 MB / 0.5562 GB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0032/0.7177, allocations: 303.9 kB / 0.5565 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004107/0.7181, allocations: 323.9 kB / 0.5568 GB, free: 2.719 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 415 * 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 (1016): * Single equations (assignments): 1009 * 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.9%), (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.002718/0.7208, allocations: 0.6707 MB / 0.5575 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/0.722, allocations: 0.5776 MB / 0.5581 GB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006353/0.7283, allocations: 4.386 MB / 0.5623 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002898/0.7312, allocations: 2.166 MB / 0.5645 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.136e-05/0.7312, allocations: 20 kB / 0.5645 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.791e-05/0.7313, allocations: 31.88 kB / 0.5645 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1792/0.9105, allocations: 12.58 MB / 0.5768 GB, free: 96.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-05/0.9105, allocations: 8.656 kB / 0.5768 GB, free: 96.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004521/0.9151, allocations: 1.457 MB / 0.5782 GB, free: 96.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002502/0.9176, allocations: 0.8194 MB / 0.579 GB, free: 96.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003079/0.9206, allocations: 1.275 MB / 0.5803 GB, free: 95.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003255/0.921, allocations: 148.6 kB / 0.5804 GB, free: 95.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0103/0.9313, allocations: 14.34 MB / 0.5944 GB, free: 87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.243e-05/0.9313, allocations: 15.59 kB / 0.5944 GB, free: 87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007841/0.9391, allocations: 5.786 MB / 0.6001 GB, free: 85.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009759/0.9401, allocations: 135.9 kB / 0.6002 GB, free: 85.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/0.9418, allocations: 177.7 kB / 0.6004 GB, free: 85.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006635/0.9425, allocations: 0.4929 MB / 0.6009 GB, free: 85.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/0.9427, allocations: 142.4 kB / 0.601 GB, free: 85.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001854/0.9445, allocations: 1.751 MB / 0.6027 GB, free: 85.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.9445, allocations: 3.188 kB / 0.6027 GB, free: 85.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005658/0.9502, allocations: 2.476 MB / 0.6051 GB, free: 85.53 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,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) * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (602): * Single equations (assignments): 594 * 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%), (12,64,53.5%), (1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006501/0.9509, allocations: 347.8 kB / 0.6055 GB, free: 85.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005984/0.9568, allocations: 5.275 MB / 0.6106 GB, free: 84.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000206/0.957, allocations: 148.8 kB / 0.6107 GB, free: 84.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003697/0.9607, allocations: 4.053 MB / 0.6147 GB, free: 83.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005634/0.9664, allocations: 13.38 MB / 0.6278 GB, free: 70.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07948/1.046, allocations: 21.9 MB / 0.6492 GB, free: 59.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0033/1.049, allocations: 2.878 MB / 0.652 GB, free: 57.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0034/1.053, allocations: 1.022 MB / 0.653 GB, free: 56.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002463/1.055, allocations: 1.46 MB / 0.6544 GB, free: 55.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.893e-06/1.055, allocations: 7.828 kB / 0.6544 GB, free: 55.43 MB / 426.7 MB Notification: Performance of Templates: time 0.2641/1.319, allocations: 110.3 MB / 0.7621 GB, free: 136.2 MB / 458.7 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.78255133703351]