Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00127/0.00127, allocations: 116.8 kB / 19.18 MB, free: 3.762 MB / 14.72 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.001382/0.001382, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 230.4 MB / 255.4 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 71.83 kB / 374.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1058, allocations: 53.32 MB / 428.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2723/0.378, allocations: 39.08 MB / 467.2 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02906/0.4071, allocations: 10.34 MB / 477.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01234/0.4194, allocations: 294.1 kB / 477.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02687/0.4463, allocations: 10.32 MB / 488.1 MB, free: 2.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01888/0.4652, allocations: 4.129 MB / 492.3 MB, free: 15.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009267/0.4745, allocations: 2.423 MB / 494.7 MB, free: 13.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02631/0.5008, allocations: 16.53 MB / 0.4992 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04544/0.5462, allocations: 23.68 MB / 0.5224 GB, free: 5.586 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01677/0.563, allocations: 8.521 MB / 0.5307 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0175/0.5805, allocations: 9.581 MB / 0.54 GB, free: 3.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006692/0.5872, allocations: 2.418 MB / 0.5424 GB, free: 1.012 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009196/0.5964, allocations: 2.835 MB / 0.5452 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008048/0.6044, allocations: 4.832 MB / 0.5499 GB, free: 9.332 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01863/0.623, allocations: 9.214 MB / 0.5589 GB, free: 84 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04454/0.6676, allocations: 32.23 MB / 0.5904 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.6676, allocations: 4 kB / 0.5904 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6676, allocations: 0 / 0.5904 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0009748/0.6686, allocations: 0 / 0.5904 GB, free: 15.75 MB / 0.4981 GB 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.0617/0.7303, allocations: 19.07 MB / 0.609 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.7303, allocations: 12.02 kB / 0.609 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04715/0.7775, allocations: 8.279 MB / 0.6171 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4897/1.267, allocations: 10.28 MB / 0.6271 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0016/1.269, allocations: 1.058 MB / 0.6282 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007895/1.277, allocations: 1.394 MB / 0.6295 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07088/1.347, allocations: 22.79 MB / 0.6518 GB, free: 129.8 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001338/1.349, allocations: 23.8 kB / 0.6518 GB, free: 129.8 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007767/1.357, allocations: 0.583 MB / 0.6524 GB, free: 129.3 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001248/1.358, allocations: 0.7768 MB / 0.6531 GB, free: 129.3 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04365/1.401, allocations: 21.07 MB / 0.6737 GB, free: 116.2 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1118/1.513, allocations: 72.86 MB / 0.7449 GB, free: 43.04 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02721/1.541, allocations: 42.12 MB / 0.786 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009648/1.55, allocations: 4.752 MB / 0.7906 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02891/1.579, allocations: 13.04 MB / 0.8034 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.041e-05/1.579, allocations: 82.77 kB / 0.8034 GB, free: 10.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=498): time 6.873e-06/1.579, allocations: 0 / 0.8034 GB, free: 10.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=506): time 0.06646/1.646, allocations: 26.62 MB / 0.8294 GB, free: 15.53 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.646, allocations: 133.3 kB / 0.8296 GB, free: 15.38 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01007/1.656, allocations: 5.789 MB / 0.8352 GB, free: 9.613 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009797/1.657, allocations: 109.7 kB / 0.8353 GB, free: 9.5 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.005449/1.662, allocations: 6.372 MB / 0.8415 GB, free: 3.113 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002495/1.665, allocations: 1.815 MB / 0.8433 GB, free: 1.32 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2307/1.895, allocations: 1.481 MB / 0.8448 GB, free: 185.6 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.899e-05/1.895, allocations: 305.6 kB / 0.8451 GB, free: 185.3 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005699/1.901, allocations: 3.632 MB / 0.8486 GB, free: 185.3 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007116/1.908, allocations: 6.483 MB / 0.8549 GB, free: 181.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01264/1.921, allocations: 10.79 MB / 0.8655 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000131/1.921, allocations: 28.22 kB / 0.8655 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02018/1.941, allocations: 12.1 MB / 0.8773 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-05/1.941, allocations: 45.03 kB / 0.8774 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/1.941, allocations: 95.88 kB / 0.8774 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004192/1.946, allocations: 1.581 MB / 0.879 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005981/1.952, allocations: 1.68 MB / 0.8806 GB, free: 168.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01908/1.971, allocations: 19.64 MB / 0.8998 GB, free: 155.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005907/1.977, allocations: 424.4 kB / 0.9002 GB, free: 155.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/1.978, allocations: 370.4 kB / 0.9006 GB, free: 155.7 MB / 0.5763 GB 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.00771/1.985, allocations: 5.189 MB / 0.9056 GB, free: 153.2 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001355/1.987, allocations: 0.6325 MB / 0.9063 GB, free: 153.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/2.001, allocations: 9.311 MB / 0.9153 GB, free: 149.4 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007871/2.009, allocations: 5.849 MB / 0.9211 GB, free: 145.2 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.577e-05/2.009, allocations: 18.81 kB / 0.9211 GB, free: 145.1 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.659e-05/2.009, allocations: 30.06 kB / 0.9211 GB, free: 145.1 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03177/2.04, allocations: 21.02 MB / 0.9416 GB, free: 126.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/2.04, allocations: 7.938 kB / 0.9416 GB, free: 126.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003637/2.044, allocations: 0.8773 MB / 0.9425 GB, free: 125.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004338/2.048, allocations: 1.637 MB / 0.9441 GB, free: 124 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006474/2.049, allocations: 133.4 kB / 0.9442 GB, free: 123.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02108/2.07, allocations: 23.21 MB / 0.9669 GB, free: 99.96 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/2.07, allocations: 11.94 kB / 0.9669 GB, free: 99.95 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01947/2.09, allocations: 13.72 MB / 0.9803 GB, free: 86.16 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003635/2.093, allocations: 1.4 MB / 0.9817 GB, free: 84.74 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00154/2.095, allocations: 103.9 kB / 0.9818 GB, free: 84.64 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003802/2.099, allocations: 287.7 kB / 0.982 GB, free: 84.36 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001026/2.1, allocations: 412.3 kB / 0.9824 GB, free: 83.95 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000339/2.1, allocations: 159.9 kB / 0.9826 GB, free: 83.8 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005633/2.106, allocations: 3.9 MB / 0.9864 GB, free: 79.93 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.3e-07/2.106, allocations: 0 / 0.9864 GB, free: 79.93 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01046/2.116, allocations: 2.34 MB / 0.9887 GB, free: 77.59 MB / 0.5763 GB 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.001243/2.117, allocations: 320.7 kB / 0.989 GB, free: 77.29 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01439/2.132, allocations: 9.534 MB / 0.9983 GB, free: 67.66 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/2.132, allocations: 0 / 0.9983 GB, free: 67.66 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008072/2.14, allocations: 5.152 MB / 1.003 GB, free: 62.43 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008848/2.149, allocations: 1.639 MB / 1.005 GB, free: 60.83 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04663/2.195, allocations: 24.52 MB / 1.029 GB, free: 36.19 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01376/2.209, allocations: 8.572 MB / 1.037 GB, free: 27.58 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00281/2.212, allocations: 0.5462 MB / 1.038 GB, free: 27.03 MB / 0.5763 GB Notification: Performance of SimCode: time 1.483e-06/2.212, allocations: 0 / 1.038 GB, free: 27.03 MB / 0.5763 GB Notification: Performance of Templates: time 1.381/3.592, allocations: 0.6725 GB / 1.71 GB, free: 34.04 MB / 0.6075 GB " [Timeout remaining time 656] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 26.94085160503164]