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.001451/0.001451, allocations: 80.72 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001106/0.001106, allocations: 151 kB / 25.6 MB, free: 8.895 MB / 18.57 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 0.9201/0.9201, allocations: 173.4 MB / 202.2 MB, free: 8.305 MB / 186.7 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 269.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.415e-05, allocations: 2.312 kB / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01008/0.0101, allocations: 12.37 MB / 281.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007386/0.01749, allocations: 4.115 MB / 285.7 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.02008, allocations: 103.3 kB / 285.8 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002658/0.02274, allocations: 0.9744 MB / 286.8 MB, free: 8.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003954/0.02669, allocations: 1.296 MB / 288.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.02808, allocations: 0.5187 MB / 288.6 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00571/0.03379, allocations: 4.791 MB / 293.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002999/0.03679, allocations: 2.023 MB / 295.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005595/0.04239, allocations: 3.353 MB / 298.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003208/0.0456, allocations: 2.459 MB / 301.2 MB, free: 9.629 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001215/0.04681, allocations: 0.543 MB / 301.8 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.04863, allocations: 0.6287 MB / 302.4 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001664/0.0503, allocations: 1.562 MB / 304 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003109/0.05341, allocations: 1.727 MB / 305.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004948/0.05836, allocations: 4.015 MB / 309.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.05836, allocations: 0 / 309.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.05836, allocations: 0 / 309.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.862e-05/0.05846, allocations: 4 kB / 309.7 MB, free: 1.129 MB / 282.7 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.006309/0.06477, allocations: 4.783 MB / 314.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.06481, allocations: 8.031 kB / 314.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.06607, allocations: 0.8143 MB / 315.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/0.06878, allocations: 2.204 MB / 317.5 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.06893, allocations: 263.4 kB / 317.8 MB, free: 8.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003609/0.0693, allocations: 360.2 kB / 318.1 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00327/0.07257, allocations: 2.814 MB / 320.9 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.192e-05/0.07264, allocations: 15.89 kB / 321 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002327/0.07287, allocations: 144 kB / 321.1 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/0.07304, allocations: 187 kB / 321.3 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.07495, allocations: 1.032 MB / 322.3 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01419/0.08914, allocations: 11.6 MB / 333.9 MB, free: 8.324 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.09073, allocations: 1.397 MB / 335.3 MB, free: 6.969 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.09176, allocations: 0.8495 MB / 336.2 MB, free: 6.113 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001776/0.09193, allocations: 57.98 kB / 336.2 MB, free: 6.055 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.09198, allocations: 63.33 kB / 336.3 MB, free: 5.984 MB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 4.579e-06/0.09198, allocations: 4 kB / 336.3 MB, free: 5.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.007819/0.0998, allocations: 4.064 MB / 340.3 MB, free: 1.902 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.09984, allocations: 73.41 kB / 340.4 MB, free: 1.816 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1246/0.2244, allocations: 1.813 MB / 342.2 MB, free: 68.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003535/0.2248, allocations: 67.42 kB / 342.3 MB, free: 68.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.226, allocations: 1.778 MB / 344.1 MB, free: 67.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006108/0.2266, allocations: 0.7975 MB / 344.9 MB, free: 67.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005562/0.2272, allocations: 453.8 kB / 345.3 MB, free: 67.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.287e-05/0.2272, allocations: 478.1 kB / 345.8 MB, free: 66.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/0.2278, allocations: 286.1 kB / 346.1 MB, free: 66.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00074/0.2285, allocations: 0.9678 MB / 347 MB, free: 66.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.2299, allocations: 1.457 MB / 348.5 MB, free: 65.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.2299, allocations: 4.125 kB / 348.5 MB, free: 65.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002895/0.2328, allocations: 1.905 MB / 350.4 MB, free: 65.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.2328, allocations: 8.562 kB / 350.4 MB, free: 65.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.2329, allocations: 13.94 kB / 350.4 MB, free: 65.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.2342, allocations: 0.5927 MB / 351 MB, free: 65.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.2353, allocations: 495.1 kB / 351.5 MB, free: 65.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003922/0.2392, allocations: 7.548 MB / 359 MB, free: 59.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.2404, allocations: 72.88 kB / 359.1 MB, free: 59.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.2405, allocations: 68.62 kB / 359.2 MB, free: 59.41 MB / 314.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.0007346/0.2412, allocations: 304 kB / 359.5 MB, free: 59.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/0.2416, allocations: 339.7 kB / 359.8 MB, free: 59.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/0.2445, allocations: 1.659 MB / 361.5 MB, free: 58.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.2445, allocations: 26.94 kB / 361.5 MB, free: 58.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.2445, allocations: 7.469 kB / 361.5 MB, free: 58.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/0.2445, allocations: 14.81 kB / 361.5 MB, free: 58.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007636/0.2522, allocations: 4.091 MB / 365.6 MB, free: 57.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.2522, allocations: 4 kB / 365.6 MB, free: 57.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009604/0.2531, allocations: 359.8 kB / 366 MB, free: 56.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/0.255, allocations: 0.6401 MB / 366.6 MB, free: 56.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/0.2552, allocations: 50.42 kB / 366.6 MB, free: 56.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003837/0.259, allocations: 9.232 MB / 375.9 MB, free: 47.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.259, allocations: 7.031 kB / 375.9 MB, free: 47.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.2619, allocations: 2.287 MB / 378.2 MB, free: 44.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.2629, allocations: 458.6 kB / 378.6 MB, free: 44.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/0.2631, allocations: 47.98 kB / 378.7 MB, free: 44.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006624/0.2638, allocations: 91.83 kB / 378.8 MB, free: 44.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/0.2641, allocations: 161.7 kB / 378.9 MB, free: 43.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.893e-05/0.2642, allocations: 55.98 kB / 379 MB, free: 43.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008192/0.265, allocations: 0.9626 MB / 379.9 MB, free: 43 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.265, allocations: 0 / 379.9 MB, free: 43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001765/0.2667, allocations: 0.7891 MB / 380.7 MB, free: 42.21 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.0004139/0.2671, allocations: 256.5 kB / 381 MB, free: 41.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.2692, allocations: 2.014 MB / 383 MB, free: 39.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2692, allocations: 4.25 kB / 383 MB, free: 39.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.2705, allocations: 1.644 MB / 384.6 MB, free: 38.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.2721, allocations: 0.6394 MB / 385.3 MB, free: 37.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007062/0.2791, allocations: 6.398 MB / 391.7 MB, free: 31.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007269/0.2798, allocations: 1.022 MB / 392.7 MB, free: 30.15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009853/0.2808, allocations: 309 kB / 393 MB, free: 29.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/0.2819, allocations: 0.7009 MB / 393.7 MB, free: 29.14 MB / 314.7 MB Notification: Performance of SimCode: time 1.753e-06/0.2819, allocations: 0 / 393.7 MB, free: 29.14 MB / 314.7 MB Notification: Performance of Templates: time 0.05069/0.3326, allocations: 43.33 MB / 437 MB, free: 2.418 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.900572645012289]