Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001121/0.001121, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002439/0.00356, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009724/0.0009724, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001291/0.002264, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9399/0.9399, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09098/1.031, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.822/1.822, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4626/2.285, allocations: 123.3 MB / 0.7283 GB, free: 5.715 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) 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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.902e-05, allocations: 6.25 kB / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.008544/0.008563, allocations: 10.63 MB / 0.74 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.007448/0.01601, allocations: 7.092 MB / 0.747 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005545/0.01656, allocations: 87.25 kB / 0.747 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.01725, allocations: 412.8 kB / 0.7474 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.01955, allocations: 1.794 MB / 0.7492 GB, free: 448 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008391/0.02039, allocations: 0.6484 MB / 0.7498 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002363/0.02275, allocations: 2.988 MB / 0.7527 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.02378, allocations: 1.176 MB / 0.7539 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/0.02565, allocations: 2.254 MB / 0.7561 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.02668, allocations: 1.048 MB / 0.7571 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.02687, allocations: 163.9 kB / 0.7573 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004982/0.02736, allocations: 315.6 kB / 0.7576 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004946/0.02786, allocations: 0.5715 MB / 0.7581 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004424/0.0283, allocations: 0.538 MB / 0.7587 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.02945, allocations: 1.456 MB / 0.7601 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.303e-05/0.02946, allocations: 4 kB / 0.7601 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.383e-06/0.02946, allocations: 0 / 0.7601 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.365e-05/0.02949, allocations: 0 / 0.7601 GB, free: 5.219 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002035/0.03152, allocations: 2.395 MB / 0.7624 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.03155, allocations: 9.625 kB / 0.7624 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/0.03459, allocations: 0.9425 MB / 0.7633 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.03584, allocations: 1.072 MB / 0.7644 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/0.03591, allocations: 90.69 kB / 0.7645 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.03613, allocations: 125 kB / 0.7646 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/0.03865, allocations: 1.616 MB / 0.7662 GB, free: 14.7 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.176e-05/0.03869, allocations: 11.88 kB / 0.7662 GB, free: 14.69 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.03885, allocations: 55.95 kB / 0.7662 GB, free: 14.64 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004063/0.03926, allocations: 138.8 kB / 0.7664 GB, free: 14.5 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.04038, allocations: 0.5717 MB / 0.7669 GB, free: 13.93 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007126/0.04751, allocations: 5.731 MB / 0.7725 GB, free: 8.055 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.04875, allocations: 0.5853 MB / 0.7731 GB, free: 7.477 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004259/0.04917, allocations: 262.1 kB / 0.7734 GB, free: 7.223 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 5.935e-05/0.04923, allocations: 14.16 kB / 0.7734 GB, free: 7.207 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.04927, allocations: 51.5 kB / 0.7734 GB, free: 7.148 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=89): time 3.046e-06/0.04927, allocations: 0 / 0.7734 GB, free: 7.148 MB / 0.7449 GB Notification: Performance of matching and sorting (n=90): time 0.009937/0.05921, allocations: 3.959 MB / 0.7773 GB, free: 3.203 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.05924, allocations: 68.34 kB / 0.7773 GB, free: 3.125 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000549/0.05979, allocations: 0.8989 MB / 0.7782 GB, free: 2.219 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 7.013e-05/0.05986, allocations: 41.7 kB / 0.7783 GB, free: 2.172 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.06009, allocations: 0.589 MB / 0.7788 GB, free: 1.574 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.06029, allocations: 329.1 kB / 0.7792 GB, free: 1.25 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.0605, allocations: 186.7 kB / 0.7793 GB, free: 1.062 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.06059, allocations: 349.9 kB / 0.7797 GB, free: 0.7148 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.06083, allocations: 186.5 kB / 0.7798 GB, free: 0.5312 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.06117, allocations: 444.5 kB / 0.7803 GB, free: 4 kB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006686/0.06184, allocations: 0.7263 MB / 0.781 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.06184, allocations: 0 / 0.781 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001893/0.06374, allocations: 1.27 MB / 0.7822 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.06376, allocations: 8 kB / 0.7822 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.06377, allocations: 8 kB / 0.7822 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002116/0.06588, allocations: 0.8779 MB / 0.7831 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.06649, allocations: 211.6 kB / 0.7833 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005608/0.07209, allocations: 6.987 MB / 0.7901 GB, free: 5.402 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/0.07264, allocations: 51.97 kB / 0.7902 GB, free: 5.352 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/0.0727, allocations: 44 kB / 0.7902 GB, free: 5.309 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,8,100.0%), (3,17,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003006/0.073, allocations: 172.5 kB / 0.7904 GB, free: 5.129 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.07317, allocations: 119.9 kB / 0.7905 GB, free: 5.012 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/0.07514, allocations: 1.249 MB / 0.7917 GB, free: 3.734 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.07514, allocations: 15.94 kB / 0.7917 GB, free: 3.719 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.07515, allocations: 8 kB / 0.7917 GB, free: 3.711 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.07516, allocations: 3.984 kB / 0.7917 GB, free: 3.707 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.07794, allocations: 1.984 MB / 0.7937 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.07795, allocations: 0 / 0.7937 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.07842, allocations: 139.9 kB / 0.7938 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/0.07871, allocations: 242.9 kB / 0.794 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002078/0.08078, allocations: 0.8573 MB / 0.7949 GB, free: 424 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.772e-05/0.08084, allocations: 23.97 kB / 0.7949 GB, free: 400 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005392/0.08623, allocations: 6.995 MB / 0.8017 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.08624, allocations: 4 kB / 0.8017 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.08811, allocations: 1.27 MB / 0.803 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.08823, allocations: 16 kB / 0.803 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/0.08867, allocations: 39.98 kB / 0.803 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.08888, allocations: 88.77 kB / 0.8031 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.08893, allocations: 31.95 kB / 0.8031 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003354/0.08927, allocations: 459.7 kB / 0.8036 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.08927, allocations: 7.938 kB / 0.8036 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001038/0.09031, allocations: 484 kB / 0.804 GB, free: 6.582 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001924/0.0905, allocations: 112.3 kB / 0.8042 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.09213, allocations: 1.472 MB / 0.8056 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.172e-05/0.09216, allocations: 23.12 kB / 0.8056 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.09335, allocations: 1.176 MB / 0.8068 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.09575, allocations: 4.751 MB / 0.8114 GB, free: 13.99 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007839/0.1036, allocations: 2.579 MB / 0.8139 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1039, allocations: 400.1 kB / 0.8143 GB, free: 10.94 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006669/0.1046, allocations: 283.2 kB / 0.8146 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007504/0.1054, allocations: 399 kB / 0.815 GB, free: 10.26 MB / 0.7917 GB Notification: Performance of SimCode: time 1.824e-06/0.1054, allocations: 4 kB / 0.815 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of Templates: time 0.03857/0.1439, allocations: 36.74 MB / 0.8508 GB, free: 6.141 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.428255995735526]