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.001243/0.001243, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001431/0.001431, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 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 1.498/1.498, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00187/0.00187, allocations: 67.88 kB / 374.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1089, allocations: 53.32 MB / 427.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.269/0.3779, allocations: 39.08 MB / 467 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02686/0.4047, allocations: 10.35 MB / 477.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01104/0.4158, allocations: 297.8 kB / 477.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02704/0.4428, allocations: 10.32 MB / 487.9 MB, free: 2.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01947/0.4623, allocations: 4.132 MB / 492 MB, free: 15.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01086/0.4732, allocations: 2.426 MB / 494.5 MB, free: 13.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02841/0.5016, allocations: 16.55 MB / 0.499 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04251/0.5441, allocations: 23.67 MB / 0.5222 GB, free: 5.793 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01812/0.5622, allocations: 8.525 MB / 0.5305 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01849/0.5807, allocations: 9.589 MB / 0.5398 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009544/0.5902, allocations: 2.418 MB / 0.5422 GB, free: 1.207 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01144/0.6017, allocations: 2.835 MB / 0.545 GB, free: 14.37 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008941/0.6106, allocations: 4.824 MB / 0.5497 GB, free: 9.535 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01995/0.6306, allocations: 9.218 MB / 0.5587 GB, free: 288 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04813/0.6787, allocations: 32.24 MB / 0.5902 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.6787, allocations: 3.984 kB / 0.5902 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.575e-06/0.6787, allocations: 0 / 0.5902 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0009914/0.6797, allocations: 0 / 0.5902 GB, free: 15.94 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.06819/0.7479, allocations: 19.06 MB / 0.6088 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.7479, allocations: 8.031 kB / 0.6088 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04888/0.7968, allocations: 8.29 MB / 0.6169 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5367/1.333, allocations: 10.28 MB / 0.6269 GB, free: 140 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001405/1.335, allocations: 1.059 MB / 0.628 GB, free: 139.5 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006432/1.341, allocations: 1.396 MB / 0.6293 GB, free: 139.1 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07316/1.414, allocations: 22.79 MB / 0.6516 GB, free: 130 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000993/1.415, allocations: 23.53 kB / 0.6516 GB, free: 130 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006361/1.422, allocations: 0.5762 MB / 0.6522 GB, free: 129.6 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001296/1.423, allocations: 0.7786 MB / 0.6529 GB, free: 129.5 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04763/1.471, allocations: 21.06 MB / 0.6735 GB, free: 116.4 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1222/1.593, allocations: 72.87 MB / 0.7447 GB, free: 43.29 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02832/1.621, allocations: 42.11 MB / 0.7858 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01153/1.633, allocations: 4.744 MB / 0.7904 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03349/1.666, allocations: 13.04 MB / 0.8032 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/1.666, allocations: 94.64 kB / 0.8032 GB, free: 10.46 MB / 0.545 GB Notification: Performance of pre-optimization done (n=498): time 8.776e-06/1.666, allocations: 0 / 0.8032 GB, free: 10.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=506): time 0.06869/1.735, allocations: 26.61 MB / 0.8292 GB, free: 15.86 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/1.735, allocations: 141.3 kB / 0.8294 GB, free: 15.7 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01179/1.747, allocations: 5.793 MB / 0.835 GB, free: 9.934 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001255/1.748, allocations: 105.7 kB / 0.8351 GB, free: 9.824 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.006706/1.755, allocations: 6.368 MB / 0.8413 GB, free: 3.441 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.003242/1.758, allocations: 1.819 MB / 0.8431 GB, free: 1.645 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003393/1.762, allocations: 1.481 MB / 0.8446 GB, free: 160 kB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.2791/2.041, allocations: 304.9 kB / 0.8449 GB, free: 185.5 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007472/2.048, allocations: 3.63 MB / 0.8484 GB, free: 185.5 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008923/2.057, allocations: 6.481 MB / 0.8547 GB, free: 181.7 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01489/2.072, allocations: 10.8 MB / 0.8653 GB, free: 174.5 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001659/2.072, allocations: 26.97 kB / 0.8653 GB, free: 174.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.0222/2.094, allocations: 12.1 MB / 0.8771 GB, free: 169.8 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/2.094, allocations: 44.62 kB / 0.8772 GB, free: 169.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002037/2.095, allocations: 92.78 kB / 0.8772 GB, free: 169.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004425/2.099, allocations: 1.581 MB / 0.8788 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006478/2.106, allocations: 1.678 MB / 0.8804 GB, free: 169.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02015/2.126, allocations: 19.64 MB / 0.8996 GB, free: 156.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006283/2.132, allocations: 422.3 kB / 0.9 GB, free: 156.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00139/2.133, allocations: 372 kB / 0.9004 GB, free: 156.1 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.008749/2.142, allocations: 5.195 MB / 0.9054 GB, free: 153.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/2.144, allocations: 0.6356 MB / 0.9061 GB, free: 153.6 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01462/2.158, allocations: 9.304 MB / 0.9151 GB, free: 149.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008108/2.166, allocations: 5.856 MB / 0.9209 GB, free: 145.5 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.928e-05/2.166, allocations: 16 kB / 0.9209 GB, free: 145.5 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.227e-05/2.166, allocations: 32.83 kB / 0.9209 GB, free: 145.5 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03443/2.201, allocations: 21 MB / 0.9414 GB, free: 126.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/2.201, allocations: 12.81 kB / 0.9414 GB, free: 126.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003389/2.204, allocations: 0.8737 MB / 0.9423 GB, free: 126.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003972/2.208, allocations: 1.644 MB / 0.9439 GB, free: 124.4 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004726/2.209, allocations: 134.5 kB / 0.944 GB, free: 124.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02077/2.229, allocations: 23.2 MB / 0.9667 GB, free: 100.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/2.23, allocations: 11.88 kB / 0.9667 GB, free: 100.4 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/2.247, allocations: 13.73 MB / 0.9801 GB, free: 86.57 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003663/2.251, allocations: 1.397 MB / 0.9815 GB, free: 85.15 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/2.252, allocations: 104 kB / 0.9816 GB, free: 85.05 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002959/2.255, allocations: 279.7 kB / 0.9818 GB, free: 84.78 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008509/2.256, allocations: 420.3 kB / 0.9822 GB, free: 84.36 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002998/2.256, allocations: 160 kB / 0.9824 GB, free: 84.21 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005638/2.262, allocations: 3.904 MB / 0.9862 GB, free: 80.33 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1e-07/2.262, allocations: 0 / 0.9862 GB, free: 80.33 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009775/2.272, allocations: 2.335 MB / 0.9885 GB, free: 78 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.00108/2.273, allocations: 314.4 kB / 0.9888 GB, free: 77.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01424/2.287, allocations: 9.541 MB / 0.9981 GB, free: 68.07 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/2.287, allocations: 0 / 0.9981 GB, free: 68.07 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00724/2.294, allocations: 5.149 MB / 1.003 GB, free: 62.84 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008003/2.302, allocations: 1.639 MB / 1.005 GB, free: 61.25 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04129/2.344, allocations: 24.52 MB / 1.029 GB, free: 36.61 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01159/2.355, allocations: 8.576 MB / 1.037 GB, free: 28 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003239/2.358, allocations: 0.5423 MB / 1.038 GB, free: 27.45 MB / 0.5763 GB Notification: Performance of SimCode: time 1.804e-06/2.358, allocations: 0 / 1.038 GB, free: 27.45 MB / 0.5763 GB Notification: Performance of Templates: time 1.465/3.823, allocations: 0.6725 GB / 1.71 GB, free: 34.88 MB / 0.6075 GB " [Timeout remaining time 656] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 28.584630213998025]