Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 80.41 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 167.6 kB / 25.61 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.2 MB / 206.1 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 274.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25e-05/1.39e-05, allocations: 5.922 kB / 274.2 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01029/0.0103, allocations: 12.44 MB / 286.7 MB, free: 7.871 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007113/0.01741, allocations: 4.182 MB / 290.9 MB, free: 3.688 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.01844, allocations: 99.38 kB / 291 MB, free: 3.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.01996, allocations: 0.9822 MB / 291.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.02187, allocations: 1.292 MB / 293.2 MB, free: 1.301 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.0229, allocations: 0.5304 MB / 293.8 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002922/0.02582, allocations: 4.811 MB / 298.6 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.02758, allocations: 2.023 MB / 300.6 MB, free: 9.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003235/0.03082, allocations: 3.373 MB / 304 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.03274, allocations: 2.448 MB / 306.4 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004452/0.03318, allocations: 0.543 MB / 307 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006647/0.03385, allocations: 0.652 MB / 307.6 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.03509, allocations: 1.566 MB / 309.2 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.03623, allocations: 1.723 MB / 310.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002784/0.03901, allocations: 4.031 MB / 314.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.03901, allocations: 0 / 314.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.03901, allocations: 0 / 314.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.144e-05/0.03905, allocations: 4 kB / 314.9 MB, free: 11.51 MB / 298.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.004697/0.04374, allocations: 4.802 MB / 319.7 MB, free: 6.645 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.04377, allocations: 8.031 kB / 319.8 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.04496, allocations: 0.8338 MB / 320.6 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.04733, allocations: 2.224 MB / 322.8 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.04748, allocations: 275.4 kB / 323.1 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003567/0.04784, allocations: 360.1 kB / 323.4 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.05063, allocations: 2.803 MB / 326.2 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.077e-05/0.05069, allocations: 15.92 kB / 326.2 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/0.0509, allocations: 140 kB / 326.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000124/0.05103, allocations: 187 kB / 326.6 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.05251, allocations: 1.032 MB / 327.6 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.06341, allocations: 11.62 MB / 339.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.06475, allocations: 1.395 MB / 340.6 MB, free: 1.238 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.06578, allocations: 0.8495 MB / 341.5 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.06592, allocations: 61.98 kB / 341.5 MB, free: 340 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.06596, allocations: 55.39 kB / 341.6 MB, free: 276 kB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 3.116e-06/0.06597, allocations: 0 / 341.6 MB, free: 276 kB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.006522/0.07249, allocations: 4.084 MB / 345.7 MB, free: 12.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.07253, allocations: 77.34 kB / 345.7 MB, free: 12.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.07399, allocations: 1.829 MB / 347.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.543e-05/0.07409, allocations: 61.7 kB / 347.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008629/0.07495, allocations: 1.798 MB / 349.4 MB, free: 8.324 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004212/0.07537, allocations: 0.7903 MB / 350.2 MB, free: 7.527 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004684/0.07584, allocations: 450.3 kB / 350.7 MB, free: 7.078 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.07595, allocations: 476.8 kB / 351.1 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006782/0.07662, allocations: 284.4 kB / 351.4 MB, free: 6.328 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007407/0.07736, allocations: 0.965 MB / 352.4 MB, free: 5.105 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.07868, allocations: 1.461 MB / 353.8 MB, free: 3.395 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.07868, allocations: 7.938 kB / 353.8 MB, free: 3.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00237/0.08105, allocations: 1.896 MB / 355.7 MB, free: 1.461 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.08107, allocations: 8 kB / 355.7 MB, free: 1.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.08109, allocations: 16 kB / 355.7 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.08243, allocations: 0.5885 MB / 356.3 MB, free: 0.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.08348, allocations: 0.4915 MB / 356.8 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1068/0.1903, allocations: 7.535 MB / 364.4 MB, free: 70.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.1915, allocations: 75.62 kB / 364.4 MB, free: 70.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.1917, allocations: 64.91 kB / 364.5 MB, free: 70.42 MB / 330.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.0007396/0.1924, allocations: 303.3 kB / 364.8 MB, free: 70.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003969/0.1928, allocations: 348.4 kB / 365.1 MB, free: 70.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.195, allocations: 1.654 MB / 366.8 MB, free: 70.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.195, allocations: 20.62 kB / 366.8 MB, free: 70.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.1951, allocations: 10.81 kB / 366.8 MB, free: 70.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.1951, allocations: 13.41 kB / 366.8 MB, free: 70.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004846/0.1999, allocations: 4.096 MB / 370.9 MB, free: 69.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.1999, allocations: 6.844 kB / 370.9 MB, free: 69.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007707/0.2007, allocations: 355.7 kB / 371.3 MB, free: 69.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.2021, allocations: 0.6413 MB / 371.9 MB, free: 69.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.2022, allocations: 58.08 kB / 372 MB, free: 69.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003789/0.2059, allocations: 9.234 MB / 381.2 MB, free: 61.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.206, allocations: 3.188 kB / 381.2 MB, free: 61.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/0.2084, allocations: 2.301 MB / 383.5 MB, free: 61.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005275/0.2089, allocations: 451.2 kB / 384 MB, free: 60.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.2091, allocations: 53.53 kB / 384 MB, free: 60.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000584/0.2097, allocations: 87.28 kB / 384.1 MB, free: 60.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.2099, allocations: 175.1 kB / 384.3 MB, free: 60.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.526e-05/0.21, allocations: 47 kB / 384.3 MB, free: 60.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006709/0.2107, allocations: 0.9756 MB / 385.3 MB, free: 60.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2107, allocations: 0 / 385.3 MB, free: 60.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00155/0.2122, allocations: 0.7787 MB / 386.1 MB, free: 60.34 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.0004159/0.2126, allocations: 243.5 kB / 386.3 MB, free: 60.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001879/0.2145, allocations: 2.015 MB / 388.3 MB, free: 58.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2145, allocations: 4 kB / 388.3 MB, free: 58.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.2158, allocations: 1.637 MB / 390 MB, free: 57.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.2172, allocations: 0.6622 MB / 390.6 MB, free: 56.55 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006116/0.2233, allocations: 6.393 MB / 397 MB, free: 50.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000698/0.224, allocations: 1.026 MB / 398 MB, free: 49.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007174/0.2248, allocations: 317.1 kB / 398.4 MB, free: 48.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/0.2258, allocations: 0.697 MB / 399.1 MB, free: 48.26 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2258, allocations: 0 / 399.1 MB, free: 48.26 MB / 330.7 MB Notification: Performance of Templates: time 0.05066/0.2764, allocations: 43.48 MB / 442.5 MB, free: 5.398 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 5.000494895037264]