Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0007791/0.0007791, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001009/0.001788, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006795/0.0006795, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008875/0.001567, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9888/0.9888, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.205/1.194, allocations: 49.49 MB / 220.6 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 221.9 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.765e-05, allocations: 6.25 kB / 221.9 MB, free: 140 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04581/0.04583, allocations: 36.37 MB / 258.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02415/0.06998, allocations: 10.57 MB / 268.8 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009179/0.07916, allocations: 302.2 kB / 269.1 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01811/0.09727, allocations: 10.84 MB / 279.9 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01554/0.1128, allocations: 4.255 MB / 284.2 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1661/0.2789, allocations: 2.425 MB / 286.6 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0285/0.3074, allocations: 17.33 MB / 303.9 MB, free: 1.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0335/0.3409, allocations: 20.43 MB / 324.4 MB, free: 9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02454/0.3654, allocations: 13.56 MB / 337.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02055/0.386, allocations: 9.355 MB / 347.3 MB, free: 6.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00544/0.3914, allocations: 2.418 MB / 349.7 MB, free: 4.102 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006505/0.3979, allocations: 2.838 MB / 352.6 MB, free: 1.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002845/0.4008, allocations: 4.027 MB / 356.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007355/0.4081, allocations: 5.271 MB / 361.9 MB, free: 8.023 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01614/0.4242, allocations: 14.64 MB / 376.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.337e-05/0.4243, allocations: 0.8125 kB / 376.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4243, allocations: 0 / 376.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000312/0.4246, allocations: 4.812 kB / 376.5 MB, free: 10.15 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.03349/0.4581, allocations: 20.99 MB / 397.5 MB, free: 6.027 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.4581, allocations: 8.031 kB / 397.5 MB, free: 6.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03199/0.4901, allocations: 9.447 MB / 406.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01577/0.5059, allocations: 4.776 MB / 411.7 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001284/0.5072, allocations: 1.078 MB / 412.8 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006329/0.5135, allocations: 1.419 MB / 414.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04482/0.5583, allocations: 11.7 MB / 425.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008583/0.5592, allocations: 24.92 kB / 425.9 MB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006073/0.5652, allocations: 0.5793 MB / 426.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000983/0.5662, allocations: 0.8071 MB / 427.3 MB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02492/0.5911, allocations: 5.801 MB / 433.1 MB, free: 3.605 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2766/0.8678, allocations: 45 MB / 478.1 MB, free: 69.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01344/0.8812, allocations: 9.178 MB / 487.3 MB, free: 67.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002976/0.8842, allocations: 1.758 MB / 489.1 MB, free: 66.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01296/0.8972, allocations: 7.036 MB / 496.1 MB, free: 64.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.343e-05/0.8972, allocations: 88.98 kB / 496.2 MB, free: 64.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=498): time 8.897e-06/0.8972, allocations: 0 / 496.2 MB, free: 64.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=506): time 0.02417/0.9214, allocations: 11.97 MB / 0.4963 GB, free: 60.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.9215, allocations: 129.3 kB / 0.4964 GB, free: 60.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004167/0.9256, allocations: 3.803 MB / 0.5001 GB, free: 57.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002557/0.9259, allocations: 109.7 kB / 0.5002 GB, free: 57.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001905/0.9278, allocations: 5.844 MB / 0.5059 GB, free: 51.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008084/0.9286, allocations: 1.805 MB / 0.5077 GB, free: 49.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/0.9299, allocations: 1.414 MB / 0.509 GB, free: 48.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.339e-05/0.93, allocations: 301.1 kB / 0.5093 GB, free: 48.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.9313, allocations: 1.033 MB / 0.5103 GB, free: 47.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/0.9333, allocations: 3.923 MB / 0.5142 GB, free: 42.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004542/0.9379, allocations: 5.701 MB / 0.5197 GB, free: 35.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.831e-05/0.9379, allocations: 28 kB / 0.5198 GB, free: 35.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.00642/0.9443, allocations: 5.451 MB / 0.5251 GB, free: 30.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.754e-05/0.9444, allocations: 52 kB / 0.5251 GB, free: 30.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.492e-05/0.9444, allocations: 100.6 kB / 0.5252 GB, free: 30.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002425/0.9469, allocations: 1.269 MB / 0.5265 GB, free: 29.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/0.9502, allocations: 1.855 MB / 0.5283 GB, free: 27.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007842/0.958, allocations: 11.36 MB / 0.5394 GB, free: 16.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003811/0.9618, allocations: 299.8 kB / 0.5397 GB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003923/0.9622, allocations: 319.9 kB / 0.54 GB, free: 15.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * 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 (904): * Single equations (assignments): 897 * 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,54.2%), (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.00396/0.9662, allocations: 0.647 MB / 0.5406 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/0.9673, allocations: 0.5034 MB / 0.5411 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005313/0.9726, allocations: 3.911 MB / 0.5449 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002348/0.975, allocations: 1.885 MB / 0.5468 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.641e-05/0.975, allocations: 20 kB / 0.5468 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.813e-05/0.975, allocations: 23.91 kB / 0.5468 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03203/1.007, allocations: 9.559 MB / 0.5561 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/1.007, allocations: 4 kB / 0.5561 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003864/1.011, allocations: 1.169 MB / 0.5573 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003438/1.014, allocations: 0.7222 MB / 0.558 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003419/1.018, allocations: 1.276 MB / 0.5592 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008265/1.019, allocations: 116 kB / 0.5593 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2313/1.25, allocations: 14.38 MB / 0.5734 GB, free: 82.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/1.25, allocations: 9.25 kB / 0.5734 GB, free: 82.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009925/1.26, allocations: 4.836 MB / 0.5781 GB, free: 81.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001502/1.261, allocations: 104.2 kB / 0.5782 GB, free: 81.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002395/1.264, allocations: 155.2 kB / 0.5784 GB, free: 81.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009238/1.265, allocations: 398.2 kB / 0.5787 GB, free: 81.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003327/1.265, allocations: 113.7 kB / 0.5789 GB, free: 81.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003391/1.268, allocations: 1.799 MB / 0.5806 GB, free: 81.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.268, allocations: 0 / 0.5806 GB, free: 81.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01013/1.279, allocations: 2.36 MB / 0.5829 GB, free: 81.4 MB / 410.7 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,13,100.0%), (1,5,100.0%), (1,8,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.001441/1.28, allocations: 290.5 kB / 0.5832 GB, free: 81.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008165/1.288, allocations: 4.777 MB / 0.5879 GB, free: 80.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.00046/1.289, allocations: 136.6 kB / 0.588 GB, free: 80.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004303/1.293, allocations: 3.012 MB / 0.5909 GB, free: 79.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006866/1.3, allocations: 1.938 MB / 0.5928 GB, free: 79.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1295/1.429, allocations: 21.82 MB / 0.6141 GB, free: 71.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01252/1.442, allocations: 2.841 MB / 0.6169 GB, free: 70.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007103/1.449, allocations: 0.9573 MB / 0.6178 GB, free: 70.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00378/1.453, allocations: 1.324 MB / 0.6191 GB, free: 70.65 MB / 410.7 MB Notification: Performance of SimCode: time 2.655e-06/1.453, allocations: 2.078 kB / 0.6191 GB, free: 70.65 MB / 410.7 MB Notification: Performance of Templates: time 0.1556/1.608, allocations: 101.3 MB / 0.718 GB, free: 13.23 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.265564788132906]