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.0009957/0.0009957, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001554/0.001554, allocations: 167.5 kB / 24.99 MB, free: 8.367 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.25 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.373e-06/1.373e-06, allocations: 0 / 273.1 MB, free: 1.633 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.187e-05, allocations: 2.312 kB / 273.1 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1384/0.1385, allocations: 38.05 MB / 311.2 MB, free: 8.613 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01724/0.1557, allocations: 10.25 MB / 321.4 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00515/0.1608, allocations: 359.1 kB / 321.8 MB, free: 1.207 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01115/0.172, allocations: 10.88 MB / 332.6 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01256/0.1846, allocations: 4.255 MB / 336.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007395/0.1919, allocations: 2.459 MB / 339.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02346/0.2154, allocations: 17.25 MB / 356.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.028/0.2434, allocations: 20.39 MB / 377 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01501/0.2584, allocations: 12.89 MB / 389.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01042/0.2688, allocations: 9.006 MB / 398.9 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003822/0.2727, allocations: 2.414 MB / 401.3 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004936/0.2776, allocations: 2.827 MB / 404.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00402/0.2816, allocations: 4.999 MB / 409.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01093/0.2925, allocations: 6.261 MB / 415.4 MB, free: 4.117 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01901/0.3116, allocations: 15.39 MB / 430.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3116, allocations: 4 kB / 430.8 MB, free: 4.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3116, allocations: 7.938 kB / 430.8 MB, free: 4.672 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005924/0.3122, allocations: 0 / 430.8 MB, free: 4.672 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.2197/0.5319, allocations: 20.02 MB / 450.8 MB, free: 118.7 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.532, allocations: 7.938 kB / 450.8 MB, free: 118.7 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03147/0.5634, allocations: 10.53 MB / 461.3 MB, free: 109.6 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01273/0.5762, allocations: 9.852 MB / 471.2 MB, free: 100.3 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004292/0.5766, allocations: 1.055 MB / 472.2 MB, free: 99.29 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001986/0.5786, allocations: 1.406 MB / 473.7 MB, free: 97.9 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/0.5974, allocations: 12.3 MB / 486 MB, free: 85.46 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002223/0.5977, allocations: 25.48 kB / 486 MB, free: 85.43 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009432/0.5986, allocations: 0.5739 MB / 486.6 MB, free: 84.87 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003721/0.599, allocations: 0.7832 MB / 487.3 MB, free: 84.09 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01431/0.6133, allocations: 6.643 MB / 494 MB, free: 77.43 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06013/0.6734, allocations: 58.11 MB / 0.5391 GB, free: 18.48 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/0.6855, allocations: 11.62 MB / 0.5505 GB, free: 8.789 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003492/0.689, allocations: 2.264 MB / 0.5527 GB, free: 6.508 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01175/0.7007, allocations: 8.297 MB / 0.5608 GB, free: 14.3 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.552e-05/0.7008, allocations: 89.59 kB / 0.5609 GB, free: 14.21 MB / 394.8 MB Notification: Performance of pre-optimization done (n=498): time 7.063e-06/0.7008, allocations: 0 / 0.5609 GB, free: 14.21 MB / 394.8 MB Notification: Performance of matching and sorting (n=506): time 0.1947/0.8955, allocations: 16.96 MB / 0.5775 GB, free: 107.8 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.8955, allocations: 132.5 kB / 0.5776 GB, free: 107.8 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00701/0.9025, allocations: 4.972 MB / 0.5824 GB, free: 107.4 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006733/0.9032, allocations: 108.6 kB / 0.5825 GB, free: 107.3 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002491/0.9057, allocations: 6.687 MB / 0.5891 GB, free: 105.3 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001298/0.907, allocations: 1.858 MB / 0.5909 GB, free: 104.1 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001554/0.9086, allocations: 1.632 MB / 0.5925 GB, free: 104 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.007e-05/0.9086, allocations: 476.8 kB / 0.5929 GB, free: 103.5 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.9106, allocations: 1.147 MB / 0.5941 GB, free: 103.5 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0031/0.9137, allocations: 5.431 MB / 0.5994 GB, free: 98.34 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00571/0.9194, allocations: 7.254 MB / 0.6064 GB, free: 92.86 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-05/0.9194, allocations: 28.66 kB / 0.6065 GB, free: 92.86 MB / 394.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01/0.9294, allocations: 7.106 MB / 0.6134 GB, free: 91.54 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/0.9295, allocations: 45.97 kB / 0.6134 GB, free: 91.54 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.367e-05/0.9296, allocations: 92.62 kB / 0.6135 GB, free: 91.54 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002912/0.9325, allocations: 1.376 MB / 0.6149 GB, free: 91.4 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003192/0.9357, allocations: 1.671 MB / 0.6165 GB, free: 91.28 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.9462, allocations: 15.56 MB / 0.6317 GB, free: 78.46 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004003/0.9502, allocations: 423.6 kB / 0.6321 GB, free: 78.12 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005565/0.9508, allocations: 379.3 kB / 0.6325 GB, free: 77.76 MB / 394.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.002935/0.9537, allocations: 0.6524 MB / 0.6331 GB, free: 77.1 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/0.9548, allocations: 0.7538 MB / 0.6338 GB, free: 76.34 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006855/0.9616, allocations: 5.155 MB / 0.6389 GB, free: 72.12 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003695/0.9653, allocations: 2.845 MB / 0.6417 GB, free: 69.69 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.947e-05/0.9654, allocations: 16 kB / 0.6417 GB, free: 69.68 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.832e-05/0.9654, allocations: 30.91 kB / 0.6417 GB, free: 69.67 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01947/0.9849, allocations: 14.94 MB / 0.6563 GB, free: 55.56 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.9849, allocations: 8.781 kB / 0.6563 GB, free: 55.55 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/0.9868, allocations: 0.8659 MB / 0.6571 GB, free: 54.68 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002992/0.9898, allocations: 1.433 MB / 0.6585 GB, free: 53.23 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002732/0.99, allocations: 131.9 kB / 0.6587 GB, free: 53.11 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/1.001, allocations: 19.83 MB / 0.678 GB, free: 32.46 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.001, allocations: 15.97 kB / 0.678 GB, free: 32.45 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00888/1.01, allocations: 6.591 MB / 0.6845 GB, free: 25.5 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001994/1.012, allocations: 1.198 MB / 0.6857 GB, free: 24.3 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005819/1.012, allocations: 108 kB / 0.6858 GB, free: 24.2 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/1.014, allocations: 275.7 kB / 0.686 GB, free: 23.93 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006521/1.014, allocations: 440 kB / 0.6864 GB, free: 23.49 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002232/1.015, allocations: 163.9 kB / 0.6866 GB, free: 23.33 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.002651/1.017, allocations: 2.352 MB / 0.6889 GB, free: 21 MB / 394.8 MB Notification: Performance of sort global known variables: time 8e-08/1.017, allocations: 0 / 0.6889 GB, free: 21 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.005402/1.023, allocations: 2.332 MB / 0.6912 GB, free: 18.67 MB / 394.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.0005991/1.023, allocations: 326 kB / 0.6915 GB, free: 18.35 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.007426/1.031, allocations: 6.015 MB / 0.6974 GB, free: 12.22 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.031, allocations: 4 kB / 0.6974 GB, free: 12.21 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003802/1.035, allocations: 3.877 MB / 0.7011 GB, free: 8.203 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004397/1.039, allocations: 1.491 MB / 0.7026 GB, free: 6.773 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02975/1.069, allocations: 21.11 MB / 0.7232 GB, free: 1.418 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1218/1.191, allocations: 3.811 MB / 0.7269 GB, free: 115.6 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005559/1.196, allocations: 2.119 MB / 0.729 GB, free: 115.5 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/1.197, allocations: 467.7 kB / 0.7295 GB, free: 115.4 MB / 410.8 MB Notification: Performance of SimCode: time 1.793e-06/1.197, allocations: 0 / 0.7295 GB, free: 115.4 MB / 410.8 MB Notification: Performance of Templates: time 0.1058/1.303, allocations: 89.02 MB / 0.8164 GB, free: 49.43 MB / 410.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.920515964971855]