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.001087/0.001087, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001203/0.001203, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 MB, free: 5.621 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.543e-06/1.543e-06, allocations: 0 / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.419e-05, allocations: 2.312 kB / 273 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1496/0.1496, allocations: 38.29 MB / 311.3 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01843/0.168, allocations: 10.26 MB / 321.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007418/0.1754, allocations: 356.8 kB / 321.9 MB, free: 1.062 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01546/0.1909, allocations: 10.91 MB / 332.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01386/0.2048, allocations: 4.266 MB / 337.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007227/0.212, allocations: 2.455 MB / 339.5 MB, free: 164 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01954/0.2315, allocations: 17.27 MB / 356.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03015/0.2617, allocations: 20.38 MB / 377.2 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02154/0.2832, allocations: 12.9 MB / 390.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01434/0.2976, allocations: 9.025 MB / 399.1 MB, free: 4.277 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006196/0.3037, allocations: 2.41 MB / 401.5 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008521/0.3123, allocations: 2.835 MB / 404.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007641/0.3199, allocations: 4.999 MB / 409.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01407/0.334, allocations: 6.269 MB / 415.6 MB, free: 3.738 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02457/0.3585, allocations: 15.4 MB / 431 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.3586, allocations: 0 / 431 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3586, allocations: 0 / 431 MB, free: 4.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007567/0.3593, allocations: 0 / 431 MB, free: 4.297 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.3204/0.6797, allocations: 20.01 MB / 451 MB, free: 79.92 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.6798, allocations: 9.594 kB / 451 MB, free: 79.92 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03182/0.7116, allocations: 10.54 MB / 461.6 MB, free: 78.05 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01779/0.7294, allocations: 9.842 MB / 471.4 MB, free: 69.27 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001001/0.7304, allocations: 1.061 MB / 472.5 MB, free: 68.21 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005041/0.7354, allocations: 1.398 MB / 473.9 MB, free: 66.83 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03747/0.7729, allocations: 12.31 MB / 486.2 MB, free: 54.39 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004333/0.7733, allocations: 23.27 kB / 486.2 MB, free: 54.37 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002147/0.7755, allocations: 0.5771 MB / 486.8 MB, free: 53.8 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004484/0.7759, allocations: 0.7754 MB / 487.6 MB, free: 53.03 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02016/0.7961, allocations: 6.638 MB / 494.2 MB, free: 46.39 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08816/0.8842, allocations: 58.11 MB / 0.5394 GB, free: 4.402 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01597/0.9002, allocations: 11.62 MB / 0.5507 GB, free: 10.76 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005303/0.9055, allocations: 2.26 MB / 0.5529 GB, free: 8.48 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01688/0.9224, allocations: 8.3 MB / 0.561 GB, free: 352 kB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.473e-05/0.9225, allocations: 89.59 kB / 0.5611 GB, free: 252 kB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 7.044e-06/0.9225, allocations: 0 / 0.5611 GB, free: 252 kB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.2228/1.145, allocations: 16.96 MB / 0.5777 GB, free: 101.9 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/1.145, allocations: 133.4 kB / 0.5778 GB, free: 101.8 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009129/1.155, allocations: 4.969 MB / 0.5827 GB, free: 101.4 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001052/1.156, allocations: 109.3 kB / 0.5828 GB, free: 101.4 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003418/1.159, allocations: 6.678 MB / 0.5893 GB, free: 99.98 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001722/1.161, allocations: 1.863 MB / 0.5911 GB, free: 98.82 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001976/1.163, allocations: 1.63 MB / 0.5927 GB, free: 98.69 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/1.163, allocations: 478.5 kB / 0.5932 GB, free: 98.22 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/1.165, allocations: 1.148 MB / 0.5943 GB, free: 98.21 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003783/1.169, allocations: 5.432 MB / 0.5996 GB, free: 93.07 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006627/1.175, allocations: 7.262 MB / 0.6067 GB, free: 87.97 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-05/1.175, allocations: 27.16 kB / 0.6067 GB, free: 87.97 MB / 426.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01122/1.187, allocations: 7.094 MB / 0.6136 GB, free: 87.3 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/1.187, allocations: 47.44 kB / 0.6137 GB, free: 87.3 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/1.187, allocations: 97.12 kB / 0.6138 GB, free: 87.29 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/1.19, allocations: 1.379 MB / 0.6151 GB, free: 87.17 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003169/1.193, allocations: 1.672 MB / 0.6167 GB, free: 87.17 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/1.204, allocations: 15.57 MB / 0.6319 GB, free: 77.52 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004218/1.209, allocations: 416.2 kB / 0.6323 GB, free: 77.5 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005262/1.209, allocations: 374.2 kB / 0.6327 GB, free: 77.5 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.003618/1.213, allocations: 0.6534 MB / 0.6333 GB, free: 77.28 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001572/1.214, allocations: 0.7538 MB / 0.6341 GB, free: 76.91 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007717/1.222, allocations: 5.161 MB / 0.6391 GB, free: 74.75 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004013/1.226, allocations: 2.839 MB / 0.6419 GB, free: 72.36 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.885e-05/1.226, allocations: 16 kB / 0.6419 GB, free: 72.35 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.924e-05/1.226, allocations: 32.95 kB / 0.6419 GB, free: 72.34 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02816/1.254, allocations: 14.94 MB / 0.6565 GB, free: 59.57 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/1.254, allocations: 8 kB / 0.6565 GB, free: 59.57 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/1.256, allocations: 0.8676 MB / 0.6574 GB, free: 58.9 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0033/1.26, allocations: 1.414 MB / 0.6588 GB, free: 57.51 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003147/1.26, allocations: 132 kB / 0.6589 GB, free: 57.38 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01208/1.272, allocations: 19.84 MB / 0.6783 GB, free: 36.82 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.272, allocations: 11.56 kB / 0.6783 GB, free: 36.82 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/1.282, allocations: 6.594 MB / 0.6847 GB, free: 29.93 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002819/1.285, allocations: 1.207 MB / 0.6859 GB, free: 28.72 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008801/1.286, allocations: 104 kB / 0.686 GB, free: 28.62 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/1.288, allocations: 279.7 kB / 0.6863 GB, free: 28.35 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008545/1.289, allocations: 441.2 kB / 0.6867 GB, free: 27.93 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002486/1.289, allocations: 163.9 kB / 0.6868 GB, free: 27.77 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003319/1.292, allocations: 2.352 MB / 0.6891 GB, free: 25.43 MB / 426.8 MB Notification: Performance of sort global known variables: time 4.81e-07/1.292, allocations: 0 / 0.6891 GB, free: 25.43 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.008885/1.301, allocations: 2.328 MB / 0.6914 GB, free: 23.11 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.0007583/1.302, allocations: 325.2 kB / 0.6917 GB, free: 22.83 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00846/1.31, allocations: 6.013 MB / 0.6976 GB, free: 17 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.31, allocations: 4 kB / 0.6976 GB, free: 16.99 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004159/1.315, allocations: 3.879 MB / 0.7014 GB, free: 13.08 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004821/1.319, allocations: 1.487 MB / 0.7028 GB, free: 11.66 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03251/1.352, allocations: 21.12 MB / 0.7235 GB, free: 6.316 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004661/1.357, allocations: 3.817 MB / 0.7272 GB, free: 2.465 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.004909/1.361, allocations: 2.118 MB / 0.7292 GB, free: 348 kB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/1.362, allocations: 464.4 kB / 0.7297 GB, free: 15.88 MB / 458.8 MB Notification: Performance of SimCode: time 2.295e-06/1.362, allocations: 8 kB / 0.7297 GB, free: 15.87 MB / 458.8 MB Notification: Performance of Templates: time 0.274/1.636, allocations: 89.01 MB / 0.8166 GB, free: 81.25 MB / 458.8 MB " [Timeout remaining time 658] 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.524457931052893]