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.0008128/0.0008128, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.001936, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006773/0.0006773, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009867/0.001664, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8519/0.8519, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1349/0.9868, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.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.393e-06/1.393e-06, allocations: 0 / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.605e-06/8.998e-06, allocations: 6.312 kB / 239.8 MB, free: 6.336 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02374/0.02375, allocations: 36.28 MB / 276 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01626/0.04001, allocations: 10.57 MB / 286.6 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003833/0.04384, allocations: 354.1 kB / 287 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.05417, allocations: 10.81 MB / 297.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007303/0.06147, allocations: 4.228 MB / 302 MB, free: 7.875 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.06463, allocations: 2.407 MB / 304.4 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01229/0.07692, allocations: 17.17 MB / 321.6 MB, free: 4.242 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2194/0.2964, allocations: 20.42 MB / 342 MB, free: 5.871 MB / 314.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01047/0.3068, allocations: 13.44 MB / 355.4 MB, free: 4.547 MB / 314.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006404/0.3132, allocations: 9.258 MB / 364.7 MB, free: 2.312 MB / 314.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001968/0.3152, allocations: 2.408 MB / 367.1 MB, free: 2.312 MB / 314.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/0.3179, allocations: 2.816 MB / 369.9 MB, free: 1.129 MB / 314.8 MB Notification: Performance of NFScalarize.scalarize: time 0.006371/0.3242, allocations: 4.561 MB / 374.5 MB, free: 14.92 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.004143/0.3284, allocations: 5.229 MB / 379.7 MB, free: 10.21 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.3394, allocations: 14.49 MB / 394.2 MB, free: 12.55 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.3394, allocations: 0 / 394.2 MB, free: 12.55 MB / 346.8 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3394, allocations: 4 kB / 394.2 MB, free: 12.54 MB / 346.8 MB Notification: Performance of Transformations before backend: time 0.0001963/0.3396, allocations: 0 / 394.2 MB, free: 12.54 MB / 346.8 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.0229/0.3625, allocations: 20.79 MB / 415 MB, free: 8.641 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3625, allocations: 12.03 kB / 415 MB, free: 8.629 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02132/0.3838, allocations: 8.598 MB / 423.6 MB, free: 332 kB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00783/0.3916, allocations: 5.453 MB / 429 MB, free: 11.2 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004853/0.3921, allocations: 1.057 MB / 430.1 MB, free: 10.16 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001446/0.3936, allocations: 1.414 MB / 431.5 MB, free: 8.762 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/0.4061, allocations: 11.5 MB / 443 MB, free: 13.74 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002028/0.4063, allocations: 23.02 kB / 443 MB, free: 13.72 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009666/0.4073, allocations: 0.5777 MB / 443.6 MB, free: 13.16 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004675/0.4077, allocations: 0.7442 MB / 444.4 MB, free: 12.41 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008066/0.4158, allocations: 5.607 MB / 450 MB, free: 6.801 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1785/0.5943, allocations: 44.18 MB / 494.1 MB, free: 64.82 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009662/0.604, allocations: 8.056 MB / 0.4904 GB, free: 64.09 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002885/0.6068, allocations: 1.704 MB / 0.4921 GB, free: 64.01 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000537/0.6074, allocations: 171.1 kB / 0.4923 GB, free: 64 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.337e-05/0.6075, allocations: 104.8 kB / 0.4924 GB, free: 63.96 MB / 410.8 MB Notification: Performance of pre-optimization done (n=659): time 8.777e-06/0.6075, allocations: 0 / 0.4924 GB, free: 63.96 MB / 410.8 MB Notification: Performance of matching and sorting (n=667): time 0.02908/0.6366, allocations: 13.27 MB / 0.5053 GB, free: 62.26 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.6366, allocations: 147.8 kB / 0.5055 GB, free: 62.16 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004305/0.6409, allocations: 3.626 MB / 0.509 GB, free: 61.6 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008734/0.6418, allocations: 139.1 kB / 0.5091 GB, free: 61.57 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002061/0.6439, allocations: 5.465 MB / 0.5145 GB, free: 58.21 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001825/0.6457, allocations: 2.342 MB / 0.5167 GB, free: 56.68 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003234/0.6489, allocations: 1.51 MB / 0.5182 GB, free: 56.55 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.856e-05/0.6489, allocations: 301.1 kB / 0.5185 GB, free: 56.26 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/0.6512, allocations: 1.126 MB / 0.5196 GB, free: 56.22 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003128/0.6543, allocations: 3.804 MB / 0.5233 GB, free: 52.77 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005568/0.6599, allocations: 6.039 MB / 0.5292 GB, free: 49.21 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/0.66, allocations: 26.56 kB / 0.5292 GB, free: 49.21 MB / 410.8 MB Notification: Performance of matching and sorting (n=1110) (initialization): time 0.01034/0.6703, allocations: 5.654 MB / 0.5348 GB, free: 48.14 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.898e-05/0.6704, allocations: 44 kB / 0.5348 GB, free: 48.09 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.189e-05/0.6705, allocations: 88 kB / 0.5349 GB, free: 48.01 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002792/0.6733, allocations: 1.275 MB / 0.5361 GB, free: 47.15 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005265/0.6785, allocations: 2.359 MB / 0.5384 GB, free: 45.38 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008561/0.6871, allocations: 11.32 MB / 0.5495 GB, free: 36.21 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004088/0.6912, allocations: 312.5 kB / 0.5498 GB, free: 36.04 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/0.6924, allocations: 317.4 kB / 0.5501 GB, free: 35.8 MB / 410.8 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 (1013): * Single equations (assignments): 1006 * 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.004155/0.6966, allocations: 0.6784 MB / 0.5508 GB, free: 35.48 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/0.6981, allocations: 0.5759 MB / 0.5513 GB, free: 34.99 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008051/0.7062, allocations: 4.4 MB / 0.5556 GB, free: 31.3 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003623/0.7098, allocations: 2.157 MB / 0.5577 GB, free: 29.14 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.24e-05/0.7099, allocations: 20 kB / 0.5578 GB, free: 29.12 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001129/0.71, allocations: 31.88 kB / 0.5578 GB, free: 29.09 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02336/0.7333, allocations: 12.5 MB / 0.57 GB, free: 19.76 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.833e-05/0.7334, allocations: 16 kB / 0.57 GB, free: 19.75 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003575/0.7369, allocations: 1.439 MB / 0.5714 GB, free: 18.55 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002585/0.7395, allocations: 0.8026 MB / 0.5722 GB, free: 17.85 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002889/0.7424, allocations: 1.271 MB / 0.5734 GB, free: 16.64 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008415/0.7432, allocations: 140.5 kB / 0.5736 GB, free: 16.6 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009264/0.7525, allocations: 14.34 MB / 0.5876 GB, free: 3.695 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/0.7525, allocations: 19.58 kB / 0.5876 GB, free: 3.68 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009641/0.7622, allocations: 5.751 MB / 0.5932 GB, free: 14.16 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001381/0.7635, allocations: 136.7 kB / 0.5933 GB, free: 14.12 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002708/0.7663, allocations: 179.3 kB / 0.5935 GB, free: 14.03 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001287/0.7675, allocations: 0.4883 MB / 0.594 GB, free: 13.61 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006468/0.7682, allocations: 136.5 kB / 0.5941 GB, free: 13.52 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002644/0.7708, allocations: 1.734 MB / 0.5958 GB, free: 12.09 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7708, allocations: 0 / 0.5958 GB, free: 12.09 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.009016/0.7798, allocations: 2.473 MB / 0.5982 GB, free: 9.875 MB / 426.8 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 (599): * Single equations (assignments): 591 * 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.001314/0.7812, allocations: 366.9 kB / 0.5986 GB, free: 9.68 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.008727/0.7899, allocations: 5.245 MB / 0.6037 GB, free: 5.148 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0003619/0.7903, allocations: 133.9 kB / 0.6038 GB, free: 5.008 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006438/0.7967, allocations: 4.021 MB / 0.6078 GB, free: 1.652 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01127/0.808, allocations: 13.27 MB / 0.6207 GB, free: 2.422 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2067/1.015, allocations: 22.03 MB / 0.6422 GB, free: 105.9 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006481/1.021, allocations: 2.858 MB / 0.645 GB, free: 105.5 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.004105/1.025, allocations: 1.02 MB / 0.646 GB, free: 105.4 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004566/1.03, allocations: 1.428 MB / 0.6474 GB, free: 105.4 MB / 442.8 MB Notification: Performance of SimCode: time 1.973e-06/1.03, allocations: 2 kB / 0.6474 GB, free: 105.4 MB / 442.8 MB Notification: Performance of Templates: time 0.1279/1.158, allocations: 109 MB / 0.7539 GB, free: 23.77 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.357305757701397]