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.0009131/0.0009131, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001398/0.001398, allocations: 170.4 kB / 24.91 MB, free: 8.723 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 0.8837/0.8837, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.222e-06/1.222e-06, allocations: 0 / 273.5 MB, free: 4.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019e-05/1.141e-05, allocations: 6.312 kB / 273.5 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.025/0.02501, allocations: 36.58 MB / 310.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0183/0.0433, allocations: 10.77 MB / 320.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005094/0.0484, allocations: 358.1 kB / 321.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.05878, allocations: 10.89 MB / 332.1 MB, free: 9.562 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006844/0.06563, allocations: 4.263 MB / 336.4 MB, free: 5.273 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00331/0.06894, allocations: 2.454 MB / 338.8 MB, free: 2.816 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.1171/0.186, allocations: 17.29 MB / 356.1 MB, free: 16.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01885/0.2048, allocations: 21.01 MB / 377.1 MB, free: 8.504 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01006/0.2149, allocations: 13.02 MB / 390.1 MB, free: 0 / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00821/0.2231, allocations: 9.292 MB / 399.4 MB, free: 8.062 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002765/0.2259, allocations: 2.41 MB / 401.8 MB, free: 5.652 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/0.2289, allocations: 2.816 MB / 404.6 MB, free: 2.895 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002597/0.2315, allocations: 4.999 MB / 409.6 MB, free: 14.19 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00521/0.2367, allocations: 6.253 MB / 415.9 MB, free: 8.211 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01234/0.2491, allocations: 15.37 MB / 431.3 MB, free: 9.848 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2491, allocations: 0 / 431.3 MB, free: 9.848 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2491, allocations: 0 / 431.3 MB, free: 9.848 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002651/0.2494, allocations: 2.688 kB / 431.3 MB, free: 9.848 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.02283/0.2722, allocations: 17.85 MB / 449.1 MB, free: 8.902 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2722, allocations: 12.03 kB / 449.1 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02193/0.2942, allocations: 8.566 MB / 457.7 MB, free: 0.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008543/0.3027, allocations: 5.498 MB / 463.2 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005303/0.3032, allocations: 1.065 MB / 464.3 MB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001809/0.305, allocations: 1.402 MB / 465.7 MB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/0.3183, allocations: 11.53 MB / 477.2 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000212/0.3185, allocations: 19.42 kB / 477.2 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000988/0.3195, allocations: 0.5771 MB / 477.8 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004822/0.32, allocations: 0.7827 MB / 478.6 MB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008406/0.3284, allocations: 5.629 MB / 484.2 MB, free: 6.969 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2495/0.5779, allocations: 43.87 MB / 0.5157 GB, free: 68.4 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007878/0.5858, allocations: 8.115 MB / 0.5236 GB, free: 67.64 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.5874, allocations: 1.705 MB / 0.5253 GB, free: 67.57 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008004/0.5954, allocations: 6.161 MB / 0.5313 GB, free: 66.71 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.5955, allocations: 90.3 kB / 0.5314 GB, free: 66.67 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 6.102e-06/0.5955, allocations: 0 / 0.5314 GB, free: 66.67 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.01873/0.6142, allocations: 11.49 MB / 0.5426 GB, free: 62.13 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.6143, allocations: 129.3 kB / 0.5427 GB, free: 61.98 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.6166, allocations: 3.697 MB / 0.5463 GB, free: 59.9 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.6169, allocations: 108.1 kB / 0.5465 GB, free: 59.85 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001296/0.6182, allocations: 5.703 MB / 0.552 GB, free: 55.62 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005968/0.6188, allocations: 1.792 MB / 0.5538 GB, free: 54.12 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/0.6199, allocations: 1.37 MB / 0.5551 GB, free: 52.91 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.255e-05/0.62, allocations: 301.1 kB / 0.5554 GB, free: 52.62 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.6211, allocations: 1.005 MB / 0.5564 GB, free: 51.61 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.6227, allocations: 3.673 MB / 0.56 GB, free: 46.86 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00321/0.6259, allocations: 5.429 MB / 0.5653 GB, free: 40.68 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.616e-05/0.6259, allocations: 28 kB / 0.5653 GB, free: 40.65 MB / 410.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.005399/0.6313, allocations: 5.25 MB / 0.5704 GB, free: 36.02 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.6313, allocations: 48.5 kB / 0.5705 GB, free: 35.98 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.755e-05/0.6314, allocations: 95.98 kB / 0.5706 GB, free: 35.88 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002253/0.6336, allocations: 1.241 MB / 0.5718 GB, free: 34.64 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002653/0.6363, allocations: 1.516 MB / 0.5732 GB, free: 33.25 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007006/0.6433, allocations: 11.31 MB / 0.5843 GB, free: 21.73 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.6455, allocations: 283.9 kB / 0.5846 GB, free: 21.45 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003138/0.6458, allocations: 299.9 kB / 0.5849 GB, free: 21.16 MB / 410.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.002098/0.6479, allocations: 0.6101 MB / 0.5854 GB, free: 20.66 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006409/0.6486, allocations: 0.4994 MB / 0.5859 GB, free: 20.16 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004528/0.6531, allocations: 3.889 MB / 0.5897 GB, free: 16.32 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002231/0.6553, allocations: 1.887 MB / 0.5916 GB, free: 14.46 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.6553, allocations: 22.52 kB / 0.5916 GB, free: 14.44 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/0.6554, allocations: 27.89 kB / 0.5916 GB, free: 14.41 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.6661, allocations: 9.55 MB / 0.601 GB, free: 6.367 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.6661, allocations: 8 kB / 0.601 GB, free: 6.359 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/0.6678, allocations: 0.7212 MB / 0.6017 GB, free: 5.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002325/0.6701, allocations: 1.276 MB / 0.6029 GB, free: 4.414 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002094/0.6703, allocations: 116 kB / 0.603 GB, free: 4.301 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009809/0.6801, allocations: 14.61 MB / 0.6173 GB, free: 5.332 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.6801, allocations: 16.03 kB / 0.6173 GB, free: 5.316 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006385/0.6865, allocations: 4.84 MB / 0.622 GB, free: 360 kB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/0.6879, allocations: 0.7338 MB / 0.6227 GB, free: 15.61 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004887/0.6884, allocations: 106.7 kB / 0.6228 GB, free: 15.51 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.6896, allocations: 155.7 kB / 0.623 GB, free: 15.36 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005669/0.6902, allocations: 406.9 kB / 0.6234 GB, free: 14.97 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002289/0.6904, allocations: 108 kB / 0.6235 GB, free: 14.86 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.001607/0.692, allocations: 1.769 MB / 0.6252 GB, free: 13.33 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.01e-07/0.692, allocations: 0 / 0.6252 GB, free: 13.33 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.005228/0.6972, allocations: 2.332 MB / 0.6275 GB, free: 11 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.0005176/0.6977, allocations: 306.3 kB / 0.6278 GB, free: 10.74 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.005101/0.7029, allocations: 4.681 MB / 0.6324 GB, free: 6.359 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001235/0.703, allocations: 79.94 kB / 0.6324 GB, free: 6.273 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002904/0.7059, allocations: 3.004 MB / 0.6354 GB, free: 3.332 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0032/0.7091, allocations: 1.481 MB / 0.6368 GB, free: 1.883 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1352/0.8443, allocations: 20.49 MB / 0.6568 GB, free: 101.8 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002232/0.8465, allocations: 2.778 MB / 0.6595 GB, free: 101.4 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002768/0.8493, allocations: 0.9267 MB / 0.6604 GB, free: 101.3 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002229/0.8515, allocations: 1.321 MB / 0.6617 GB, free: 101.2 MB / 442.8 MB Notification: Performance of SimCode: time 1.693e-06/0.8515, allocations: 0 / 0.6617 GB, free: 101.2 MB / 442.8 MB Notification: Performance of Templates: time 0.1095/0.961, allocations: 97.19 MB / 0.7566 GB, free: 26.11 MB / 442.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: 5.515594988130033]