Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008862/0.0008862, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001317/0.002203, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007738/0.0007738, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001036/0.00181, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9676/0.9676, allocations: 177.4 MB / 189.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08981/1.057, allocations: 53.87 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.019e-05, allocations: 2.312 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1456/0.1457, allocations: 36.9 MB / 281.9 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0233/0.169, allocations: 10.89 MB / 292.8 MB, free: 8 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01007/0.179, allocations: 372 kB / 293.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01473/0.1938, allocations: 10.83 MB / 304 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01466/0.2084, allocations: 4.235 MB / 308.3 MB, free: 8.027 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006554/0.215, allocations: 2.434 MB / 310.7 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01912/0.2341, allocations: 17.37 MB / 328.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0309/0.265, allocations: 20.44 MB / 348.5 MB, free: 2.152 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02093/0.2859, allocations: 13.45 MB / 362 MB, free: 4.633 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01428/0.3002, allocations: 9.267 MB / 371.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006488/0.3067, allocations: 2.41 MB / 373.6 MB, free: 8.938 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008831/0.3155, allocations: 2.847 MB / 376.5 MB, free: 6.09 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00581/0.3213, allocations: 3.987 MB / 380.5 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01426/0.3356, allocations: 5.238 MB / 385.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02335/0.3589, allocations: 14.55 MB / 400.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.636e-05/0.3589, allocations: 0 / 400.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.359, allocations: 7.984 kB / 400.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007563/0.3597, allocations: 0 / 400.3 MB, free: 14.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.03415/0.3939, allocations: 20.86 MB / 421.1 MB, free: 9.242 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3939, allocations: 12.62 kB / 421.1 MB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02917/0.4231, allocations: 8.565 MB / 429.7 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1677/0.5908, allocations: 5.503 MB / 435.2 MB, free: 90.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001493/0.5923, allocations: 1.061 MB / 436.3 MB, free: 90.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005252/0.5975, allocations: 1.404 MB / 437.7 MB, free: 90.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0331/0.6306, allocations: 11.54 MB / 449.2 MB, free: 89.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006936/0.6313, allocations: 22.41 kB / 449.2 MB, free: 89.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004059/0.6354, allocations: 0.578 MB / 449.8 MB, free: 89.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008246/0.6362, allocations: 0.7797 MB / 450.6 MB, free: 89.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01714/0.6533, allocations: 5.629 MB / 456.2 MB, free: 88.87 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06535/0.7187, allocations: 44.11 MB / 0.4886 GB, free: 54.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009436/0.7281, allocations: 8.098 MB / 0.4965 GB, free: 46.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002607/0.7307, allocations: 1.711 MB / 0.4982 GB, free: 44.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01281/0.7435, allocations: 6.176 MB / 0.5042 GB, free: 39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.7436, allocations: 90.77 kB / 0.5043 GB, free: 38.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=498): time 6.783e-06/0.7436, allocations: 0 / 0.5043 GB, free: 38.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=506): time 0.02391/0.7675, allocations: 11.5 MB / 0.5155 GB, free: 27.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.7676, allocations: 133.3 kB / 0.5157 GB, free: 27.31 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004548/0.7721, allocations: 3.7 MB / 0.5193 GB, free: 24.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007968/0.7729, allocations: 109.7 kB / 0.5194 GB, free: 24.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001652/0.7746, allocations: 5.707 MB / 0.525 GB, free: 18.76 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001312/0.7759, allocations: 1.792 MB / 0.5267 GB, free: 17.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001658/0.7775, allocations: 1.366 MB / 0.528 GB, free: 15.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 2.776e-05/0.7775, allocations: 305.1 kB / 0.5283 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.7789, allocations: 1.005 MB / 0.5293 GB, free: 14.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.7808, allocations: 3.674 MB / 0.5329 GB, free: 9.785 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003977/0.7847, allocations: 5.424 MB / 0.5382 GB, free: 3.605 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.669e-05/0.7848, allocations: 28 kB / 0.5382 GB, free: 3.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.00719/0.792, allocations: 5.247 MB / 0.5433 GB, free: 14.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/0.792, allocations: 46.5 kB / 0.5434 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004323/0.7925, allocations: 96.55 kB / 0.5435 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002978/0.7955, allocations: 1.253 MB / 0.5447 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004819/0.8003, allocations: 1.776 MB / 0.5464 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.8108, allocations: 11.36 MB / 0.5575 GB, free: 352 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00429/0.8151, allocations: 283.8 kB / 0.5578 GB, free: 68 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/0.8161, allocations: 299.9 kB / 0.5581 GB, free: 15.77 MB / 426.7 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.004434/0.8205, allocations: 0.6185 MB / 0.5587 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00122/0.8218, allocations: 0.4956 MB / 0.5592 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006337/0.8281, allocations: 3.889 MB / 0.563 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002798/0.8309, allocations: 1.896 MB / 0.5648 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.171e-05/0.8309, allocations: 20 kB / 0.5648 GB, free: 9.039 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.27e-05/0.831, allocations: 23.91 kB / 0.5649 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01945/0.8504, allocations: 9.557 MB / 0.5742 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.8504, allocations: 7.938 kB / 0.5742 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1624/1.013, allocations: 1.178 MB / 0.5754 GB, free: 98.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00436/1.017, allocations: 0.7325 MB / 0.5761 GB, free: 98.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00349/1.021, allocations: 1.26 MB / 0.5773 GB, free: 98.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007502/1.021, allocations: 117.5 kB / 0.5774 GB, free: 98.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/1.033, allocations: 14.38 MB / 0.5915 GB, free: 89.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.5e-05/1.033, allocations: 10.81 kB / 0.5915 GB, free: 89.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007895/1.041, allocations: 4.841 MB / 0.5962 GB, free: 88.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/1.042, allocations: 106.5 kB / 0.5963 GB, free: 88.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/1.043, allocations: 151.6 kB / 0.5964 GB, free: 88.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007279/1.044, allocations: 408.1 kB / 0.5968 GB, free: 88.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002308/1.044, allocations: 110.3 kB / 0.5969 GB, free: 88.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002028/1.046, allocations: 1.771 MB / 0.5987 GB, free: 88.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.046, allocations: 0 / 0.5987 GB, free: 88.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005763/1.052, allocations: 2.329 MB / 0.6009 GB, free: 88.64 MB / 426.7 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,5,100.0%), (1,8,100.0%), (1,13,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.0006248/1.053, allocations: 303.4 kB / 0.6012 GB, free: 88.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005473/1.058, allocations: 4.685 MB / 0.6058 GB, free: 87.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002274/1.058, allocations: 135.2 kB / 0.6059 GB, free: 87.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003386/1.062, allocations: 3.005 MB / 0.6089 GB, free: 86.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004538/1.066, allocations: 1.954 MB / 0.6108 GB, free: 86.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08702/1.153, allocations: 21.45 MB / 0.6317 GB, free: 77.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004839/1.158, allocations: 2.813 MB / 0.6345 GB, free: 75.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003547/1.162, allocations: 0.9254 MB / 0.6354 GB, free: 74.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00245/1.164, allocations: 1.333 MB / 0.6367 GB, free: 73.78 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/1.164, allocations: 0 / 0.6367 GB, free: 73.78 MB / 426.7 MB Notification: Performance of Templates: time 0.1316/1.296, allocations: 101.6 MB / 0.7359 GB, free: 10.93 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.932010451331735]