Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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.001305/0.001305, allocations: 111.5 kB / 18.45 MB, free: 4.605 MB / 14.72 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.001395/0.001395, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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.452/1.452, allocations: 230.6 MB / 254.8 MB, free: 15.09 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+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.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_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_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.94 kB / 374.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1162, allocations: 53.34 MB / 427.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.2124/0.3287, allocations: 9.468 MB / 437 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005657/0.3343, allocations: 3.056 MB / 440 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.3359, allocations: 59.66 kB / 440.1 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.3377, allocations: 0.6724 MB / 440.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.3405, allocations: 0.8148 MB / 441.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.3415, allocations: 362.5 kB / 441.9 MB, free: 4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003626/0.3451, allocations: 2.674 MB / 444.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/0.3473, allocations: 1.533 MB / 446.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00218/0.3495, allocations: 1.23 MB / 447.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002807/0.3523, allocations: 1.532 MB / 448.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001034/0.3533, allocations: 307.8 kB / 449.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.355, allocations: 416.8 kB / 449.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.3562, allocations: 0.9007 MB / 450.5 MB, free: 172 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002604/0.3588, allocations: 1.407 MB / 451.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006547/0.3653, allocations: 4.119 MB / 456 MB, free: 13.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.3654, allocations: 3.984 kB / 456 MB, free: 13.4 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3654, allocations: 0 / 456 MB, free: 13.4 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001433/0.3655, allocations: 3.938 kB / 456 MB, free: 13.39 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.008183/0.3737, allocations: 2.927 MB / 459 MB, free: 11.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.3737, allocations: 9.656 kB / 459 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.3751, allocations: 333.8 kB / 459.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/0.3784, allocations: 1.562 MB / 460.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.3786, allocations: 155.2 kB / 461 MB, free: 9.977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003637/0.3789, allocations: 208.2 kB / 461.2 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005489/0.3844, allocations: 2.734 MB / 463.9 MB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.36e-05/0.3845, allocations: 18.41 kB / 464 MB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.3847, allocations: 81.02 kB / 464 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.3848, allocations: 93.12 kB / 464.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004425/0.3892, allocations: 2.332 MB / 466.5 MB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01612/0.4054, allocations: 8.328 MB / 474.8 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.4077, allocations: 1.704 MB / 476.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.4097, allocations: 1.01 MB / 477.5 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.41, allocations: 118.1 kB / 477.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.4101, allocations: 43.56 kB / 477.7 MB, free: 13.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.025e-06/0.4101, allocations: 0 / 477.7 MB, free: 13.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01476/0.4248, allocations: 6.244 MB / 483.9 MB, free: 7.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.4249, allocations: 64.41 kB / 484 MB, free: 7.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.4274, allocations: 1.525 MB / 485.5 MB, free: 5.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001543/0.4276, allocations: 45.7 kB / 485.5 MB, free: 5.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008715/0.4285, allocations: 1.017 MB / 486.6 MB, free: 4.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/0.4289, allocations: 432.3 kB / 487 MB, free: 4.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004419/0.4294, allocations: 259.5 kB / 487.2 MB, free: 4.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.4296, allocations: 361.9 kB / 487.6 MB, free: 3.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.4308, allocations: 0.7339 MB / 488.3 MB, free: 3.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.4323, allocations: 1.052 MB / 489.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/0.4352, allocations: 1.887 MB / 491.3 MB, free: 15.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.4352, allocations: 0 / 491.3 MB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004405/0.4396, allocations: 2.35 MB / 493.6 MB, free: 13.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.4397, allocations: 8.344 kB / 493.6 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.4397, allocations: 12 kB / 493.6 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.4408, allocations: 407.1 kB / 494 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.4421, allocations: 328.1 kB / 494.4 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005769/0.4479, allocations: 5.074 MB / 499.4 MB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.4494, allocations: 95.8 kB / 499.5 MB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.4495, allocations: 52 kB / 499.6 MB, free: 7.266 MB / 398.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.001434/0.451, allocations: 0.708 MB / 0.4886 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004277/0.4514, allocations: 175 kB / 0.4887 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004222/0.4556, allocations: 2.133 MB / 0.4908 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.4556, allocations: 12 kB / 0.4908 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.4557, allocations: 4 kB / 0.4908 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.4557, allocations: 7.969 kB / 0.4908 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008945/0.4646, allocations: 4.556 MB / 0.4953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.4646, allocations: 4 kB / 0.4953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.4657, allocations: 227.9 kB / 0.4955 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/0.467, allocations: 468.5 kB / 0.4959 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.4671, allocations: 27.98 kB / 0.496 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007336/0.4745, allocations: 6.695 MB / 0.5025 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4745, allocations: 4 kB / 0.5025 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005719/0.4802, allocations: 3.193 MB / 0.5056 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.4812, allocations: 403.9 kB / 0.506 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/0.4816, allocations: 31.98 kB / 0.506 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009111/0.4825, allocations: 71.92 kB / 0.5061 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/0.4828, allocations: 112.7 kB / 0.5062 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.547e-05/0.4829, allocations: 35.98 kB / 0.5063 GB, free: 3.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00175/0.4846, allocations: 1.052 MB / 0.5073 GB, free: 2.742 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4846, allocations: 0 / 0.5073 GB, free: 2.742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001755/0.4864, allocations: 467.9 kB / 0.5077 GB, free: 2.285 MB / 414.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.0004431/0.4868, allocations: 191.7 kB / 0.5079 GB, free: 2.094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003956/0.4908, allocations: 2.196 MB / 0.5101 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.4908, allocations: 0 / 0.5101 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002471/0.4932, allocations: 1.441 MB / 0.5115 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.4957, allocations: 447.6 kB / 0.5119 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008112/0.5038, allocations: 4.578 MB / 0.5164 GB, free: 9.254 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/0.5055, allocations: 1.795 MB / 0.5181 GB, free: 7.426 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006478/0.5062, allocations: 123.4 kB / 0.5182 GB, free: 7.305 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5062, allocations: 0 / 0.5182 GB, free: 7.305 MB / 430.1 MB Notification: Performance of Templates: time 0.08742/0.5936, allocations: 70.66 MB / 0.5872 GB, free: 0.6406 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.596752612007549]