Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001094/0.001094, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001676/0.00277, 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.0009757/0.0009757, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.002017, 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.9455/0.9455, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08876/1.034, 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.818/1.818, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4707/2.289, 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,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.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 0.7297 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.979e-05, allocations: 4.422 kB / 0.7297 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005895/0.005925, allocations: 4.297 MB / 0.7339 GB, free: 180 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002795/0.00872, allocations: 1.636 MB / 0.7354 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.008979, allocations: 43.62 kB / 0.7355 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005624/0.009541, allocations: 212.1 kB / 0.7357 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000444/0.009985, allocations: 476.1 kB / 0.7361 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.01037, allocations: 383 kB / 0.7365 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007508/0.01112, allocations: 1.225 MB / 0.7377 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004852/0.01161, allocations: 0.5197 MB / 0.7382 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005111/0.01212, allocations: 0.6709 MB / 0.7389 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004386/0.01256, allocations: 495.6 kB / 0.7393 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.958e-05/0.01262, allocations: 60.88 kB / 0.7394 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.01281, allocations: 131.8 kB / 0.7395 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.01298, allocations: 283.9 kB / 0.7398 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.01314, allocations: 227.5 kB / 0.74 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004671/0.0136, allocations: 0.6312 MB / 0.7406 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.01361, allocations: 0 / 0.7406 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.81e-07/0.01361, allocations: 1.75 kB / 0.7406 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.01363, allocations: 0 / 0.7406 GB, free: 9.227 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.000977/0.0146, allocations: 1.085 MB / 0.7417 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.01463, allocations: 12.69 kB / 0.7417 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006815/0.01532, allocations: 341.3 kB / 0.742 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.01588, allocations: 0.5116 MB / 0.7425 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.01591, allocations: 50.42 kB / 0.7426 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.776e-05/0.01597, allocations: 72.3 kB / 0.7426 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.01657, allocations: 0.7749 MB / 0.7434 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.01659, allocations: 8.125 kB / 0.7434 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.01663, allocations: 28.36 kB / 0.7434 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-05/0.01669, allocations: 70.27 kB / 0.7435 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.01694, allocations: 254.5 kB / 0.7437 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.0191, allocations: 3.877 MB / 0.7475 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005687/0.01967, allocations: 254.1 kB / 0.7478 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.01994, allocations: 211.3 kB / 0.748 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.01996, allocations: 8.594 kB / 0.748 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.01998, allocations: 50.53 kB / 0.748 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=41): time 1.382e-06/0.01998, allocations: 1.5 kB / 0.748 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of matching and sorting (n=42): time 0.001456/0.02144, allocations: 0.8827 MB / 0.7489 GB, free: 416 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.02146, allocations: 57.72 kB / 0.749 GB, free: 348 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.02167, allocations: 415.2 kB / 0.7493 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.0217, allocations: 37.7 kB / 0.7494 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.02182, allocations: 356.9 kB / 0.7497 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/0.02189, allocations: 162.6 kB / 0.7499 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.925e-05/0.02198, allocations: 110.2 kB / 0.75 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.481e-05/0.02206, allocations: 371.2 kB / 0.7503 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.02214, allocations: 65.28 kB / 0.7504 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.0223, allocations: 277.7 kB / 0.7507 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.0226, allocations: 443.8 kB / 0.7511 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.0226, allocations: 0 / 0.7511 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005912/0.02319, allocations: 0.5622 MB / 0.7516 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.02321, allocations: 8 kB / 0.7516 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.02322, allocations: 4.812 kB / 0.7517 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004879/0.0237, allocations: 254.7 kB / 0.7519 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.02386, allocations: 99.83 kB / 0.752 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.02691, allocations: 5.402 MB / 0.7573 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.02705, allocations: 16 kB / 0.7573 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.02707, allocations: 25.03 kB / 0.7573 GB, free: 7.16 MB / 0.7292 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.02719, allocations: 150.1 kB / 0.7574 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.02724, allocations: 51.95 kB / 0.7575 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005415/0.02778, allocations: 472.5 kB / 0.7579 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.02778, allocations: 8.938 kB / 0.758 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.02779, allocations: 4 kB / 0.758 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.02779, allocations: 5.766 kB / 0.758 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008824/0.02868, allocations: 0.8793 MB / 0.7588 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.02868, allocations: 4 kB / 0.7588 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.697e-05/0.02875, allocations: 32.86 kB / 0.7589 GB, free: 5.484 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/0.02884, allocations: 75.59 kB / 0.7589 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000447/0.02928, allocations: 247.5 kB / 0.7592 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.0293, allocations: 12 kB / 0.7592 GB, free: 5.148 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.03221, allocations: 5.399 MB / 0.7645 GB, free: 15.37 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.03222, allocations: 7.938 kB / 0.7645 GB, free: 15.36 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/0.03279, allocations: 0.5898 MB / 0.765 GB, free: 14.72 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.03282, allocations: 18.53 kB / 0.7651 GB, free: 14.7 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.03293, allocations: 8 kB / 0.7651 GB, free: 14.7 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.03298, allocations: 43.92 kB / 0.7651 GB, free: 14.65 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.033, allocations: 4 kB / 0.7651 GB, free: 14.65 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 9.963e-05/0.0331, allocations: 172.4 kB / 0.7653 GB, free: 14.48 MB / 0.7449 GB Notification: Performance of sort global known variables: time 7e-08/0.0331, allocations: 0 / 0.7653 GB, free: 14.48 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0003694/0.03346, allocations: 200 kB / 0.7655 GB, free: 14.29 MB / 0.7449 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.258e-05/0.03356, allocations: 95.78 kB / 0.7656 GB, free: 14.19 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0006914/0.03425, allocations: 0.8758 MB / 0.7664 GB, free: 13.27 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.022e-05/0.03427, allocations: 20.42 kB / 0.7664 GB, free: 13.25 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0004765/0.03475, allocations: 0.7144 MB / 0.7671 GB, free: 12.48 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.03592, allocations: 1.67 MB / 0.7688 GB, free: 10.5 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.03892, allocations: 1.2 MB / 0.7699 GB, free: 9.254 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.03904, allocations: 210.2 kB / 0.7701 GB, free: 9.027 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.03916, allocations: 68.14 kB / 0.7702 GB, free: 8.965 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.03936, allocations: 169.8 kB / 0.7704 GB, free: 8.797 MB / 0.7449 GB Notification: Performance of SimCode: time 5.2e-07/0.03936, allocations: 4 kB / 0.7704 GB, free: 8.797 MB / 0.7449 GB Notification: Performance of Templates: time 0.0122/0.05156, allocations: 11.35 MB / 0.7814 GB, free: 13.65 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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: 4.87377714086324]