Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 161.7 kB / 24.49 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 47.64 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08521/0.08679, allocations: 52.17 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01417/0.101, allocations: 11.27 MB / 382.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007913/0.1089, allocations: 3.973 MB / 386.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.1109, allocations: 99.38 kB / 386.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002347/0.1132, allocations: 0.9626 MB / 387.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003487/0.1167, allocations: 1.235 MB / 389.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.1178, allocations: 0.511 MB / 389.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005569/0.1234, allocations: 4.641 MB / 394.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002891/0.1263, allocations: 2.007 MB / 396.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00351/0.1298, allocations: 2.182 MB / 398.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003801/0.1336, allocations: 2.533 MB / 401 MB, free: 9.758 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000853/0.1344, allocations: 0.5547 MB / 401.6 MB, free: 9.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.1357, allocations: 0.6366 MB / 402.2 MB, free: 8.566 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001533/0.1372, allocations: 1.539 MB / 403.7 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002535/0.1397, allocations: 2.003 MB / 405.7 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007716/0.1475, allocations: 7.486 MB / 413.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1475, allocations: 7.938 kB / 413.2 MB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1475, allocations: 0 / 413.2 MB, free: 13.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001279/0.1476, allocations: 0 / 413.2 MB, free: 13.49 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.009673/0.1573, allocations: 4.736 MB / 418 MB, free: 8.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1573, allocations: 8.922 kB / 418 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.1586, allocations: 0.5214 MB / 418.5 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004646/0.1633, allocations: 2.509 MB / 421 MB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/0.1635, allocations: 275 kB / 421.3 MB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005369/0.1641, allocations: 355.9 kB / 421.6 MB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008593/0.1727, allocations: 5.28 MB / 426.9 MB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-05/0.1727, allocations: 7.953 kB / 426.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003264/0.1731, allocations: 148 kB / 427.1 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001906/0.1733, allocations: 183 kB / 427.2 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007452/0.1807, allocations: 4.287 MB / 431.5 MB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02271/0.2034, allocations: 12.86 MB / 444.4 MB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004268/0.2077, allocations: 2.704 MB / 447.1 MB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003375/0.2111, allocations: 1.87 MB / 449 MB, free: 9.258 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/0.2113, allocations: 57.97 kB / 449 MB, free: 9.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.2114, allocations: 52.56 kB / 449.1 MB, free: 9.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.308e-06/0.2114, allocations: 0 / 449.1 MB, free: 9.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02008/0.2314, allocations: 9.589 MB / 458.7 MB, free: 15.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.2315, allocations: 77.41 kB / 458.7 MB, free: 15.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003302/0.2348, allocations: 2.186 MB / 460.9 MB, free: 13.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001599/0.235, allocations: 61.7 kB / 461 MB, free: 13.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.2363, allocations: 1.664 MB / 462.6 MB, free: 11.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000668/0.2369, allocations: 0.7669 MB / 463.4 MB, free: 10.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006898/0.2376, allocations: 416.5 kB / 463.8 MB, free: 10.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2377, allocations: 309.1 kB / 464.1 MB, free: 9.988 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/0.2398, allocations: 1.297 MB / 465.4 MB, free: 8.688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/0.2424, allocations: 1.778 MB / 467.2 MB, free: 6.719 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0058/0.2482, allocations: 3.208 MB / 470.4 MB, free: 3.332 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/0.2482, allocations: 4 kB / 470.4 MB, free: 3.328 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.2182/0.4664, allocations: 4.039 MB / 474.4 MB, free: 87.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.4665, allocations: 11.25 kB / 474.5 MB, free: 87.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-05/0.4665, allocations: 12.81 kB / 474.5 MB, free: 87.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002804/0.4693, allocations: 0.8764 MB / 475.3 MB, free: 87.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/0.4716, allocations: 0.5245 MB / 475.9 MB, free: 87.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009033/0.4807, allocations: 9.005 MB / 484.9 MB, free: 82.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.4826, allocations: 113.6 kB / 485 MB, free: 82.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.4828, allocations: 87.2 kB / 485.1 MB, free: 82.12 MB / 430.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.001989/0.4848, allocations: 1.212 MB / 486.3 MB, free: 81.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005557/0.4853, allocations: 260.4 kB / 486.5 MB, free: 81.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005525/0.4909, allocations: 3.68 MB / 490.2 MB, free: 80.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.4909, allocations: 19.62 kB / 490.2 MB, free: 80.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.4909, allocations: 7.812 kB / 490.2 MB, free: 80.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.4909, allocations: 15.33 kB / 490.3 MB, free: 80.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00984/0.5007, allocations: 7.107 MB / 497.4 MB, free: 77.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.5007, allocations: 3.688 kB / 497.4 MB, free: 77.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/0.5025, allocations: 382.9 kB / 497.7 MB, free: 77.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002501/0.505, allocations: 0.9276 MB / 498.7 MB, free: 76.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.5051, allocations: 56.45 kB / 498.7 MB, free: 76.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007766/0.5129, allocations: 10.49 MB / 0.4973 GB, free: 65.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.5129, allocations: 0 / 0.4973 GB, free: 65.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006259/0.5191, allocations: 5.481 MB / 0.5026 GB, free: 60.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.5203, allocations: 0.5401 MB / 0.5032 GB, free: 60.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002623/0.5205, allocations: 55.92 kB / 0.5032 GB, free: 60.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.5217, allocations: 115.9 kB / 0.5033 GB, free: 59.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/0.522, allocations: 186.2 kB / 0.5035 GB, free: 59.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.5222, allocations: 67.23 kB / 0.5036 GB, free: 59.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001565/0.5237, allocations: 1.481 MB / 0.505 GB, free: 58.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5237, allocations: 4 kB / 0.505 GB, free: 58.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001845/0.5256, allocations: 0.7932 MB / 0.5058 GB, free: 57.36 MB / 430.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.0004335/0.526, allocations: 237.9 kB / 0.506 GB, free: 57.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004407/0.5304, allocations: 3.613 MB / 0.5095 GB, free: 53.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5304, allocations: 4.062 kB / 0.5096 GB, free: 53.49 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002785/0.5332, allocations: 2.322 MB / 0.5118 GB, free: 51.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.5355, allocations: 0.6309 MB / 0.5124 GB, free: 50.51 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008781/0.5442, allocations: 7.822 MB / 0.5201 GB, free: 42.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001715/0.546, allocations: 2.23 MB / 0.5223 GB, free: 40.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001423/0.5474, allocations: 0.6373 MB / 0.5229 GB, free: 39.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/0.5478, allocations: 168.5 kB / 0.523 GB, free: 39.58 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5478, allocations: 0 / 0.523 GB, free: 39.58 MB / 430.1 MB Notification: Performance of Templates: time 0.05317/0.601, allocations: 40.43 MB / 0.5625 GB, free: 15.7 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.548961132066324]