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.001102/0.001102, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001473/0.002575, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001066/0.001066, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002352, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9413/0.9413, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0922/1.033, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.226e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.009735/0.009757, allocations: 12.6 MB / 257.6 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007443/0.0172, allocations: 4.454 MB / 262.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.01899, allocations: 103.3 kB / 262.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.02083, allocations: 0.9974 MB / 263.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002908/0.02374, allocations: 1.316 MB / 264.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.02474, allocations: 0.5343 MB / 265 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004103/0.02885, allocations: 4.873 MB / 269.9 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002267/0.03111, allocations: 2.074 MB / 272 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1231/0.1542, allocations: 3.692 MB / 275.7 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004714/0.1589, allocations: 2.455 MB / 278.1 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002096/0.161, allocations: 0.5426 MB / 278.7 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002914/0.1639, allocations: 0.6449 MB / 279.3 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002252/0.1662, allocations: 1.29 MB / 280.6 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00594/0.1721, allocations: 1.426 MB / 282 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007671/0.1798, allocations: 3.805 MB / 285.8 MB, free: 4.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.865e-05/0.1798, allocations: 1.938 kB / 285.8 MB, free: 4.609 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1798, allocations: 0 / 285.8 MB, free: 4.609 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002369/0.1801, allocations: 0 / 285.8 MB, free: 4.609 MB / 266.7 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.007365/0.1874, allocations: 5.306 MB / 291.1 MB, free: 2.824 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.1875, allocations: 7.406 kB / 291.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.1886, allocations: 0.7565 MB / 291.9 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.191, allocations: 1.65 MB / 293.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.1911, allocations: 267 kB / 293.8 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003289/0.1915, allocations: 361.8 kB / 294.2 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/0.1948, allocations: 2.858 MB / 297 MB, free: 1.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.12e-05/0.1949, allocations: 4 kB / 297 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/0.1951, allocations: 155.2 kB / 297.2 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/0.1952, allocations: 196.7 kB / 297.4 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.1969, allocations: 1.069 MB / 298.5 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0122/0.2091, allocations: 9.214 MB / 307.7 MB, free: 8.039 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.2105, allocations: 1.351 MB / 309 MB, free: 6.719 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.2115, allocations: 0.7826 MB / 309.8 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002149/0.2117, allocations: 57.97 kB / 309.9 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.238e-05/0.2118, allocations: 60.56 kB / 309.9 MB, free: 5.844 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 5.861e-06/0.2118, allocations: 0 / 309.9 MB, free: 5.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.008087/0.2199, allocations: 3.985 MB / 313.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.2199, allocations: 77.41 kB / 314 MB, free: 1.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.2214, allocations: 1.516 MB / 315.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.2215, allocations: 61.7 kB / 315.6 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005914/0.2221, allocations: 1.36 MB / 316.9 MB, free: 15.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003848/0.2225, allocations: 0.7634 MB / 317.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003985/0.2229, allocations: 391.8 kB / 318.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.223, allocations: 301.1 kB / 318.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.2234, allocations: 291.8 kB / 318.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.224, allocations: 0.7231 MB / 319.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.2251, allocations: 1.279 MB / 320.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.2251, allocations: 4 kB / 320.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002153/0.2273, allocations: 1.534 MB / 322.2 MB, free: 9.922 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.2273, allocations: 8 kB / 322.2 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.2273, allocations: 16 kB / 322.2 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.2286, allocations: 0.577 MB / 322.8 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.23, allocations: 0.6247 MB / 323.4 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004308/0.2343, allocations: 5.709 MB / 329.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.2357, allocations: 75.98 kB / 329.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.2359, allocations: 71.97 kB / 329.3 MB, free: 2.699 MB / 298.7 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.001165/0.237, allocations: 255.9 kB / 329.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004285/0.2374, allocations: 239.7 kB / 329.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.2394, allocations: 1.407 MB / 331.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.2394, allocations: 20 kB / 331.2 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.2394, allocations: 15.98 kB / 331.2 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.2394, allocations: 7.969 kB / 331.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006224/0.2456, allocations: 3.454 MB / 334.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.2456, allocations: 8 kB / 334.7 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001705/0.2473, allocations: 0.5426 MB / 335.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.2484, allocations: 322.3 kB / 335.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001795/0.2501, allocations: 0.6167 MB / 336.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/0.2503, allocations: 55.92 kB / 336.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005902/0.2562, allocations: 6.948 MB / 343.1 MB, free: 4.844 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.2562, allocations: 9.766 kB / 343.1 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003723/0.2599, allocations: 1.953 MB / 345.1 MB, free: 2.875 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005232/0.2604, allocations: 51.98 kB / 345.1 MB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008529/0.2613, allocations: 83.95 kB / 345.2 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003564/0.2616, allocations: 168.8 kB / 345.4 MB, free: 2.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.2618, allocations: 47.98 kB / 345.4 MB, free: 2.535 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001132/0.2629, allocations: 0.7688 MB / 346.2 MB, free: 1.832 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2629, allocations: 0 / 346.2 MB, free: 1.832 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002395/0.2653, allocations: 0.789 MB / 347 MB, free: 1.043 MB / 314.7 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005714/0.2659, allocations: 239.6 kB / 347.2 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.008888/0.2748, allocations: 1.717 MB / 348.9 MB, free: 15.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001251/0.2749, allocations: 49.62 kB / 349 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001959/0.2768, allocations: 1.344 MB / 350.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009008/0.2858, allocations: 0.8532 MB / 351.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0554/0.3412, allocations: 6.562 MB / 357.8 MB, free: 6.367 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008298/0.3421, allocations: 0.881 MB / 358.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00118/0.3433, allocations: 313.1 kB / 358.9 MB, free: 5.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.3443, allocations: 0.6162 MB / 359.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of SimCode: time 1.673e-06/0.3443, allocations: 0 / 359.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of Templates: time 0.05472/0.399, allocations: 44.56 MB / 404.1 MB, free: 8.582 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.378882069140673]