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.0009653/0.0009653, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001018/0.001018, allocations: 165 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 0.9557/0.9557, allocations: 177.2 MB / 205 MB, free: 5.297 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.864e-06/1.864e-06, allocations: 0 / 273 MB, free: 1.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.992e-05, allocations: 6.312 kB / 273 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1575/0.1575, allocations: 38.28 MB / 311.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01781/0.1753, allocations: 10.25 MB / 321.6 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005058/0.1804, allocations: 357.3 kB / 321.9 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01285/0.1932, allocations: 10.92 MB / 332.8 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.2046, allocations: 4.27 MB / 337.1 MB, free: 2.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00571/0.2103, allocations: 2.442 MB / 339.6 MB, free: 56 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01592/0.2262, allocations: 17.27 MB / 356.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02684/0.253, allocations: 20.38 MB / 377.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0165/0.2695, allocations: 12.92 MB / 390.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01233/0.2819, allocations: 9.166 MB / 399.3 MB, free: 4.008 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006651/0.2885, allocations: 2.406 MB / 401.7 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00881/0.2973, allocations: 2.835 MB / 404.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006524/0.3038, allocations: 4.987 MB / 409.5 MB, free: 9.766 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01311/0.317, allocations: 6.261 MB / 415.8 MB, free: 3.492 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02172/0.3387, allocations: 15.37 MB / 431.1 MB, free: 4.078 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.3387, allocations: 0 / 431.1 MB, free: 4.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3387, allocations: 4 kB / 431.2 MB, free: 4.074 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007612/0.3394, allocations: 0 / 431.2 MB, free: 4.074 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.2644/0.6038, allocations: 20.01 MB / 451.2 MB, free: 80.06 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.6038, allocations: 9.562 kB / 451.2 MB, free: 80.06 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.033/0.6368, allocations: 10.54 MB / 461.7 MB, free: 78.03 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01597/0.6528, allocations: 9.829 MB / 471.5 MB, free: 69.25 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007947/0.6536, allocations: 1.064 MB / 472.6 MB, free: 68.19 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003913/0.6575, allocations: 1.404 MB / 474 MB, free: 66.8 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03274/0.6903, allocations: 12.3 MB / 486.3 MB, free: 54.36 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004418/0.6907, allocations: 19.89 kB / 486.3 MB, free: 54.34 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002761/0.6935, allocations: 0.5749 MB / 486.9 MB, free: 53.78 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004298/0.6939, allocations: 0.7793 MB / 487.7 MB, free: 53 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02007/0.714, allocations: 6.647 MB / 494.3 MB, free: 46.35 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06523/0.7792, allocations: 58.11 MB / 0.5395 GB, free: 4.375 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/0.7931, allocations: 11.62 MB / 0.5508 GB, free: 10.72 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003986/0.7971, allocations: 2.256 MB / 0.553 GB, free: 8.449 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01389/0.811, allocations: 8.289 MB / 0.5611 GB, free: 332 kB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.705e-05/0.8111, allocations: 100.9 kB / 0.5612 GB, free: 224 kB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 6.983e-06/0.8111, allocations: 0 / 0.5612 GB, free: 224 kB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.2277/1.039, allocations: 16.96 MB / 0.5778 GB, free: 101.7 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.238e-05/1.039, allocations: 133.6 kB / 0.5779 GB, free: 101.6 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008545/1.047, allocations: 4.971 MB / 0.5828 GB, free: 101.2 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00105/1.048, allocations: 110.9 kB / 0.5829 GB, free: 101.2 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003549/1.052, allocations: 6.68 MB / 0.5894 GB, free: 99.77 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001846/1.054, allocations: 1.859 MB / 0.5912 GB, free: 98.61 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001962/1.056, allocations: 1.631 MB / 0.5928 GB, free: 98.48 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 4.347e-05/1.056, allocations: 485.4 kB / 0.5933 GB, free: 98.01 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002155/1.058, allocations: 1.148 MB / 0.5944 GB, free: 98 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003277/1.061, allocations: 5.432 MB / 0.5997 GB, free: 92.86 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006038/1.067, allocations: 7.255 MB / 0.6068 GB, free: 87.75 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.555e-05/1.067, allocations: 30.28 kB / 0.6068 GB, free: 87.75 MB / 426.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01025/1.078, allocations: 7.092 MB / 0.6137 GB, free: 87.08 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.453e-05/1.078, allocations: 49.44 kB / 0.6138 GB, free: 87.08 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/1.078, allocations: 93.66 kB / 0.6139 GB, free: 87.08 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003105/1.081, allocations: 1.384 MB / 0.6152 GB, free: 86.95 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/1.084, allocations: 1.672 MB / 0.6169 GB, free: 86.95 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/1.096, allocations: 15.56 MB / 0.632 GB, free: 77.31 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003789/1.099, allocations: 419.3 kB / 0.6324 GB, free: 77.29 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000559/1.1, allocations: 372.6 kB / 0.6328 GB, free: 77.29 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.00276/1.103, allocations: 0.6566 MB / 0.6334 GB, free: 77.06 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009501/1.104, allocations: 0.752 MB / 0.6342 GB, free: 76.73 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00668/1.11, allocations: 5.156 MB / 0.6392 GB, free: 74.75 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003667/1.114, allocations: 2.835 MB / 0.642 GB, free: 72.36 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.949e-05/1.114, allocations: 20.55 kB / 0.642 GB, free: 72.34 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.95e-05/1.114, allocations: 25.41 kB / 0.642 GB, free: 72.34 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/1.131, allocations: 14.95 MB / 0.6566 GB, free: 59.57 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/1.131, allocations: 6.734 kB / 0.6566 GB, free: 59.57 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/1.133, allocations: 0.8743 MB / 0.6575 GB, free: 58.89 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002792/1.136, allocations: 1.416 MB / 0.6589 GB, free: 57.46 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002148/1.136, allocations: 135.9 kB / 0.659 GB, free: 57.33 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/1.147, allocations: 19.83 MB / 0.6784 GB, free: 36.77 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.147, allocations: 11.84 kB / 0.6784 GB, free: 36.76 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008715/1.156, allocations: 6.591 MB / 0.6848 GB, free: 29.89 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00217/1.158, allocations: 1.211 MB / 0.686 GB, free: 28.67 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005226/1.158, allocations: 108 kB / 0.6861 GB, free: 28.57 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/1.16, allocations: 275.7 kB / 0.6864 GB, free: 28.3 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006959/1.16, allocations: 439.2 kB / 0.6868 GB, free: 27.88 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000219/1.161, allocations: 160 kB / 0.6869 GB, free: 27.72 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002698/1.163, allocations: 2.356 MB / 0.6892 GB, free: 25.38 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/1.163, allocations: 0 / 0.6892 GB, free: 25.38 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005499/1.169, allocations: 2.332 MB / 0.6915 GB, free: 23.05 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.0005391/1.169, allocations: 320.8 kB / 0.6918 GB, free: 22.78 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.006979/1.176, allocations: 6.015 MB / 0.6977 GB, free: 16.94 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.176, allocations: 5.938 kB / 0.6977 GB, free: 16.94 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003472/1.18, allocations: 3.881 MB / 0.7015 GB, free: 13.02 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003766/1.184, allocations: 1.5 MB / 0.7029 GB, free: 11.6 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02613/1.21, allocations: 21.1 MB / 0.7235 GB, free: 6.273 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003928/1.214, allocations: 3.814 MB / 0.7273 GB, free: 2.422 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.004648/1.218, allocations: 2.122 MB / 0.7293 GB, free: 300 kB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.219, allocations: 464.4 kB / 0.7298 GB, free: 15.84 MB / 458.8 MB Notification: Performance of SimCode: time 2.224e-06/1.219, allocations: 0 / 0.7298 GB, free: 15.84 MB / 458.8 MB Notification: Performance of Templates: time 0.2486/1.468, allocations: 93.44 MB / 0.821 GB, free: 76.86 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: 6.014811541885138]