Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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.0009145/0.0009145, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0008621/0.0008621, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9788/0.9788, allocations: 173.3 MB / 201.1 MB, free: 9.324 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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 268 MB, free: 6.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.344e-05, allocations: 6.25 kB / 268 MB, free: 6.371 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01103/0.01105, allocations: 12.82 MB / 280.9 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006591/0.01764, allocations: 4.128 MB / 285 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.01881, allocations: 103.3 kB / 285.1 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.02046, allocations: 0.9744 MB / 286.1 MB, free: 4.266 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.02255, allocations: 1.285 MB / 287.4 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007086/0.02326, allocations: 0.5187 MB / 287.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.132/0.1553, allocations: 4.792 MB / 292.7 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00259/0.1579, allocations: 2.017 MB / 294.7 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004003/0.1619, allocations: 3.215 MB / 297.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003355/0.1652, allocations: 2.48 MB / 300.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.1665, allocations: 0.5526 MB / 300.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.1675, allocations: 0.6425 MB / 301.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008678/0.1684, allocations: 1.61 MB / 303.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.1699, allocations: 1.739 MB / 304.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002945/0.1728, allocations: 4.06 MB / 309 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1728, allocations: 0 / 309 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1728, allocations: 0 / 309 MB, free: 12.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.272e-05/0.1729, allocations: 0 / 309 MB, free: 12.27 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.005013/0.1779, allocations: 4.978 MB / 314 MB, free: 9.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.178, allocations: 12.86 kB / 314 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000927/0.1789, allocations: 0.8065 MB / 314.8 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/0.1811, allocations: 2.363 MB / 317.1 MB, free: 6.109 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.545e-05/0.1812, allocations: 267 kB / 317.4 MB, free: 5.852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/0.1815, allocations: 355.7 kB / 317.7 MB, free: 5.512 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00332/0.1848, allocations: 3.045 MB / 320.8 MB, free: 2.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.842e-05/0.1849, allocations: 11.89 kB / 320.8 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/0.1851, allocations: 143.9 kB / 320.9 MB, free: 2.191 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.1852, allocations: 186.3 kB / 321.1 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.1875, allocations: 1.326 MB / 322.5 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01224/0.1998, allocations: 11.87 MB / 334.3 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.2016, allocations: 1.53 MB / 335.9 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.2029, allocations: 0.9511 MB / 336.8 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.2031, allocations: 69.97 kB / 336.9 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.2032, allocations: 55.39 kB / 336.9 MB, free: 2.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 3.206e-06/0.2032, allocations: 0 / 336.9 MB, free: 2.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.008993/0.2121, allocations: 5.069 MB / 342 MB, free: 13.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.2122, allocations: 77.34 kB / 342.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/0.2146, allocations: 1.883 MB / 344 MB, free: 11.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.2147, allocations: 61.7 kB / 344 MB, free: 11.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.2158, allocations: 1.761 MB / 345.8 MB, free: 9.398 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005659/0.2164, allocations: 0.795 MB / 346.6 MB, free: 8.613 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006374/0.217, allocations: 438.5 kB / 347 MB, free: 8.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.2171, allocations: 476.8 kB / 347.5 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008718/0.218, allocations: 380.4 kB / 347.8 MB, free: 7.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.2193, allocations: 1.047 MB / 348.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/0.2216, allocations: 1.625 MB / 350.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.2216, allocations: 4 kB / 350.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003816/0.2254, allocations: 2.105 MB / 352.6 MB, free: 2.188 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.2255, allocations: 15.94 kB / 352.6 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.2255, allocations: 12 kB / 352.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001834/0.2273, allocations: 0.6029 MB / 353.2 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.2288, allocations: 0.5289 MB / 353.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006507/0.2354, allocations: 7.802 MB / 361.6 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.2364, allocations: 119.9 kB / 361.7 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.2366, allocations: 84 kB / 361.8 MB, free: 8.719 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.0008469/0.2374, allocations: 296.1 kB / 362.1 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000626/0.238, allocations: 342.2 kB / 362.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/0.2413, allocations: 1.836 MB / 364.2 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.2413, allocations: 20 kB / 364.3 MB, free: 6.242 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.2413, allocations: 11.94 kB / 364.3 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.2413, allocations: 11.95 kB / 364.3 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008149/0.2495, allocations: 5.024 MB / 369.3 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.2495, allocations: 4 kB / 369.3 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.2508, allocations: 381.4 kB / 369.7 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001966/0.2528, allocations: 0.6776 MB / 370.4 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.2529, allocations: 51.98 kB / 370.4 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006188/0.2591, allocations: 9.574 MB / 380 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.2591, allocations: 7.938 kB / 380 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003691/0.2628, allocations: 2.551 MB / 382.5 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007861/0.2636, allocations: 0.4943 MB / 383 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.2638, allocations: 51.98 kB / 383.1 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006532/0.2644, allocations: 115.9 kB / 383.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/0.2647, allocations: 193 kB / 383.4 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-05/0.2648, allocations: 59.98 kB / 383.4 MB, free: 2.531 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001356/0.2661, allocations: 1.071 MB / 384.5 MB, free: 1.441 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2661, allocations: 0 / 384.5 MB, free: 1.441 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001902/0.268, allocations: 0.7968 MB / 385.3 MB, free: 0.6445 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.0004711/0.2685, allocations: 237.8 kB / 385.5 MB, free: 444 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002786/0.2713, allocations: 2.229 MB / 387.8 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2713, allocations: 0 / 387.8 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.273, allocations: 1.786 MB / 389.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.2747, allocations: 0.655 MB / 390.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008649/0.2834, allocations: 6.441 MB / 396.7 MB, free: 5.219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008196/0.2842, allocations: 1.026 MB / 397.7 MB, free: 4.172 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000988/0.2852, allocations: 0.5045 MB / 398.2 MB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004895/0.2857, allocations: 168.5 kB / 398.4 MB, free: 3.496 MB / 346.7 MB Notification: Performance of SimCode: time 2.024e-06/0.2857, allocations: 0 / 398.4 MB, free: 3.496 MB / 346.7 MB Notification: Performance of Templates: time 0.1623/0.4479, allocations: 40.37 MB / 438.7 MB, free: 112.8 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 5.112026880029589]