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.0009802/0.0009802, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.0009807/0.0009807, allocations: 146.3 kB / 25.6 MB, free: 8.93 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 0.9597/0.9597, allocations: 173.4 MB / 202.2 MB, free: 8.301 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 1.082e-06/1.082e-06, allocations: 0 / 269.2 MB, free: 9.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159e-05/1.267e-05, allocations: 2.312 kB / 269.3 MB, free: 9.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02674/0.02675, allocations: 35.96 MB / 305.2 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01826/0.04501, allocations: 9.934 MB / 315.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00435/0.04936, allocations: 354.1 kB / 315.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01166/0.06101, allocations: 10.54 MB / 326 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009348/0.07036, allocations: 4.244 MB / 330.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004601/0.07496, allocations: 2.389 MB / 332.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.1584/0.2333, allocations: 17.07 MB / 349.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02294/0.2563, allocations: 20.38 MB / 370.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01642/0.2727, allocations: 12.9 MB / 383 MB, free: 8.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01157/0.2843, allocations: 9.19 MB / 392.2 MB, free: 3.426 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005478/0.2897, allocations: 2.41 MB / 394.6 MB, free: 1.016 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005839/0.2956, allocations: 2.858 MB / 397.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003512/0.2991, allocations: 4.988 MB / 402.5 MB, free: 9.688 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009757/0.3088, allocations: 6.254 MB / 408.7 MB, free: 3.711 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01782/0.3267, allocations: 15.34 MB / 424.1 MB, free: 5.398 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3267, allocations: 0 / 424.1 MB, free: 5.398 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3267, allocations: 0.8125 kB / 424.1 MB, free: 5.398 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0008057/0.3275, allocations: 0 / 424.1 MB, free: 5.398 MB / 346.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.03231/0.3598, allocations: 18.85 MB / 442.9 MB, free: 3.328 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3598, allocations: 8.031 kB / 442.9 MB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02329/0.3831, allocations: 8.304 MB / 451.2 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01595/0.3991, allocations: 9.182 MB / 460.4 MB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008626/0.3999, allocations: 1.06 MB / 461.5 MB, free: 1.223 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002919/0.4028, allocations: 1.404 MB / 462.9 MB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02103/0.4239, allocations: 11.23 MB / 474.1 MB, free: 5.066 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000266/0.4241, allocations: 15.03 kB / 474.1 MB, free: 5.055 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001125/0.4253, allocations: 0.579 MB / 474.7 MB, free: 4.492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005429/0.4258, allocations: 0.7793 MB / 475.5 MB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.4365, allocations: 5.121 MB / 480.6 MB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3075/0.744, allocations: 57.67 MB / 0.5257 GB, free: 69.21 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009675/0.7536, allocations: 10.22 MB / 0.5356 GB, free: 68.18 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/0.7556, allocations: 1.939 MB / 0.5375 GB, free: 67.9 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009076/0.7647, allocations: 7.789 MB / 0.5451 GB, free: 63.8 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.05e-05/0.7647, allocations: 87.56 kB / 0.5452 GB, free: 63.72 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 9.207e-06/0.7647, allocations: 0 / 0.5452 GB, free: 63.72 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.0215/0.7862, allocations: 12.47 MB / 0.5574 GB, free: 58.64 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.7863, allocations: 133.1 kB / 0.5575 GB, free: 58.5 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003649/0.7899, allocations: 4.865 MB / 0.5623 GB, free: 54.51 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002212/0.7902, allocations: 109.7 kB / 0.5624 GB, free: 54.39 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002248/0.7924, allocations: 6.693 MB / 0.5689 GB, free: 48.81 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007745/0.7932, allocations: 1.878 MB / 0.5708 GB, free: 47.03 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/0.7946, allocations: 1.635 MB / 0.5723 GB, free: 45.54 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.741e-05/0.7946, allocations: 484.7 kB / 0.5728 GB, free: 45.06 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009957/0.7956, allocations: 0.8733 MB / 0.5737 GB, free: 44.19 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/0.7977, allocations: 5.189 MB / 0.5787 GB, free: 37.42 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003798/0.8015, allocations: 6.804 MB / 0.5854 GB, free: 29.38 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.683e-05/0.8015, allocations: 24 kB / 0.5854 GB, free: 29.36 MB / 410.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.006981/0.8085, allocations: 6.418 MB / 0.5917 GB, free: 23.55 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.8085, allocations: 47.94 kB / 0.5917 GB, free: 23.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-05/0.8086, allocations: 92 kB / 0.5918 GB, free: 23.41 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/0.811, allocations: 1.322 MB / 0.5931 GB, free: 22.09 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/0.8137, allocations: 1.531 MB / 0.5946 GB, free: 20.67 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008394/0.8221, allocations: 15 MB / 0.6092 GB, free: 5.375 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/0.8249, allocations: 291.9 kB / 0.6095 GB, free: 5.09 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003077/0.8252, allocations: 304 kB / 0.6098 GB, free: 4.793 MB / 410.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.002558/0.8278, allocations: 0.6555 MB / 0.6104 GB, free: 4.242 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007939/0.8286, allocations: 0.75 MB / 0.6112 GB, free: 3.488 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005507/0.8341, allocations: 4.654 MB / 0.6157 GB, free: 14.87 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003599/0.8377, allocations: 2.43 MB / 0.6181 GB, free: 12.46 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/0.8377, allocations: 24 kB / 0.6181 GB, free: 12.44 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.218e-05/0.8377, allocations: 27.89 kB / 0.6181 GB, free: 12.41 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01924/0.857, allocations: 14.29 MB / 0.6321 GB, free: 15.59 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.857, allocations: 8.031 kB / 0.6321 GB, free: 15.59 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/0.8588, allocations: 0.7394 MB / 0.6328 GB, free: 14.89 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002925/0.8617, allocations: 1.363 MB / 0.6342 GB, free: 13.53 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000234/0.8619, allocations: 120 kB / 0.6343 GB, free: 13.41 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1657/1.028, allocations: 19.2 MB / 0.653 GB, free: 95.36 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.028, allocations: 10.25 kB / 0.653 GB, free: 95.36 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009401/1.037, allocations: 5.824 MB / 0.6587 GB, free: 94.13 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/1.039, allocations: 1.099 MB / 0.6598 GB, free: 94.13 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005437/1.039, allocations: 102 kB / 0.6599 GB, free: 94.13 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/1.041, allocations: 156.8 kB / 0.66 GB, free: 94.13 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000699/1.042, allocations: 412.3 kB / 0.6604 GB, free: 94.12 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002229/1.042, allocations: 118.8 kB / 0.6605 GB, free: 94.12 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002208/1.044, allocations: 2.158 MB / 0.6626 GB, free: 93.9 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.11e-07/1.044, allocations: 0 / 0.6626 GB, free: 93.9 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.006216/1.05, allocations: 2.337 MB / 0.6649 GB, free: 93.9 MB / 442.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.0005879/1.051, allocations: 330.8 kB / 0.6652 GB, free: 93.81 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.006213/1.057, allocations: 5.498 MB / 0.6706 GB, free: 92.64 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.057, allocations: 2.094 kB / 0.6706 GB, free: 92.64 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003274/1.06, allocations: 3.63 MB / 0.6742 GB, free: 91.27 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0038/1.064, allocations: 1.47 MB / 0.6756 GB, free: 91.15 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02551/1.09, allocations: 20.97 MB / 0.6961 GB, free: 83.23 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00318/1.093, allocations: 3.8 MB / 0.6998 GB, free: 82.85 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003198/1.096, allocations: 0.9238 MB / 0.7007 GB, free: 82.55 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002451/1.098, allocations: 1.46 MB / 0.7021 GB, free: 81.41 MB / 442.8 MB Notification: Performance of SimCode: time 1.373e-06/1.098, allocations: 0 / 0.7021 GB, free: 81.41 MB / 442.8 MB Notification: Performance of Templates: time 0.1227/1.221, allocations: 97.59 MB / 0.7974 GB, free: 7.863 MB / 458.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: 6.113114712759852]