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.001333/0.001333, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0016/0.0016, allocations: 142.1 kB / 24.97 MB, free: 8.316 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 1.089/1.089, allocations: 173.3 MB / 201.5 MB, free: 9.316 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.623e-06/1.623e-06, allocations: 3.938 kB / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.709e-05, allocations: 2.312 kB / 268.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.0126/0.01262, allocations: 12.7 MB / 280.8 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007473/0.0201, allocations: 4.124 MB / 284.9 MB, free: 5.797 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.0218, allocations: 99.38 kB / 285 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.02397, allocations: 0.9743 MB / 286 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002942/0.02691, allocations: 1.285 MB / 287.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009914/0.0279, allocations: 0.5265 MB / 287.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1192/0.1471, allocations: 4.789 MB / 292.6 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00303/0.1502, allocations: 2.018 MB / 294.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005639/0.1558, allocations: 3.216 MB / 297.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004205/0.16, allocations: 2.486 MB / 300.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001447/0.1615, allocations: 0.5516 MB / 300.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.1631, allocations: 0.6388 MB / 301.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.1643, allocations: 1.609 MB / 303.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002254/0.1666, allocations: 1.741 MB / 304.8 MB, free: 14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003925/0.1705, allocations: 4.067 MB / 308.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1705, allocations: 0 / 308.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1705, allocations: 0.5 kB / 308.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.467e-05/0.1706, allocations: 0.625 kB / 308.9 MB, free: 12.3 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.005858/0.1764, allocations: 4.971 MB / 313.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1765, allocations: 10.58 kB / 313.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.1776, allocations: 0.8094 MB / 314.7 MB, free: 8.668 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002446/0.1801, allocations: 2.365 MB / 317.1 MB, free: 6.387 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.1802, allocations: 266.6 kB / 317.3 MB, free: 6.129 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003049/0.1805, allocations: 356.4 kB / 317.7 MB, free: 5.785 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003763/0.1842, allocations: 3.05 MB / 320.7 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.535e-05/0.1843, allocations: 7.891 kB / 320.7 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.1845, allocations: 147.1 kB / 320.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.1846, allocations: 183 kB / 321.1 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/0.1872, allocations: 1.323 MB / 322.4 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/0.2037, allocations: 11.88 MB / 334.3 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.2057, allocations: 1.524 MB / 335.8 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.2074, allocations: 0.9461 MB / 336.7 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/0.2076, allocations: 81.94 kB / 336.8 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.2076, allocations: 58.3 kB / 336.9 MB, free: 2.543 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 3.496e-06/0.2076, allocations: 0 / 336.9 MB, free: 2.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.008933/0.2166, allocations: 5.06 MB / 341.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.2166, allocations: 81 kB / 342 MB, free: 13.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/0.219, allocations: 1.876 MB / 343.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.2191, allocations: 61.7 kB / 343.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008977/0.22, allocations: 1.771 MB / 345.7 MB, free: 9.656 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004967/0.2205, allocations: 0.7823 MB / 346.5 MB, free: 8.883 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004915/0.221, allocations: 446.5 kB / 346.9 MB, free: 8.438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2211, allocations: 476.8 kB / 347.4 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/0.2219, allocations: 376.4 kB / 347.8 MB, free: 7.598 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.2229, allocations: 1.05 MB / 348.8 MB, free: 6.301 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/0.225, allocations: 1.627 MB / 350.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.225, allocations: 4 kB / 350.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003293/0.2283, allocations: 2.097 MB / 352.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.2283, allocations: 23.95 kB / 352.6 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.2283, allocations: 16 kB / 352.6 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001553/0.2299, allocations: 0.6023 MB / 353.2 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.2311, allocations: 0.5278 MB / 353.7 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005923/0.237, allocations: 7.795 MB / 361.5 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.2385, allocations: 111.9 kB / 361.6 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.2387, allocations: 87.98 kB / 361.7 MB, free: 8.984 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.0009864/0.2396, allocations: 297.9 kB / 362 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004523/0.2401, allocations: 338.3 kB / 362.3 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/0.2429, allocations: 1.84 MB / 364.2 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.2429, allocations: 24 kB / 364.2 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.2429, allocations: 15.92 kB / 364.2 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.2429, allocations: 7.969 kB / 364.2 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008247/0.2512, allocations: 5.018 MB / 369.2 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.2512, allocations: 4 kB / 369.2 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009462/0.2521, allocations: 385.3 kB / 369.6 MB, free: 1.086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.2539, allocations: 0.6715 MB / 370.3 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.254, allocations: 51.97 kB / 370.3 MB, free: 352 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006846/0.2609, allocations: 9.575 MB / 379.9 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.2609, allocations: 11.69 kB / 379.9 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004091/0.2649, allocations: 2.545 MB / 382.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.266, allocations: 0.5021 MB / 383 MB, free: 3.207 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.2662, allocations: 44 kB / 383 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006876/0.2669, allocations: 115.9 kB / 383.1 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000373/0.2673, allocations: 196.9 kB / 383.3 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.734e-05/0.2674, allocations: 59.98 kB / 383.4 MB, free: 2.801 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001452/0.2688, allocations: 1.071 MB / 384.4 MB, free: 1.711 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2688, allocations: 0 / 384.4 MB, free: 1.711 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002229/0.2711, allocations: 0.7968 MB / 385.2 MB, free: 0.9141 MB / 330.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%), (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.0005441/0.2716, allocations: 240.2 kB / 385.5 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003268/0.2749, allocations: 2.225 MB / 387.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2749, allocations: 0 / 387.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002035/0.2769, allocations: 1.785 MB / 389.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.2787, allocations: 0.6527 MB / 390.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.2887, allocations: 6.447 MB / 396.6 MB, free: 5.488 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009952/0.2897, allocations: 1.025 MB / 397.6 MB, free: 4.445 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001554/0.2913, allocations: 0.5084 MB / 398.1 MB, free: 3.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004937/0.2918, allocations: 172.5 kB / 398.3 MB, free: 3.762 MB / 346.7 MB Notification: Performance of SimCode: time 3.657e-06/0.2918, allocations: 0 / 398.3 MB, free: 3.762 MB / 346.7 MB Notification: Performance of Templates: time 0.151/0.4427, allocations: 40.36 MB / 438.7 MB, free: 127.7 MB / 378.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.950308251893148]