Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009043/0.0009043, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000881/0.000881, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9051/0.9051, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.819e-05, allocations: 2.312 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.135/0.135, allocations: 38.3 MB / 311.3 MB, free: 7.953 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01615/0.1512, allocations: 10.27 MB / 321.5 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005523/0.1567, allocations: 357.2 kB / 321.9 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01196/0.1687, allocations: 10.9 MB / 332.8 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008785/0.1775, allocations: 4.269 MB / 337 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003628/0.1811, allocations: 2.455 MB / 339.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01618/0.1973, allocations: 17.27 MB / 356.8 MB, free: 14.51 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0242/0.2215, allocations: 20.39 MB / 377.2 MB, free: 9.906 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01507/0.2365, allocations: 12.92 MB / 390.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009641/0.2462, allocations: 9.166 MB / 399.2 MB, free: 3.785 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003578/0.2497, allocations: 2.406 MB / 401.6 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003875/0.2536, allocations: 2.823 MB / 404.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003026/0.2566, allocations: 4.995 MB / 409.5 MB, free: 9.547 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007417/0.2641, allocations: 6.257 MB / 415.7 MB, free: 3.277 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01544/0.2795, allocations: 15.38 MB / 431.1 MB, free: 3.852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2795, allocations: 0 / 431.1 MB, free: 3.852 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2795, allocations: 0 / 431.1 MB, free: 3.852 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004547/0.28, allocations: 0 / 431.1 MB, free: 3.852 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.2517/0.5317, allocations: 20.01 MB / 451.1 MB, free: 79.94 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.5317, allocations: 12.36 kB / 451.1 MB, free: 79.93 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03457/0.5663, allocations: 10.54 MB / 461.7 MB, free: 77.94 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01577/0.582, allocations: 9.841 MB / 471.5 MB, free: 69.18 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005746/0.5826, allocations: 1.068 MB / 472.6 MB, free: 68.13 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/0.5847, allocations: 1.399 MB / 474 MB, free: 66.74 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02667/0.6114, allocations: 12.31 MB / 486.3 MB, free: 54.3 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003294/0.6117, allocations: 22.89 kB / 486.3 MB, free: 54.28 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001408/0.6131, allocations: 0.5761 MB / 486.9 MB, free: 53.72 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000644/0.6137, allocations: 0.7793 MB / 487.7 MB, free: 52.94 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0217/0.6354, allocations: 6.646 MB / 494.3 MB, free: 46.29 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06173/0.6972, allocations: 58.1 MB / 0.5395 GB, free: 4.125 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01638/0.7135, allocations: 11.61 MB / 0.5508 GB, free: 10.47 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004117/0.7177, allocations: 2.262 MB / 0.553 GB, free: 8.199 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01519/0.7328, allocations: 8.306 MB / 0.5611 GB, free: 60 kB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.995e-05/0.7329, allocations: 93 kB / 0.5612 GB, free: 15.96 MB / 426.8 MB Notification: Performance of pre-optimization done (n=498): time 8.626e-06/0.7329, allocations: 0 / 0.5612 GB, free: 15.96 MB / 426.8 MB Notification: Performance of matching and sorting (n=506): time 0.1829/0.9158, allocations: 16.96 MB / 0.5778 GB, free: 101.8 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.9159, allocations: 130.4 kB / 0.5779 GB, free: 101.8 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009462/0.9253, allocations: 4.978 MB / 0.5828 GB, free: 101.4 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001035/0.9264, allocations: 105.5 kB / 0.5829 GB, free: 101.3 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003948/0.9303, allocations: 6.687 MB / 0.5894 GB, free: 99.81 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001803/0.9321, allocations: 1.855 MB / 0.5912 GB, free: 98.65 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002662/0.9348, allocations: 1.641 MB / 0.5928 GB, free: 98.52 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 4.235e-05/0.9348, allocations: 483.4 kB / 0.5933 GB, free: 98.05 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002958/0.9378, allocations: 1.147 MB / 0.5944 GB, free: 98.03 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003804/0.9416, allocations: 5.427 MB / 0.5997 GB, free: 92.89 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005654/0.9472, allocations: 7.26 MB / 0.6068 GB, free: 87.78 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.862e-05/0.9473, allocations: 27.22 kB / 0.6068 GB, free: 87.78 MB / 426.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.009629/0.9569, allocations: 7.1 MB / 0.6137 GB, free: 87.11 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.957, allocations: 50.84 kB / 0.6138 GB, free: 87.1 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.995e-05/0.9571, allocations: 93.25 kB / 0.6139 GB, free: 87.1 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002785/0.9598, allocations: 1.374 MB / 0.6152 GB, free: 86.98 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/0.9627, allocations: 1.671 MB / 0.6168 GB, free: 86.98 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009988/0.9727, allocations: 15.55 MB / 0.632 GB, free: 77.34 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/0.9759, allocations: 414.9 kB / 0.6324 GB, free: 77.32 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004119/0.9763, allocations: 376.9 kB / 0.6328 GB, free: 77.32 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.002505/0.9788, allocations: 0.6502 MB / 0.6334 GB, free: 77.1 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009717/0.9798, allocations: 0.7521 MB / 0.6342 GB, free: 76.77 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00657/0.9864, allocations: 5.158 MB / 0.6392 GB, free: 74.69 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00358/0.9899, allocations: 2.836 MB / 0.642 GB, free: 72.3 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-05/0.99, allocations: 20 kB / 0.642 GB, free: 72.29 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.778e-05/0.99, allocations: 28.89 kB / 0.642 GB, free: 72.29 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/1.008, allocations: 14.95 MB / 0.6566 GB, free: 59.39 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.008, allocations: 7.984 kB / 0.6566 GB, free: 59.38 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/1.01, allocations: 0.8745 MB / 0.6575 GB, free: 58.55 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002836/1.013, allocations: 1.408 MB / 0.6588 GB, free: 57.12 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002627/1.013, allocations: 134.7 kB / 0.659 GB, free: 56.99 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/1.024, allocations: 19.84 MB / 0.6784 GB, free: 36.43 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.024, allocations: 11.56 kB / 0.6784 GB, free: 36.42 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008433/1.032, allocations: 6.587 MB / 0.6848 GB, free: 29.54 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/1.034, allocations: 1.207 MB / 0.686 GB, free: 28.33 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004709/1.034, allocations: 100 kB / 0.6861 GB, free: 28.23 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/1.036, allocations: 279.7 kB / 0.6863 GB, free: 27.96 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005944/1.036, allocations: 439.8 kB / 0.6868 GB, free: 27.54 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002069/1.036, allocations: 163.9 kB / 0.6869 GB, free: 27.38 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.00239/1.039, allocations: 2.36 MB / 0.6892 GB, free: 25.04 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.7e-07/1.039, allocations: 0 / 0.6892 GB, free: 25.04 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00533/1.044, allocations: 2.328 MB / 0.6915 GB, free: 22.71 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.0005154/1.045, allocations: 318.6 kB / 0.6918 GB, free: 22.44 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.006864/1.052, allocations: 6.022 MB / 0.6977 GB, free: 16.6 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.052, allocations: 384 / 0.6977 GB, free: 16.6 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003395/1.055, allocations: 3.887 MB / 0.7015 GB, free: 12.67 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/1.059, allocations: 1.481 MB / 0.7029 GB, free: 11.27 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02356/1.082, allocations: 21.13 MB / 0.7236 GB, free: 5.93 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003089/1.085, allocations: 3.818 MB / 0.7273 GB, free: 2.074 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.004123/1.089, allocations: 2.118 MB / 0.7294 GB, free: 15.95 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009119/1.09, allocations: 472.3 kB / 0.7298 GB, free: 15.49 MB / 458.8 MB Notification: Performance of SimCode: time 1.833e-06/1.09, allocations: 0 / 0.7298 GB, free: 15.49 MB / 458.8 MB Notification: Performance of Templates: time 0.2317/1.322, allocations: 93.4 MB / 0.821 GB, free: 76.23 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.679597970098257]