Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.0007822/0.0007822, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001815, 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.0007058/0.0007058, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008909/0.001597, 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.9174/0.9174, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1016/1.019, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.829/1.829, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4764/2.305, allocations: 123.3 MB / 0.7283 GB, free: 5.754 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.282e-05, allocations: 9.609 kB / 0.7297 GB, free: 4.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.00558/0.005603, allocations: 6.462 MB / 0.736 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003058/0.00866, allocations: 2.18 MB / 0.7381 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003759/0.009036, allocations: 48.19 kB / 0.7381 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005513/0.009588, allocations: 279.4 kB / 0.7384 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0008273/0.01041, allocations: 0.7436 MB / 0.7391 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.01114, allocations: 0.5536 MB / 0.7397 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002077/0.01321, allocations: 3.08 MB / 0.7427 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.01474, allocations: 1.414 MB / 0.7441 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.01651, allocations: 1.772 MB / 0.7458 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.01805, allocations: 1.536 MB / 0.7473 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002543/0.0183, allocations: 216 kB / 0.7475 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005461/0.01885, allocations: 328.9 kB / 0.7478 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0006611/0.01951, allocations: 0.9942 MB / 0.7488 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005497/0.02006, allocations: 0.5967 MB / 0.7494 GB, free: 216 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.02181, allocations: 1.809 MB / 0.7511 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.534e-05/0.02183, allocations: 0 / 0.7511 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.743e-06/0.02183, allocations: 3.938 kB / 0.7511 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.168e-05/0.02186, allocations: 0.5625 kB / 0.7511 GB, free: 14.39 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002086/0.02394, allocations: 2.177 MB / 0.7533 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.02398, allocations: 8.781 kB / 0.7533 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/0.02662, allocations: 0.9153 MB / 0.7542 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009617/0.02758, allocations: 0.8575 MB / 0.755 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.683e-05/0.02764, allocations: 111.3 kB / 0.7551 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.02782, allocations: 149.4 kB / 0.7553 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.0293, allocations: 1.481 MB / 0.7567 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.02933, allocations: 4.125 kB / 0.7567 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.02945, allocations: 67.09 kB / 0.7568 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/0.0296, allocations: 170.9 kB / 0.7569 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.03077, allocations: 0.6055 MB / 0.7575 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005808/0.03658, allocations: 6.365 MB / 0.7637 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.03762, allocations: 419.1 kB / 0.7641 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/0.03798, allocations: 273.3 kB / 0.7644 GB, free: 436 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.734e-05/0.03803, allocations: 13.44 kB / 0.7644 GB, free: 420 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.03807, allocations: 39.22 kB / 0.7644 GB, free: 372 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 5.681e-06/0.03808, allocations: 0.9062 kB / 0.7644 GB, free: 372 kB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.008872/0.04695, allocations: 4.057 MB / 0.7684 GB, free: 12.4 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.04698, allocations: 64.41 kB / 0.7685 GB, free: 12.32 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005178/0.0475, allocations: 0.6166 MB / 0.7691 GB, free: 11.69 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.04755, allocations: 41.7 kB / 0.7691 GB, free: 11.64 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.04783, allocations: 0.6723 MB / 0.7698 GB, free: 10.96 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.048, allocations: 321.2 kB / 0.7701 GB, free: 10.64 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.04824, allocations: 198.7 kB / 0.7703 GB, free: 10.44 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.04836, allocations: 402.5 kB / 0.7706 GB, free: 10.04 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.04861, allocations: 165.4 kB / 0.7708 GB, free: 9.875 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/0.04923, allocations: 430.5 kB / 0.7712 GB, free: 9.34 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.0499, allocations: 0.7231 MB / 0.7719 GB, free: 8.5 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.0499, allocations: 4 kB / 0.7719 GB, free: 8.496 MB / 0.7449 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002146/0.05205, allocations: 1.366 MB / 0.7733 GB, free: 7.113 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.05207, allocations: 10.81 kB / 0.7733 GB, free: 7.105 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.05208, allocations: 8 kB / 0.7733 GB, free: 7.098 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002123/0.05421, allocations: 0.8477 MB / 0.7741 GB, free: 6.246 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.05464, allocations: 191.7 kB / 0.7743 GB, free: 6.059 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006271/0.06091, allocations: 5.562 MB / 0.7797 GB, free: 316 kB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005775/0.06148, allocations: 28 kB / 0.7797 GB, free: 288 kB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.06154, allocations: 32 kB / 0.7798 GB, free: 256 kB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,12,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004072/0.06195, allocations: 184.3 kB / 0.78 GB, free: 60 kB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.0621, allocations: 91.84 kB / 0.78 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.06414, allocations: 1.237 MB / 0.7813 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.06414, allocations: 8 kB / 0.7813 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.06415, allocations: 8 kB / 0.7813 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.06416, allocations: 7.969 kB / 0.7813 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/0.06726, allocations: 2.068 MB / 0.7833 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.06727, allocations: 4 kB / 0.7833 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.06749, allocations: 87.95 kB / 0.7834 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.06774, allocations: 187.5 kB / 0.7836 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/0.06972, allocations: 0.8478 MB / 0.7844 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/0.06977, allocations: 20 kB / 0.7844 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005869/0.07564, allocations: 5.564 MB / 0.7898 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.07564, allocations: 4 kB / 0.7898 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.07768, allocations: 1.323 MB / 0.7911 GB, free: 4.273 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.07781, allocations: 19.95 kB / 0.7912 GB, free: 4.254 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.0781, allocations: 23.94 kB / 0.7912 GB, free: 4.23 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.07829, allocations: 88.23 kB / 0.7913 GB, free: 4.141 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.07832, allocations: 16 kB / 0.7913 GB, free: 4.125 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002532/0.07858, allocations: 288.5 kB / 0.7916 GB, free: 3.848 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.07858, allocations: 0 / 0.7916 GB, free: 3.848 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001461/0.08004, allocations: 0.5273 MB / 0.7921 GB, free: 3.32 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,12,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001661/0.0802, allocations: 104.3 kB / 0.7922 GB, free: 3.207 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.08172, allocations: 1.133 MB / 0.7933 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.882e-05/0.08176, allocations: 23.11 kB / 0.7933 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.08283, allocations: 0.8652 MB / 0.7941 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.0839, allocations: 1.592 MB / 0.7957 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008007/0.09191, allocations: 2.768 MB / 0.7984 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/0.09261, allocations: 459.2 kB / 0.7988 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003451/0.09296, allocations: 83.59 kB / 0.7989 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.09326, allocations: 193.2 kB / 0.7991 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of SimCode: time 2.855e-06/0.09326, allocations: 0 / 0.7991 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of Templates: time 0.02965/0.1229, allocations: 26.57 MB / 0.8251 GB, free: 1.34 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.164132612757385]