Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.001756/0.001756, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002145/0.002145, allocations: 214.3 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 63.84 kB / 378.2 MB, free: 2.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2812, allocations: 53.41 MB / 431.7 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01577/0.297, allocations: 11.34 MB / 443 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009948/0.3069, allocations: 4.058 MB / 447.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002787/0.3097, allocations: 99.38 kB / 447.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003374/0.3131, allocations: 0.9665 MB / 448.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00477/0.3178, allocations: 1.266 MB / 449.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.3198, allocations: 0.5267 MB / 449.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007232/0.327, allocations: 4.692 MB / 454.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004438/0.3315, allocations: 2.003 MB / 456.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005051/0.3365, allocations: 2.204 MB / 458.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005376/0.3419, allocations: 2.541 MB / 461.3 MB, free: 8.648 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00181/0.3437, allocations: 0.5508 MB / 461.9 MB, free: 8.098 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.3462, allocations: 0.6559 MB / 462.6 MB, free: 7.445 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002788/0.349, allocations: 1.547 MB / 464.1 MB, free: 5.895 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004988/0.354, allocations: 2.023 MB / 466.1 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.367, allocations: 7.529 MB / 473.7 MB, free: 12.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.367, allocations: 4 kB / 473.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.367, allocations: 3.938 kB / 473.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003214/0.3673, allocations: 4 kB / 473.7 MB, free: 12.3 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01652/0.3838, allocations: 4.756 MB / 478.4 MB, free: 7.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3839, allocations: 11.98 kB / 478.4 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002603/0.3865, allocations: 0.5487 MB / 479 MB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006786/0.3932, allocations: 2.54 MB / 481.5 MB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/0.3936, allocations: 271.4 kB / 481.8 MB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001263/0.3948, allocations: 355.9 kB / 482.1 MB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01414/0.409, allocations: 5.315 MB / 487.4 MB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/0.4091, allocations: 4 kB / 487.5 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008828/0.41, allocations: 155.9 kB / 487.6 MB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002542/0.4103, allocations: 191 kB / 487.8 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.421, allocations: 4.31 MB / 492.1 MB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03918/0.4602, allocations: 12.89 MB / 0.4932 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005982/0.4662, allocations: 2.696 MB / 0.4958 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004024/0.4702, allocations: 1.877 MB / 0.4976 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003219/0.4705, allocations: 49.97 kB / 0.4977 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.419e-05/0.4706, allocations: 56.56 kB / 0.4977 GB, free: 7.738 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.938e-06/0.4706, allocations: 0 / 0.4977 GB, free: 7.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02144/0.492, allocations: 9.592 MB / 0.5071 GB, free: 14.13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.4921, allocations: 77.41 kB / 0.5072 GB, free: 14.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003506/0.4956, allocations: 2.199 MB / 0.5093 GB, free: 11.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.4958, allocations: 61.7 kB / 0.5094 GB, free: 11.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001395/0.4972, allocations: 1.68 MB / 0.511 GB, free: 10.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007074/0.4979, allocations: 0.7669 MB / 0.5118 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007047/0.4986, allocations: 420.4 kB / 0.5122 GB, free: 8.855 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4987, allocations: 301.1 kB / 0.5124 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/0.5009, allocations: 1.297 MB / 0.5137 GB, free: 7.258 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/0.5035, allocations: 1.786 MB / 0.5155 GB, free: 5.285 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004733/0.5082, allocations: 3.208 MB / 0.5186 GB, free: 1.895 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.5082, allocations: 7.938 kB / 0.5186 GB, free: 1.887 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00718/0.5154, allocations: 4.045 MB / 0.5225 GB, free: 13.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.5154, allocations: 14.5 kB / 0.5226 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.5154, allocations: 12 kB / 0.5226 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00276/0.5182, allocations: 0.8721 MB / 0.5234 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/0.5203, allocations: 0.5266 MB / 0.5239 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.5317, allocations: 9.017 MB / 0.5327 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.5337, allocations: 119.9 kB / 0.5329 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.5339, allocations: 83.98 kB / 0.5329 GB, free: 2.859 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[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 (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(3,25,77.8%), (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.002394/0.5363, allocations: 1.219 MB / 0.5341 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006628/0.537, allocations: 258.4 kB / 0.5344 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2304/0.7674, allocations: 3.675 MB / 0.538 GB, free: 99.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/0.7674, allocations: 24.41 kB / 0.538 GB, free: 99.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.7674, allocations: 7.688 kB / 0.538 GB, free: 99.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/0.7674, allocations: 10.45 kB / 0.538 GB, free: 99.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.7798, allocations: 7.118 MB / 0.545 GB, free: 97.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.7799, allocations: 0 / 0.545 GB, free: 97.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/0.7813, allocations: 386.5 kB / 0.5453 GB, free: 97.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002678/0.784, allocations: 0.926 MB / 0.5462 GB, free: 96.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001693/0.7842, allocations: 57.69 kB / 0.5463 GB, free: 96.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009122/0.7933, allocations: 10.48 MB / 0.5565 GB, free: 88.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.7933, allocations: 11.59 kB / 0.5565 GB, free: 88.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006992/0.8003, allocations: 5.477 MB / 0.5619 GB, free: 83.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/0.802, allocations: 0.5401 MB / 0.5624 GB, free: 82.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003986/0.8024, allocations: 51.98 kB / 0.5625 GB, free: 82.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.8037, allocations: 111.9 kB / 0.5626 GB, free: 82.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003957/0.8041, allocations: 189.6 kB / 0.5627 GB, free: 82.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.8042, allocations: 64.86 kB / 0.5628 GB, free: 82.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00203/0.8063, allocations: 1.489 MB / 0.5643 GB, free: 80.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.8063, allocations: 0 / 0.5643 GB, free: 80.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002503/0.8088, allocations: 0.8 MB / 0.565 GB, free: 80.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,88.9%), (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.0005391/0.8093, allocations: 231 kB / 0.5653 GB, free: 79.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004777/0.8141, allocations: 3.618 MB / 0.5688 GB, free: 76.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.8141, allocations: 6 kB / 0.5688 GB, free: 76.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003016/0.8171, allocations: 2.308 MB / 0.5711 GB, free: 73.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/0.82, allocations: 0.6346 MB / 0.5717 GB, free: 73.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.8313, allocations: 7.87 MB / 0.5794 GB, free: 65.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/0.8334, allocations: 2.25 MB / 0.5816 GB, free: 63.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001975/0.8354, allocations: 0.6414 MB / 0.5822 GB, free: 62.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005676/0.8359, allocations: 167.4 kB / 0.5823 GB, free: 62.33 MB / 446.1 MB Notification: Performance of SimCode: time 1.543e-06/0.8359, allocations: 0 / 0.5823 GB, free: 62.33 MB / 446.1 MB Notification: Performance of Templates: time 0.06044/0.8964, allocations: 45 MB / 0.6263 GB, free: 17.85 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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: 8.005670789629221]