Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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.007772/0.007772, allocations: 110.6 kB / 21.98 MB, free: 5.18 MB / 14.72 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.001999/0.001999, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 259 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002577/0.002577, allocations: 59.89 kB / 379.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.298, allocations: 53.37 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01266/0.3107, allocations: 9.519 MB / 442.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006426/0.3171, allocations: 3.069 MB / 445.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.3186, allocations: 63.56 kB / 445.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.3207, allocations: 0.6678 MB / 446.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002966/0.3237, allocations: 0.8234 MB / 447.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.3247, allocations: 371.5 kB / 447.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003966/0.3287, allocations: 2.669 MB / 450.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/0.3306, allocations: 1.167 MB / 451.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.3326, allocations: 1.234 MB / 452.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00264/0.3353, allocations: 1.537 MB / 454.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000577/0.3359, allocations: 308 kB / 454.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009415/0.3368, allocations: 419.8 kB / 455 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009258/0.3377, allocations: 0.8843 MB / 455.9 MB, free: 128 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001825/0.3395, allocations: 1.42 MB / 457.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004964/0.3445, allocations: 4.12 MB / 461.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3445, allocations: 0 / 461.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3445, allocations: 3.938 kB / 461.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.8e-05/0.3446, allocations: 0 / 461.4 MB, free: 10.56 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.00627/0.3509, allocations: 2.857 MB / 464.3 MB, free: 7.652 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3509, allocations: 11.97 kB / 464.3 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.352, allocations: 335.1 kB / 464.6 MB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003148/0.3552, allocations: 1.488 MB / 466.1 MB, free: 5.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.3553, allocations: 152.4 kB / 466.3 MB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000373/0.3557, allocations: 207.9 kB / 466.5 MB, free: 5.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005025/0.3607, allocations: 2.736 MB / 469.2 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.625e-05/0.3608, allocations: 7.953 kB / 469.2 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/0.361, allocations: 83.98 kB / 469.3 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.3611, allocations: 91.94 kB / 469.4 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004479/0.3655, allocations: 2.326 MB / 471.7 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01524/0.3808, allocations: 8.189 MB / 479.9 MB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.383, allocations: 1.254 MB / 481.2 MB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002036/0.385, allocations: 1.019 MB / 482.2 MB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.3852, allocations: 48.91 kB / 482.2 MB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.3853, allocations: 43.56 kB / 482.3 MB, free: 5.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.895e-06/0.3853, allocations: 0 / 482.3 MB, free: 5.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01395/0.3992, allocations: 5.941 MB / 488.2 MB, free: 15.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.3993, allocations: 64.41 kB / 488.3 MB, free: 15.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/0.4018, allocations: 1.529 MB / 489.8 MB, free: 13.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001775/0.402, allocations: 45.7 kB / 489.8 MB, free: 13.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008796/0.4028, allocations: 1.017 MB / 490.9 MB, free: 12.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004679/0.4033, allocations: 436.3 kB / 491.3 MB, free: 12.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000439/0.4038, allocations: 247.5 kB / 491.5 MB, free: 11.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.4039, allocations: 361.9 kB / 491.9 MB, free: 11.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.4052, allocations: 0.7339 MB / 492.6 MB, free: 10.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.4068, allocations: 1.059 MB / 493.7 MB, free: 9.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/0.4098, allocations: 1.879 MB / 495.6 MB, free: 7.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.4098, allocations: 8 kB / 495.6 MB, free: 7.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004398/0.4142, allocations: 2.342 MB / 497.9 MB, free: 5.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.4142, allocations: 8 kB / 497.9 MB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.4142, allocations: 12 kB / 497.9 MB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.4153, allocations: 415.4 kB / 498.3 MB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.4166, allocations: 327.5 kB / 498.6 MB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00574/0.4223, allocations: 4.862 MB / 0.4917 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.4236, allocations: 99.8 kB / 0.4918 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.4238, allocations: 63.92 kB / 0.4919 GB, free: 15.26 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001256/0.425, allocations: 0.7042 MB / 0.4926 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003671/0.4254, allocations: 170.9 kB / 0.4927 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004048/0.4294, allocations: 2.133 MB / 0.4948 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.4294, allocations: 12 kB / 0.4948 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.4294, allocations: 4 kB / 0.4948 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.4295, allocations: 11.95 kB / 0.4948 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008606/0.4381, allocations: 4.53 MB / 0.4993 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.4381, allocations: 0 / 0.4993 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.4391, allocations: 219.7 kB / 0.4995 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001329/0.4404, allocations: 474.4 kB / 0.4999 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.4405, allocations: 35.98 kB / 0.4999 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007262/0.4478, allocations: 6.379 MB / 0.5062 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4478, allocations: 0 / 0.5062 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005594/0.4534, allocations: 3.185 MB / 0.5093 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.4544, allocations: 334.8 kB / 0.5096 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002754/0.4547, allocations: 27.94 kB / 0.5096 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008657/0.4556, allocations: 83.84 kB / 0.5097 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/0.4559, allocations: 116.7 kB / 0.5098 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.271e-05/0.456, allocations: 32 kB / 0.5099 GB, free: 12.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001742/0.4577, allocations: 1.056 MB / 0.5109 GB, free: 11.24 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4577, allocations: 4 kB / 0.5109 GB, free: 11.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001566/0.4593, allocations: 456 kB / 0.5113 GB, free: 10.79 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000403/0.4597, allocations: 194.9 kB / 0.5115 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003865/0.4635, allocations: 2.045 MB / 0.5135 GB, free: 8.516 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4635, allocations: 0.625 kB / 0.5135 GB, free: 8.516 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002493/0.466, allocations: 1.362 MB / 0.5148 GB, free: 7.113 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/0.4682, allocations: 450.2 kB / 0.5153 GB, free: 6.684 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007924/0.4761, allocations: 4.619 MB / 0.5198 GB, free: 1.996 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/0.4778, allocations: 1.807 MB / 0.5215 GB, free: 164 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005846/0.4784, allocations: 119.4 kB / 0.5217 GB, free: 44 kB / 430.1 MB Notification: Performance of SimCode: time 1.093e-06/0.4784, allocations: 0 / 0.5217 GB, free: 44 kB / 430.1 MB Notification: Performance of Templates: time 0.2537/0.732, allocations: 70.67 MB / 0.5907 GB, free: 55.22 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.159181154798716]