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.000751/0.000751, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001767, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006733/0.0006733, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008731/0.001546, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9246/0.9246, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08577/1.01, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.814/1.814, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.468/2.282, allocations: 123.3 MB / 0.728 GB, free: 5.836 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.984e-06/1.984e-06, allocations: 0 / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.174e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.008342/0.008364, allocations: 10.63 MB / 0.7397 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00839/0.01675, allocations: 7.077 MB / 0.7466 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.01777, allocations: 91.19 kB / 0.7467 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0008292/0.01859, allocations: 417.9 kB / 0.7471 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.02173, allocations: 1.798 MB / 0.7489 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.02281, allocations: 0.6484 MB / 0.7495 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002937/0.02575, allocations: 2.99 MB / 0.7524 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.02694, allocations: 1.173 MB / 0.7536 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002336/0.02928, allocations: 2.257 MB / 0.7558 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.03052, allocations: 1.04 MB / 0.7568 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.03069, allocations: 163.9 kB / 0.7569 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005719/0.03126, allocations: 318.4 kB / 0.7572 GB, free: 7.938 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003987/0.03166, allocations: 0.5766 MB / 0.7578 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0007213/0.03238, allocations: 0.538 MB / 0.7583 GB, free: 6.82 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.03366, allocations: 1.456 MB / 0.7597 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.767e-05/0.03368, allocations: 4 kB / 0.7597 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.402e-06/0.03368, allocations: 0 / 0.7597 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.158e-05/0.03371, allocations: 0 / 0.7597 GB, free: 5.355 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.002151/0.03587, allocations: 2.392 MB / 0.7621 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.0359, allocations: 8.844 kB / 0.7621 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002945/0.03884, allocations: 0.9427 MB / 0.763 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.04, allocations: 1.073 MB / 0.7641 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.04005, allocations: 87.81 kB / 0.7641 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.04021, allocations: 124.3 kB / 0.7643 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.04193, allocations: 1.619 MB / 0.7658 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.04196, allocations: 12.47 kB / 0.7659 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.665e-05/0.04205, allocations: 47.98 kB / 0.7659 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002713/0.04232, allocations: 154.9 kB / 0.766 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007255/0.04305, allocations: 0.5679 MB / 0.7666 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005074/0.04812, allocations: 5.739 MB / 0.7722 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.04919, allocations: 0.5815 MB / 0.7728 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.0495, allocations: 258.8 kB / 0.773 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.375e-05/0.04955, allocations: 19.59 kB / 0.773 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.04958, allocations: 43.56 kB / 0.7731 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=89): time 3.146e-06/0.04958, allocations: 0 / 0.7731 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=90): time 0.008391/0.05797, allocations: 3.9 MB / 0.7769 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.058, allocations: 68.34 kB / 0.777 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006289/0.05863, allocations: 0.8951 MB / 0.7778 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.0587, allocations: 37.7 kB / 0.7779 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.05896, allocations: 0.589 MB / 0.7784 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.05916, allocations: 321.1 kB / 0.7787 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.0594, allocations: 190.7 kB / 0.7789 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.05949, allocations: 349.8 kB / 0.7793 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.05988, allocations: 198.5 kB / 0.7795 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.06024, allocations: 440.5 kB / 0.7799 GB, free: 212 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006632/0.0609, allocations: 0.7116 MB / 0.7806 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.0609, allocations: 0 / 0.7806 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001926/0.06283, allocations: 1.266 MB / 0.7818 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.06285, allocations: 8 kB / 0.7818 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.06286, allocations: 8 kB / 0.7818 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002108/0.06497, allocations: 0.8533 MB / 0.7827 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/0.06558, allocations: 211.6 kB / 0.7829 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005778/0.07136, allocations: 7.003 MB / 0.7897 GB, free: 5.629 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007446/0.07211, allocations: 47.98 kB / 0.7897 GB, free: 5.582 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/0.07218, allocations: 43.95 kB / 0.7898 GB, free: 5.539 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.0003629/0.07254, allocations: 172.4 kB / 0.7899 GB, free: 5.359 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.07273, allocations: 127.9 kB / 0.7901 GB, free: 5.234 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001989/0.07472, allocations: 1.241 MB / 0.7913 GB, free: 3.965 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.07473, allocations: 11.94 kB / 0.7913 GB, free: 3.953 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.07474, allocations: 12.09 kB / 0.7913 GB, free: 3.941 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.07475, allocations: 7.969 kB / 0.7913 GB, free: 3.934 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/0.07788, allocations: 1.98 MB / 0.7932 GB, free: 1.891 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.07788, allocations: 4 kB / 0.7932 GB, free: 1.887 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004852/0.07837, allocations: 135.8 kB / 0.7934 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.07872, allocations: 238.9 kB / 0.7936 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002141/0.08086, allocations: 0.8541 MB / 0.7944 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.388e-05/0.08092, allocations: 23.97 kB / 0.7945 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00584/0.08676, allocations: 6.985 MB / 0.8013 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.08677, allocations: 7.938 kB / 0.8013 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.08884, allocations: 1.258 MB / 0.8025 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/0.08905, allocations: 20 kB / 0.8025 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/0.08954, allocations: 39.98 kB / 0.8026 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.08977, allocations: 96.7 kB / 0.8027 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.86e-05/0.08983, allocations: 27.95 kB / 0.8027 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003893/0.09022, allocations: 455.7 kB / 0.8031 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3e-08/0.09022, allocations: 0 / 0.8031 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001102/0.09132, allocations: 488 kB / 0.8036 GB, free: 6.836 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.0002148/0.09153, allocations: 112.3 kB / 0.8037 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001802/0.09333, allocations: 1.465 MB / 0.8051 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-05/0.09337, allocations: 23.12 kB / 0.8052 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.09453, allocations: 1.135 MB / 0.8063 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.09577, allocations: 0.6463 MB / 0.8069 GB, free: 3.363 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008406/0.1042, allocations: 2.583 MB / 0.8094 GB, free: 0.7305 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.1045, allocations: 399.9 kB / 0.8098 GB, free: 320 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0008183/0.1053, allocations: 283.2 kB / 0.8101 GB, free: 32 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007553/0.1061, allocations: 399 kB / 0.8104 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of SimCode: time 1.814e-06/0.1061, allocations: 0 / 0.8104 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of Templates: time 0.04204/0.1481, allocations: 36.39 MB / 0.846 GB, free: 11.87 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.360595143400133]