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.001378/0.001378, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.001454/0.001454, allocations: 165.7 kB / 24.27 MB, free: 164 kB / 18.57 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.478/1.478, allocations: 177.2 MB / 204.6 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] 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 1.803e-06/1.803e-06, allocations: 0 / 272.4 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.032e-05, allocations: 2.312 kB / 272.4 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1772/0.1772, allocations: 33.44 MB / 305.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02384/0.201, allocations: 10.09 MB / 315.9 MB, free: 4.164 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008533/0.2096, allocations: 355.5 kB / 316.2 MB, free: 4.043 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02375/0.2333, allocations: 10.1 MB / 326.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01645/0.2498, allocations: 4.233 MB / 330.6 MB, free: 7.902 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00873/0.2585, allocations: 2.427 MB / 333 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02893/0.2874, allocations: 17.25 MB / 350.3 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04056/0.328, allocations: 20.37 MB / 370.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03314/0.3611, allocations: 12.78 MB / 383.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01855/0.3797, allocations: 8.139 MB / 391.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.009002/0.3887, allocations: 2.418 MB / 394 MB, free: 8.203 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01429/0.403, allocations: 2.835 MB / 396.8 MB, free: 5.367 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01358/0.4165, allocations: 4.913 MB / 401.7 MB, free: 452 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02706/0.4436, allocations: 6.183 MB / 407.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3975/0.8411, allocations: 32.64 MB / 440.5 MB, free: 54.33 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8411, allocations: 1.125 kB / 440.5 MB, free: 54.33 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.834e-06/0.8411, allocations: 0.5938 kB / 440.5 MB, free: 54.33 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0008679/0.842, allocations: 0.9062 kB / 440.5 MB, free: 54.33 MB / 378.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.06052/0.9025, allocations: 18.83 MB / 459.4 MB, free: 49.4 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.9026, allocations: 11.59 kB / 459.4 MB, free: 49.4 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05388/0.9565, allocations: 10.52 MB / 469.9 MB, free: 46.35 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02259/0.9791, allocations: 10.81 MB / 480.7 MB, free: 41.46 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001132/0.9802, allocations: 1.059 MB / 481.8 MB, free: 40.41 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00659/0.9868, allocations: 1.405 MB / 483.2 MB, free: 39.02 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05973/1.047, allocations: 23.09 MB / 0.4944 GB, free: 15.8 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008208/1.047, allocations: 23.66 kB / 0.4944 GB, free: 15.79 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005697/1.053, allocations: 0.5761 MB / 0.495 GB, free: 15.22 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006755/1.054, allocations: 0.7832 MB / 0.4957 GB, free: 14.44 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04306/1.097, allocations: 20.98 MB / 0.5162 GB, free: 9.453 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1447/1.242, allocations: 64.76 MB / 0.5795 GB, free: 8.617 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1726/1.414, allocations: 13.93 MB / 0.5931 GB, free: 163.3 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007524/1.422, allocations: 4.752 MB / 0.5977 GB, free: 163.2 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02039/1.442, allocations: 11.48 MB / 0.6089 GB, free: 159.2 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.651e-05/1.442, allocations: 89.33 kB / 0.609 GB, free: 159.1 MB / 458.8 MB Notification: Performance of pre-optimization done (n=498): time 8.215e-06/1.442, allocations: 0 / 0.609 GB, free: 159.1 MB / 458.8 MB Notification: Performance of matching and sorting (n=506): time 0.05313/1.495, allocations: 26.03 MB / 0.6344 GB, free: 148.3 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/1.495, allocations: 137.3 kB / 0.6346 GB, free: 148.2 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007147/1.502, allocations: 5.516 MB / 0.6399 GB, free: 143.5 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009364/1.503, allocations: 109.7 kB / 0.64 GB, free: 143.4 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002622/1.506, allocations: 6.352 MB / 0.6463 GB, free: 137.8 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00154/1.508, allocations: 1.797 MB / 0.648 GB, free: 136.1 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002019/1.51, allocations: 1.471 MB / 0.6494 GB, free: 134.8 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 4.431e-05/1.51, allocations: 301.1 kB / 0.6497 GB, free: 134.5 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004537/1.514, allocations: 3.637 MB / 0.6533 GB, free: 131.1 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005199/1.519, allocations: 6.536 MB / 0.6597 GB, free: 123.3 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01164/1.531, allocations: 10.78 MB / 0.6702 GB, free: 111.2 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/1.531, allocations: 32 kB / 0.6702 GB, free: 111.1 MB / 458.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01984/1.551, allocations: 12.35 MB / 0.6823 GB, free: 98.73 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/1.551, allocations: 44 kB / 0.6823 GB, free: 98.69 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001341/1.551, allocations: 92.56 kB / 0.6824 GB, free: 98.6 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005281/1.556, allocations: 1.876 MB / 0.6843 GB, free: 96.71 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006438/1.563, allocations: 1.669 MB / 0.6859 GB, free: 95.04 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02153/1.584, allocations: 18.81 MB / 0.7043 GB, free: 75.73 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006186/1.591, allocations: 431.6 kB / 0.7047 GB, free: 75.31 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001407/1.592, allocations: 375.9 kB / 0.705 GB, free: 74.94 MB / 458.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.00918/1.601, allocations: 5.184 MB / 0.7101 GB, free: 69.74 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002365/1.604, allocations: 0.754 MB / 0.7108 GB, free: 68.98 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/1.62, allocations: 9.134 MB / 0.7197 GB, free: 59.79 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009263/1.63, allocations: 5.856 MB / 0.7255 GB, free: 53.9 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.597e-05/1.63, allocations: 20 kB / 0.7255 GB, free: 53.88 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.193e-05/1.63, allocations: 23.91 kB / 0.7255 GB, free: 53.86 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03422/1.664, allocations: 17.99 MB / 0.7431 GB, free: 35.84 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-05/1.664, allocations: 12.12 kB / 0.7431 GB, free: 35.83 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003809/1.668, allocations: 0.8659 MB / 0.7439 GB, free: 34.96 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006085/1.674, allocations: 1.931 MB / 0.7458 GB, free: 33.02 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009167/1.675, allocations: 131.9 kB / 0.7459 GB, free: 32.89 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02216/1.697, allocations: 22.1 MB / 0.7675 GB, free: 10.11 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.697, allocations: 16.19 kB / 0.7675 GB, free: 10.1 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1793/1.876, allocations: 13.7 MB / 0.7809 GB, free: 144.6 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003622/1.88, allocations: 1.313 MB / 0.7822 GB, free: 144.6 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009677/1.881, allocations: 108.1 kB / 0.7823 GB, free: 144.6 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002839/1.884, allocations: 281.3 kB / 0.7826 GB, free: 144.6 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009805/1.885, allocations: 440.6 kB / 0.783 GB, free: 144.5 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003597/1.885, allocations: 159.3 kB / 0.7831 GB, free: 144.5 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.005015/1.89, allocations: 3.591 MB / 0.7867 GB, free: 144.4 MB / 458.8 MB Notification: Performance of sort global known variables: time 9.1e-08/1.89, allocations: 0 / 0.7867 GB, free: 144.4 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.007715/1.898, allocations: 2.33 MB / 0.7889 GB, free: 144.4 MB / 458.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,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.0007903/1.898, allocations: 332.1 kB / 0.7892 GB, free: 144.3 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0138/1.912, allocations: 9.45 MB / 0.7985 GB, free: 141.3 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/1.912, allocations: 7.781 kB / 0.7985 GB, free: 141.3 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00777/1.92, allocations: 5.151 MB / 0.8035 GB, free: 138.8 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00736/1.927, allocations: 1.485 MB / 0.805 GB, free: 138.3 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0386/1.966, allocations: 25.18 MB / 0.8295 GB, free: 124.5 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01029/1.976, allocations: 8.492 MB / 0.8378 GB, free: 118.1 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.006813/1.983, allocations: 2.486 MB / 0.8403 GB, free: 116.4 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002249/1.985, allocations: 465.1 kB / 0.8407 GB, free: 116 MB / 458.8 MB Notification: Performance of SimCode: time 1.172e-06/1.985, allocations: 4 kB / 0.8407 GB, free: 116 MB / 458.8 MB Notification: Performance of Templates: time 0.1568/2.142, allocations: 89.03 MB / 0.9277 GB, free: 30.64 MB / 458.8 MB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.6846998980036]