Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001251/0.001251, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0016/0.002851, 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.00109/0.00109, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002455, 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.9437/0.9437, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08991/1.034, allocations: 53.64 MB / 243.3 MB, free: 15.59 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.763/1.763, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4837/2.247, allocations: 123.3 MB / 0.728 GB, free: 5.828 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,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") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.642e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01173/0.01175, allocations: 9.904 MB / 0.739 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.02194, allocations: 6.145 MB / 0.745 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.02319, allocations: 89.97 kB / 0.7451 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0009699/0.02416, allocations: 401 kB / 0.7455 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.027, allocations: 1.546 MB / 0.747 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.02812, allocations: 0.6531 MB / 0.7476 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002618/0.03074, allocations: 2.75 MB / 0.7503 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.03215, allocations: 1.162 MB / 0.7514 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/0.03446, allocations: 1.762 MB / 0.7532 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.03587, allocations: 1.08 MB / 0.7542 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002897/0.03616, allocations: 164.6 kB / 0.7544 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000695/0.03685, allocations: 324.7 kB / 0.7547 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004464/0.0373, allocations: 0.5805 MB / 0.7552 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0005627/0.03786, allocations: 0.5341 MB / 0.7558 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.03916, allocations: 1.445 MB / 0.7572 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.716e-05/0.03918, allocations: 0 / 0.7572 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.673e-06/0.03918, allocations: 0 / 0.7572 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.729e-05/0.03921, allocations: 4.844 kB / 0.7572 GB, free: 7.969 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.002367/0.04158, allocations: 2.347 MB / 0.7595 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.04162, allocations: 8.031 kB / 0.7595 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002941/0.04456, allocations: 0.9184 MB / 0.7604 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.04577, allocations: 1.061 MB / 0.7614 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.824e-05/0.04582, allocations: 86.73 kB / 0.7615 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.04597, allocations: 128.3 kB / 0.7616 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.04759, allocations: 1.616 MB / 0.7632 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/0.04762, allocations: 19.84 kB / 0.7632 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.793e-05/0.04772, allocations: 53.33 kB / 0.7633 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002599/0.04798, allocations: 134.2 kB / 0.7634 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007172/0.0487, allocations: 0.5595 MB / 0.7639 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005112/0.05381, allocations: 5.738 MB / 0.7695 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000968/0.05478, allocations: 0.5452 MB / 0.7701 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.05509, allocations: 260.6 kB / 0.7703 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.853e-05/0.05514, allocations: 17.73 kB / 0.7703 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.05517, allocations: 43.56 kB / 0.7704 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=89): time 3.577e-06/0.05517, allocations: 0.5312 kB / 0.7704 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=90): time 0.006573/0.06175, allocations: 3.223 MB / 0.7735 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.06178, allocations: 68.34 kB / 0.7736 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005532/0.06233, allocations: 0.8558 MB / 0.7744 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.041e-05/0.0624, allocations: 45.7 kB / 0.7745 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.06264, allocations: 0.5767 MB / 0.775 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.06282, allocations: 321.1 kB / 0.7753 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.06305, allocations: 186.8 kB / 0.7755 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.06313, allocations: 345.9 kB / 0.7759 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.06338, allocations: 206.5 kB / 0.7761 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.06373, allocations: 436.5 kB / 0.7765 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006377/0.06437, allocations: 0.7233 MB / 0.7772 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.06437, allocations: 0 / 0.7772 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001707/0.06608, allocations: 1.199 MB / 0.7783 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.0661, allocations: 11.94 kB / 0.7784 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.06611, allocations: 8 kB / 0.7784 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/0.06794, allocations: 0.7658 MB / 0.7791 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006446/0.06859, allocations: 235.6 kB / 0.7793 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00712/0.0757, allocations: 12.4 MB / 0.7915 GB, free: 3.262 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.07677, allocations: 56.08 kB / 0.7915 GB, free: 3.207 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.07687, allocations: 43.97 kB / 0.7915 GB, free: 3.164 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 (90): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005403/0.07741, allocations: 172.4 kB / 0.7917 GB, free: 2.984 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.07765, allocations: 119.9 kB / 0.7918 GB, free: 2.867 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.07961, allocations: 1.18 MB / 0.793 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.07961, allocations: 8 kB / 0.793 GB, free: 1.629 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.07962, allocations: 12 kB / 0.793 GB, free: 1.617 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.07963, allocations: 3.984 kB / 0.793 GB, free: 1.613 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003091/0.08272, allocations: 2.019 MB / 0.795 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.08273, allocations: 192 / 0.795 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005345/0.08326, allocations: 167.7 kB / 0.7951 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.08363, allocations: 246.9 kB / 0.7954 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001982/0.08561, allocations: 0.7424 MB / 0.7961 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-05/0.08568, allocations: 31.91 kB / 0.7961 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006613/0.09229, allocations: 12.07 MB / 0.8079 GB, free: 1.336 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.0923, allocations: 4.344 kB / 0.8079 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.09408, allocations: 1.192 MB / 0.8091 GB, free: 68 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.09426, allocations: 20 kB / 0.8091 GB, free: 48 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004783/0.09474, allocations: 43.97 kB / 0.8091 GB, free: 4 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.09494, allocations: 88.72 kB / 0.8092 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.09499, allocations: 23.97 kB / 0.8092 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003346/0.09533, allocations: 433 kB / 0.8097 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.09533, allocations: 4 kB / 0.8097 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001216/0.09654, allocations: 468 kB / 0.8101 GB, free: 15 MB / 0.7917 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 (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002064/0.09675, allocations: 112.2 kB / 0.8102 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00186/0.09861, allocations: 1.94 MB / 0.8121 GB, free: 12.83 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.574e-05/0.09865, allocations: 27.3 kB / 0.8121 GB, free: 12.81 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.09995, allocations: 1.605 MB / 0.8137 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.1012, allocations: 0.6363 MB / 0.8143 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009102/0.1103, allocations: 2.582 MB / 0.8168 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.1107, allocations: 384.3 kB / 0.8172 GB, free: 7.418 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001129/0.1118, allocations: 287.2 kB / 0.8175 GB, free: 7.133 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009679/0.1128, allocations: 407 kB / 0.8179 GB, free: 6.727 MB / 0.7917 GB Notification: Performance of SimCode: time 2.154e-06/0.1128, allocations: 0 / 0.8179 GB, free: 6.727 MB / 0.7917 GB Notification: Performance of Templates: time 0.04891/0.1617, allocations: 35.24 MB / 0.8523 GB, free: 4.125 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.451770671643317]