Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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.0009472/0.0009472, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001009/0.001009, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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.004/1.004, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 273.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.824e-05, allocations: 2.312 kB / 273.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01171/0.01173, allocations: 12.54 MB / 286 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007662/0.01939, allocations: 4.357 MB / 290.4 MB, free: 0 / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.1184/0.1378, allocations: 101.9 kB / 290.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002637/0.1405, allocations: 0.9945 MB / 291.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003624/0.1441, allocations: 1.311 MB / 292.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.1453, allocations: 0.5319 MB / 293.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005265/0.1506, allocations: 4.861 MB / 298.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002986/0.1535, allocations: 2.072 MB / 300.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005804/0.1593, allocations: 3.388 MB / 303.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004396/0.1637, allocations: 2.45 MB / 306.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001413/0.1652, allocations: 0.5433 MB / 306.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.1666, allocations: 0.6534 MB / 307.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009484/0.1676, allocations: 1.57 MB / 308.8 MB, free: 9.867 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002141/0.1697, allocations: 1.739 MB / 310.6 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003388/0.1731, allocations: 4.045 MB / 314.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1731, allocations: 0 / 314.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1731, allocations: 0 / 314.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.983e-05/0.1732, allocations: 0 / 314.6 MB, free: 5.238 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.004329/0.1776, allocations: 4.427 MB / 319.1 MB, free: 1.008 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1776, allocations: 11.98 kB / 319.1 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.1786, allocations: 0.6857 MB / 319.8 MB, free: 324 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.1807, allocations: 1.655 MB / 321.4 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.1809, allocations: 266.2 kB / 321.7 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000321/0.1812, allocations: 359.1 kB / 322 MB, free: 14.12 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/0.1844, allocations: 2.861 MB / 324.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.033e-05/0.1844, allocations: 6.766 kB / 324.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.1846, allocations: 150.7 kB / 325 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/0.1848, allocations: 191.1 kB / 325.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.1865, allocations: 1.075 MB / 326.3 MB, free: 9.883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/0.1973, allocations: 9.164 MB / 335.5 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.1989, allocations: 1.361 MB / 336.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009257/0.1998, allocations: 0.7784 MB / 337.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.2, allocations: 61.98 kB / 337.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.2001, allocations: 56.56 kB / 337.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 4.137e-06/0.2001, allocations: 0 / 337.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.006895/0.207, allocations: 3.985 MB / 341.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.207, allocations: 77.39 kB / 341.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.2081, allocations: 1.51 MB / 343.3 MB, free: 9.715 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.333e-05/0.2082, allocations: 65.7 kB / 343.4 MB, free: 9.645 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007973/0.209, allocations: 1.369 MB / 344.7 MB, free: 8.355 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003848/0.2094, allocations: 0.7513 MB / 345.5 MB, free: 7.648 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004068/0.2098, allocations: 395 kB / 345.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.2099, allocations: 301.1 kB / 346.2 MB, free: 7.008 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/0.2103, allocations: 295.8 kB / 346.4 MB, free: 6.715 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000569/0.2109, allocations: 0.7168 MB / 347.2 MB, free: 5.871 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.212, allocations: 1.294 MB / 348.5 MB, free: 4.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.212, allocations: 4 kB / 348.5 MB, free: 4.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.001949/0.214, allocations: 1.539 MB / 350 MB, free: 3.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.214, allocations: 12 kB / 350 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.214, allocations: 12 kB / 350 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.2153, allocations: 0.5725 MB / 350.6 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.2168, allocations: 0.5869 MB / 351.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004106/0.2209, allocations: 5.708 MB / 356.9 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008884/0.2218, allocations: 83.92 kB / 357 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.2219, allocations: 68 kB / 357 MB, free: 11.85 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.0006936/0.2226, allocations: 247.5 kB / 357.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003118/0.2229, allocations: 235.7 kB / 357.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.225, allocations: 1.41 MB / 358.9 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.225, allocations: 20 kB / 358.9 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.225, allocations: 11.98 kB / 358.9 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.225, allocations: 7.969 kB / 359 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004655/0.2297, allocations: 3.446 MB / 362.4 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.2297, allocations: 4 kB / 362.4 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.2308, allocations: 0.5215 MB / 362.9 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/0.2322, allocations: 0.6122 MB / 363.5 MB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.2323, allocations: 55.92 kB / 363.6 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004944/0.2373, allocations: 6.942 MB / 370.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.2373, allocations: 7.938 kB / 370.5 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.2399, allocations: 1.95 MB / 372.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006854/0.2405, allocations: 328.3 kB / 372.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.2407, allocations: 55.98 kB / 372.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/0.2413, allocations: 79.95 kB / 372.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000542/0.2418, allocations: 165.6 kB / 373.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-05/0.2419, allocations: 51.97 kB / 373.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006895/0.2426, allocations: 0.7737 MB / 373.9 MB, free: 10.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2426, allocations: 0 / 373.9 MB, free: 10.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001719/0.2443, allocations: 0.7929 MB / 374.7 MB, free: 10.11 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%), (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.0004698/0.2448, allocations: 225.5 kB / 374.9 MB, free: 9.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002172/0.247, allocations: 1.715 MB / 376.7 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.79e-05/0.247, allocations: 26.62 kB / 376.7 MB, free: 8.141 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001397/0.2484, allocations: 1.342 MB / 378 MB, free: 6.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.2501, allocations: 0.6525 MB / 378.7 MB, free: 6.145 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008442/0.2585, allocations: 6.184 MB / 384.9 MB, free: 15.92 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008169/0.2593, allocations: 0.8818 MB / 385.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001102/0.2604, allocations: 305.2 kB / 386 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/0.2616, allocations: 0.6162 MB / 386.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of SimCode: time 1.794e-06/0.2616, allocations: 4 kB / 386.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of Templates: time 0.05783/0.3194, allocations: 42.48 MB / 429.1 MB, free: 4.141 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/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.843107264954597]