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.001226/0.001226, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001308/0.001308, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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.9211/0.9211, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.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.353e-06/1.353e-06, allocations: 0 / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.357e-05, allocations: 5.125 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.12/0.12, allocations: 36.59 MB / 310 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01597/0.1359, allocations: 10.79 MB / 320.8 MB, free: 1.188 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004015/0.14, allocations: 360.3 kB / 321.2 MB, free: 1.062 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01002/0.15, allocations: 10.86 MB / 332 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007693/0.1577, allocations: 4.274 MB / 336.3 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00351/0.1612, allocations: 2.444 MB / 338.7 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01319/0.1744, allocations: 17.31 MB / 356.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02106/0.1954, allocations: 21.01 MB / 377.1 MB, free: 9.938 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01228/0.2077, allocations: 12.95 MB / 390 MB, free: 12.96 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00907/0.2168, allocations: 9.294 MB / 399.3 MB, free: 3.652 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003009/0.2198, allocations: 2.406 MB / 401.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003466/0.2233, allocations: 2.823 MB / 404.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00268/0.2259, allocations: 4.987 MB / 409.5 MB, free: 9.422 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006377/0.2323, allocations: 6.261 MB / 415.8 MB, free: 3.148 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01308/0.2454, allocations: 15.37 MB / 431.2 MB, free: 3.738 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2454, allocations: 4 kB / 431.2 MB, free: 3.734 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2454, allocations: 0 / 431.2 MB, free: 3.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003344/0.2457, allocations: 0 / 431.2 MB, free: 3.734 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.2143/0.4601, allocations: 17.84 MB / 449 MB, free: 80.97 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.4601, allocations: 12.17 kB / 449 MB, free: 80.96 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02232/0.4824, allocations: 8.566 MB / 457.6 MB, free: 80.64 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009973/0.4924, allocations: 5.521 MB / 463.1 MB, free: 77.45 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003711/0.4928, allocations: 1.06 MB / 464.2 MB, free: 76.76 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001584/0.4943, allocations: 1.401 MB / 465.6 MB, free: 75.38 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01222/0.5066, allocations: 11.54 MB / 477.1 MB, free: 64.52 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002066/0.5068, allocations: 24.11 kB / 477.1 MB, free: 64.5 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009222/0.5077, allocations: 0.5748 MB / 477.7 MB, free: 63.94 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003556/0.508, allocations: 0.7715 MB / 478.5 MB, free: 63.17 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007418/0.5155, allocations: 5.647 MB / 484.1 MB, free: 57.52 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04006/0.5555, allocations: 43.87 MB / 0.5156 GB, free: 15.09 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007392/0.5629, allocations: 8.116 MB / 0.5235 GB, free: 7.156 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/0.5645, allocations: 1.705 MB / 0.5252 GB, free: 5.516 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008371/0.5729, allocations: 6.169 MB / 0.5312 GB, free: 15.59 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/0.573, allocations: 90.61 kB / 0.5313 GB, free: 15.49 MB / 394.8 MB Notification: Performance of pre-optimization done (n=498): time 7.163e-06/0.573, allocations: 0 / 0.5313 GB, free: 15.49 MB / 394.8 MB Notification: Performance of matching and sorting (n=506): time 0.02069/0.5937, allocations: 11.49 MB / 0.5425 GB, free: 4.059 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.5937, allocations: 129.3 kB / 0.5427 GB, free: 3.91 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002686/0.5964, allocations: 3.698 MB / 0.5463 GB, free: 0.9805 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002284/0.5966, allocations: 109.7 kB / 0.5464 GB, free: 0.8672 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002314/0.5989, allocations: 5.702 MB / 0.5519 GB, free: 11.36 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000859/0.5998, allocations: 1.8 MB / 0.5537 GB, free: 9.664 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001588/0.6014, allocations: 1.361 MB / 0.555 GB, free: 8.445 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.273e-05/0.6015, allocations: 307.1 kB / 0.5553 GB, free: 8.145 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.6027, allocations: 1.001 MB / 0.5563 GB, free: 7.141 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002233/0.605, allocations: 3.674 MB / 0.5599 GB, free: 2.391 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004313/0.6093, allocations: 5.435 MB / 0.5652 GB, free: 12.18 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.771e-05/0.6093, allocations: 28 kB / 0.5652 GB, free: 12.15 MB / 426.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.006431/0.6157, allocations: 5.246 MB / 0.5703 GB, free: 7.527 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.6158, allocations: 44 kB / 0.5704 GB, free: 7.484 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.863e-05/0.6158, allocations: 92 kB / 0.5705 GB, free: 7.395 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002386/0.6182, allocations: 1.259 MB / 0.5717 GB, free: 6.137 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/0.621, allocations: 1.515 MB / 0.5732 GB, free: 4.738 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1294/0.7504, allocations: 11.3 MB / 0.5842 GB, free: 99.75 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003528/0.7539, allocations: 280.4 kB / 0.5845 GB, free: 99.75 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005883/0.7545, allocations: 301.8 kB / 0.5848 GB, free: 99.75 MB / 426.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.00256/0.757, allocations: 0.6129 MB / 0.5854 GB, free: 99.64 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009198/0.758, allocations: 0.4986 MB / 0.5859 GB, free: 99.63 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005013/0.763, allocations: 3.885 MB / 0.5896 GB, free: 99.3 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002341/0.7653, allocations: 1.899 MB / 0.5915 GB, free: 99.14 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.528e-05/0.7653, allocations: 19 kB / 0.5915 GB, free: 99.14 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-05/0.7654, allocations: 26.23 kB / 0.5915 GB, free: 99.14 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.7769, allocations: 9.549 MB / 0.6009 GB, free: 98.19 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.7769, allocations: 7.469 kB / 0.6009 GB, free: 98.19 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/0.7785, allocations: 0.7207 MB / 0.6016 GB, free: 98.19 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002347/0.7809, allocations: 1.269 MB / 0.6028 GB, free: 98.1 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002561/0.7811, allocations: 119.8 kB / 0.6029 GB, free: 98.1 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008077/0.7892, allocations: 14.63 MB / 0.6172 GB, free: 89.02 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7892, allocations: 7.938 kB / 0.6172 GB, free: 89.02 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005658/0.7948, allocations: 4.845 MB / 0.622 GB, free: 87.89 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.7961, allocations: 0.7253 MB / 0.6227 GB, free: 87.89 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004994/0.7966, allocations: 106.7 kB / 0.6228 GB, free: 87.89 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.7978, allocations: 153.8 kB / 0.6229 GB, free: 87.89 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000509/0.7983, allocations: 401.8 kB / 0.6233 GB, free: 87.88 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000217/0.7985, allocations: 117.4 kB / 0.6234 GB, free: 87.88 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001335/0.7999, allocations: 1.766 MB / 0.6251 GB, free: 87.74 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.7999, allocations: 0 / 0.6251 GB, free: 87.74 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.004512/0.8044, allocations: 2.335 MB / 0.6274 GB, free: 86.57 MB / 426.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.0004942/0.8049, allocations: 305.6 kB / 0.6277 GB, free: 86.41 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004433/0.8093, allocations: 4.683 MB / 0.6323 GB, free: 82.75 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001137/0.8094, allocations: 79.94 kB / 0.6324 GB, free: 82.66 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002401/0.8118, allocations: 3.006 MB / 0.6353 GB, free: 80.07 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003057/0.8149, allocations: 1.472 MB / 0.6367 GB, free: 78.74 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/0.8348, allocations: 20.51 MB / 0.6568 GB, free: 58.19 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/0.8369, allocations: 2.776 MB / 0.6595 GB, free: 55.38 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002368/0.8393, allocations: 0.9251 MB / 0.6604 GB, free: 54.45 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002125/0.8414, allocations: 1.335 MB / 0.6617 GB, free: 53.09 MB / 426.8 MB Notification: Performance of SimCode: time 1.242e-06/0.8414, allocations: 0 / 0.6617 GB, free: 53.09 MB / 426.8 MB Notification: Performance of Templates: time 0.222/1.063, allocations: 97.2 MB / 0.7566 GB, free: 126.7 MB / 458.8 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 -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.453715880867094]