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.0009056/0.0009056, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.000955/0.000955, allocations: 172.2 kB / 24.82 MB, free: 9.312 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.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.573e-06/1.573e-06, allocations: 0 / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.426e-05, allocations: 9.625 kB / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1338/0.1339, allocations: 36.56 MB / 310 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01619/0.15, allocations: 10.21 MB / 320.2 MB, free: 1.891 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004288/0.1543, allocations: 354.7 kB / 320.6 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01035/0.1647, allocations: 10.56 MB / 331.1 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00841/0.1731, allocations: 4.246 MB / 335.4 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00376/0.1769, allocations: 2.44 MB / 337.8 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01401/0.1909, allocations: 17.27 MB / 355.1 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02307/0.2139, allocations: 20.38 MB / 375.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01369/0.2276, allocations: 12.92 MB / 388.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01098/0.2386, allocations: 9.201 MB / 397.6 MB, free: 5.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004548/0.2432, allocations: 2.41 MB / 400 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004914/0.2481, allocations: 2.831 MB / 402.8 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002813/0.2509, allocations: 4.987 MB / 407.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006722/0.2576, allocations: 6.261 MB / 414.1 MB, free: 5.223 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01495/0.2726, allocations: 15.37 MB / 429.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2726, allocations: 0 / 429.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2726, allocations: 4 kB / 429.5 MB, free: 5.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003851/0.2729, allocations: 0 / 429.5 MB, free: 5.801 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.2525/0.5254, allocations: 18.9 MB / 448.4 MB, free: 80.41 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.5255, allocations: 10.16 kB / 448.4 MB, free: 80.41 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02057/0.5461, allocations: 8.245 MB / 456.6 MB, free: 79.48 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009973/0.556, allocations: 9.237 MB / 465.8 MB, free: 73.32 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004403/0.5565, allocations: 1.061 MB / 466.9 MB, free: 72.27 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/0.558, allocations: 1.401 MB / 468.3 MB, free: 70.89 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01349/0.5715, allocations: 11.29 MB / 479.6 MB, free: 60.19 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001922/0.5717, allocations: 23.64 kB / 479.6 MB, free: 60.17 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008542/0.5726, allocations: 0.5761 MB / 480.2 MB, free: 59.61 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003508/0.5729, allocations: 0.7715 MB / 481 MB, free: 58.83 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006888/0.5798, allocations: 5.164 MB / 486.1 MB, free: 53.66 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05484/0.6346, allocations: 57.36 MB / 0.5308 GB, free: 14.53 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/0.6476, allocations: 10.31 MB / 0.5408 GB, free: 6.305 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003012/0.6506, allocations: 1.954 MB / 0.5427 GB, free: 4.395 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/0.6617, allocations: 7.944 MB / 0.5505 GB, free: 12.87 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.6618, allocations: 93.59 kB / 0.5506 GB, free: 12.77 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 5.58e-06/0.6618, allocations: 0 / 0.5506 GB, free: 12.77 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.02305/0.6848, allocations: 12.54 MB / 0.5628 GB, free: 264 kB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.6849, allocations: 129.3 kB / 0.5629 GB, free: 116 kB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004697/0.6896, allocations: 4.89 MB / 0.5677 GB, free: 11.98 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.6898, allocations: 109.7 kB / 0.5678 GB, free: 11.87 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00313/0.6929, allocations: 6.707 MB / 0.5744 GB, free: 5.355 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001004/0.6939, allocations: 1.879 MB / 0.5762 GB, free: 3.578 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001601/0.6955, allocations: 1.649 MB / 0.5778 GB, free: 2.07 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.6956, allocations: 484.7 kB / 0.5783 GB, free: 1.594 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.697, allocations: 0.8828 MB / 0.5791 GB, free: 0.7109 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1428/0.8398, allocations: 5.191 MB / 0.5842 GB, free: 97.15 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005857/0.8457, allocations: 6.819 MB / 0.5909 GB, free: 92.07 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.959e-05/0.8457, allocations: 30.28 kB / 0.5909 GB, free: 92.07 MB / 426.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.008115/0.8538, allocations: 6.455 MB / 0.5972 GB, free: 91.72 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.8539, allocations: 50.5 kB / 0.5973 GB, free: 91.72 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.518e-05/0.854, allocations: 93.12 kB / 0.5973 GB, free: 91.72 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002557/0.8565, allocations: 1.325 MB / 0.5986 GB, free: 91.59 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00262/0.8591, allocations: 1.539 MB / 0.6001 GB, free: 91.59 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008519/0.8677, allocations: 15 MB / 0.6148 GB, free: 82.27 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/0.8705, allocations: 282.6 kB / 0.6151 GB, free: 82.26 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003302/0.8708, allocations: 320.7 kB / 0.6154 GB, free: 82.26 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.002592/0.8734, allocations: 0.6484 MB / 0.616 GB, free: 82.1 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008303/0.8742, allocations: 0.7517 MB / 0.6167 GB, free: 82.07 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005557/0.8798, allocations: 4.653 MB / 0.6213 GB, free: 81.6 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002877/0.8827, allocations: 2.457 MB / 0.6237 GB, free: 81.39 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.179e-05/0.8827, allocations: 29.94 kB / 0.6237 GB, free: 81.39 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.148e-05/0.8827, allocations: 30.09 kB / 0.6237 GB, free: 81.38 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/0.8988, allocations: 14.34 MB / 0.6377 GB, free: 77.2 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.8988, allocations: 8 kB / 0.6377 GB, free: 77.19 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/0.9004, allocations: 0.7409 MB / 0.6385 GB, free: 76.61 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002472/0.9029, allocations: 1.359 MB / 0.6398 GB, free: 75.75 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002184/0.9031, allocations: 131 kB / 0.6399 GB, free: 75.71 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009189/0.9123, allocations: 19.23 MB / 0.6587 GB, free: 57.77 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.9123, allocations: 11.38 kB / 0.6587 GB, free: 57.77 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007327/0.9196, allocations: 5.864 MB / 0.6644 GB, free: 52.48 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/0.9214, allocations: 1.106 MB / 0.6655 GB, free: 51.53 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004344/0.9218, allocations: 111.1 kB / 0.6656 GB, free: 51.42 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.9231, allocations: 148.8 kB / 0.6658 GB, free: 51.29 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006024/0.9237, allocations: 418.1 kB / 0.6662 GB, free: 51.04 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/0.9239, allocations: 128 kB / 0.6663 GB, free: 50.92 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002033/0.9259, allocations: 2.171 MB / 0.6684 GB, free: 48.98 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.9259, allocations: 0 / 0.6684 GB, free: 48.98 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005826/0.9317, allocations: 2.326 MB / 0.6707 GB, free: 46.66 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.0004788/0.9322, allocations: 318.9 kB / 0.671 GB, free: 46.39 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.005641/0.9378, allocations: 5.521 MB / 0.6764 GB, free: 41.14 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.9378, allocations: 0 / 0.6764 GB, free: 41.14 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002742/0.9406, allocations: 3.655 MB / 0.6799 GB, free: 37.53 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003366/0.944, allocations: 1.492 MB / 0.6814 GB, free: 36.11 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02274/0.9667, allocations: 20.91 MB / 0.7018 GB, free: 15.1 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002454/0.9691, allocations: 3.822 MB / 0.7056 GB, free: 11.24 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002743/0.9719, allocations: 0.9249 MB / 0.7065 GB, free: 10.31 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/0.974, allocations: 1.493 MB / 0.7079 GB, free: 8.816 MB / 426.8 MB Notification: Performance of SimCode: time 1.603e-06/0.974, allocations: 0 / 0.7079 GB, free: 8.816 MB / 426.8 MB Notification: Performance of Templates: time 0.2525/1.227, allocations: 96.91 MB / 0.8026 GB, free: 99.6 MB / 458.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.707870192360133]