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.00104/0.00104, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001013/0.001013, allocations: 170.2 kB / 25.61 MB, free: 8.543 MB / 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.003/1.003, allocations: 177.1 MB / 206 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] 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.513e-06/1.513e-06, allocations: 3.938 kB / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.617e-05, allocations: 9.406 kB / 274.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03067/0.03069, allocations: 36.55 MB / 310.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02239/0.05308, allocations: 10.22 MB / 321 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009216/0.0623, allocations: 354.1 kB / 321.4 MB, free: 5.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01638/0.07867, allocations: 10.58 MB / 331.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01532/0.09399, allocations: 4.232 MB / 336.2 MB, free: 6.203 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00691/0.1009, allocations: 2.444 MB / 338.6 MB, free: 3.762 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.1599/0.2608, allocations: 17.26 MB / 355.9 MB, free: 16.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02763/0.2884, allocations: 20.38 MB / 376.2 MB, free: 9.719 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0211/0.3095, allocations: 12.92 MB / 389.2 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01445/0.324, allocations: 9.2 MB / 398.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006372/0.3303, allocations: 2.415 MB / 400.8 MB, free: 7.711 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008671/0.339, allocations: 2.828 MB / 403.6 MB, free: 4.941 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009105/0.3481, allocations: 4.996 MB / 408.6 MB, free: 240 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01372/0.3618, allocations: 6.254 MB / 414.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02262/0.3844, allocations: 15.37 MB / 430.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3845, allocations: 0 / 430.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3845, allocations: 0.8125 kB / 430.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0007131/0.3852, allocations: 0 / 430.2 MB, free: 11.9 MB / 362.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.03624/0.4214, allocations: 18.91 MB / 449.1 MB, free: 9.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4214, allocations: 12.03 kB / 449.1 MB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0355/0.457, allocations: 8.241 MB / 457.4 MB, free: 1.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01947/0.4764, allocations: 9.232 MB / 466.6 MB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009403/0.4774, allocations: 1.066 MB / 467.7 MB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003636/0.481, allocations: 1.401 MB / 469.1 MB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02523/0.5062, allocations: 11.28 MB / 480.4 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003505/0.5066, allocations: 26.53 kB / 480.4 MB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001835/0.5084, allocations: 0.5777 MB / 481 MB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005453/0.509, allocations: 0.7754 MB / 481.7 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01214/0.5211, allocations: 5.168 MB / 486.9 MB, free: 4.945 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3389/0.86, allocations: 57.36 MB / 0.5315 GB, free: 62.02 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01312/0.8731, allocations: 10.31 MB / 0.5416 GB, free: 59.95 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003396/0.8765, allocations: 1.953 MB / 0.5435 GB, free: 59.66 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01157/0.8881, allocations: 7.902 MB / 0.5512 GB, free: 55.53 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.8881, allocations: 86.94 kB / 0.5513 GB, free: 55.45 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 5.961e-06/0.8881, allocations: 0 / 0.5513 GB, free: 55.45 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.02365/0.9118, allocations: 12.54 MB / 0.5635 GB, free: 44.96 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.9118, allocations: 129.3 kB / 0.5637 GB, free: 44.82 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004775/0.9166, allocations: 4.888 MB / 0.5684 GB, free: 40.82 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004959/0.9171, allocations: 109.7 kB / 0.5685 GB, free: 40.71 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003291/0.9204, allocations: 6.714 MB / 0.5751 GB, free: 34.95 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001296/0.9217, allocations: 1.868 MB / 0.5769 GB, free: 33.19 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001516/0.9232, allocations: 1.662 MB / 0.5785 GB, free: 31.67 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.368e-05/0.9232, allocations: 480.8 kB / 0.579 GB, free: 31.2 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.9244, allocations: 0.8733 MB / 0.5799 GB, free: 30.32 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/0.9268, allocations: 5.202 MB / 0.5849 GB, free: 23.55 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004263/0.9311, allocations: 6.815 MB / 0.5916 GB, free: 15.48 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.875e-05/0.9312, allocations: 26.62 kB / 0.5916 GB, free: 15.46 MB / 410.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.007529/0.9387, allocations: 6.459 MB / 0.5979 GB, free: 9.613 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.9387, allocations: 48.06 kB / 0.598 GB, free: 9.566 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-05/0.9388, allocations: 96 kB / 0.5981 GB, free: 9.473 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002549/0.9413, allocations: 1.323 MB / 0.5994 GB, free: 8.152 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002924/0.9443, allocations: 1.544 MB / 0.6009 GB, free: 6.723 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.9546, allocations: 14.99 MB / 0.6155 GB, free: 7.434 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004203/0.9588, allocations: 283.9 kB / 0.6158 GB, free: 7.156 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008287/0.9596, allocations: 311.9 kB / 0.6161 GB, free: 6.852 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.003074/0.9627, allocations: 0.6586 MB / 0.6167 GB, free: 6.297 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/0.9639, allocations: 0.7423 MB / 0.6174 GB, free: 5.551 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006613/0.9705, allocations: 4.664 MB / 0.622 GB, free: 0.918 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003259/0.9738, allocations: 2.456 MB / 0.6244 GB, free: 14.48 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.495e-05/0.9738, allocations: 20 kB / 0.6244 GB, free: 14.46 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.077e-05/0.9739, allocations: 27.38 kB / 0.6244 GB, free: 14.44 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02259/0.9965, allocations: 14.35 MB / 0.6384 GB, free: 1.566 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.9965, allocations: 4 kB / 0.6385 GB, free: 1.562 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/0.9984, allocations: 0.7492 MB / 0.6392 GB, free: 0.8555 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1497/1.148, allocations: 1.35 MB / 0.6405 GB, free: 96.93 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000888/1.149, allocations: 130.8 kB / 0.6406 GB, free: 96.93 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/1.161, allocations: 19.21 MB / 0.6594 GB, free: 83.92 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/1.161, allocations: 11.16 kB / 0.6594 GB, free: 83.92 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008825/1.17, allocations: 5.863 MB / 0.6651 GB, free: 82.67 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00221/1.172, allocations: 1.111 MB / 0.6662 GB, free: 82.5 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007297/1.173, allocations: 105.8 kB / 0.6663 GB, free: 82.5 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/1.175, allocations: 148.8 kB / 0.6665 GB, free: 82.5 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007821/1.175, allocations: 419 kB / 0.6669 GB, free: 82.49 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002418/1.176, allocations: 127.7 kB / 0.667 GB, free: 82.49 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002473/1.178, allocations: 2.166 MB / 0.6691 GB, free: 82.27 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.21e-07/1.178, allocations: 0 / 0.6691 GB, free: 82.27 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.006366/1.185, allocations: 2.332 MB / 0.6714 GB, free: 82.27 MB / 442.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.0007225/1.185, allocations: 322.1 kB / 0.6717 GB, free: 82.18 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.006881/1.192, allocations: 5.524 MB / 0.6771 GB, free: 80.96 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.192, allocations: 1.688 kB / 0.6771 GB, free: 80.96 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003847/1.196, allocations: 3.643 MB / 0.6806 GB, free: 79.55 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005003/1.201, allocations: 1.492 MB / 0.6821 GB, free: 79.4 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02799/1.229, allocations: 20.89 MB / 0.7025 GB, free: 71.38 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005079/1.234, allocations: 3.818 MB / 0.7062 GB, free: 69.8 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.00334/1.237, allocations: 0.9257 MB / 0.7071 GB, free: 69.08 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002344/1.24, allocations: 1.495 MB / 0.7086 GB, free: 67.88 MB / 442.8 MB Notification: Performance of SimCode: time 2.345e-06/1.24, allocations: 0 / 0.7086 GB, free: 67.88 MB / 442.8 MB Notification: Performance of Templates: time 0.1369/1.377, allocations: 98.58 MB / 0.8048 GB, free: 8.332 MB / 474.8 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.64227391872555]