Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008655/0.0008655, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001192/0.002058, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007408/0.0007408, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009917/0.001733, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9389/0.9389, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09289/1.032, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.438/2.438, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2634/2.701, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.2e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01143/0.01145, allocations: 9.914 MB / 0.828 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.02175, allocations: 6.13 MB / 0.834 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.02299, allocations: 91.12 kB / 0.8341 GB, free: 2.695 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.02423, allocations: 401 kB / 0.8344 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.003656/0.02788, allocations: 1.536 MB / 0.8359 GB, free: 0.7617 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.02921, allocations: 0.655 MB / 0.8366 GB, free: 108 kB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.003258/0.03247, allocations: 2.749 MB / 0.8393 GB, free: 13.34 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.03398, allocations: 1.157 MB / 0.8404 GB, free: 12.14 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.03655, allocations: 1.774 MB / 0.8421 GB, free: 10.35 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.03822, allocations: 1.067 MB / 0.8432 GB, free: 9.281 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004277/0.03865, allocations: 164 kB / 0.8433 GB, free: 9.121 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008376/0.03949, allocations: 323.6 kB / 0.8436 GB, free: 8.805 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006264/0.04012, allocations: 0.5805 MB / 0.8442 GB, free: 8.223 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008316/0.04095, allocations: 0.538 MB / 0.8447 GB, free: 7.684 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.04267, allocations: 1.452 MB / 0.8461 GB, free: 6.227 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.985e-05/0.04269, allocations: 0 / 0.8461 GB, free: 6.227 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.693e-06/0.04269, allocations: 0 / 0.8461 GB, free: 6.227 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.948e-05/0.04276, allocations: 0 / 0.8461 GB, free: 6.227 MB / 0.823 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.003387/0.04615, allocations: 2.341 MB / 0.8484 GB, free: 3.852 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.04619, allocations: 12.62 kB / 0.8484 GB, free: 3.84 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003071/0.04926, allocations: 0.9222 MB / 0.8493 GB, free: 2.898 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/0.05132, allocations: 1.053 MB / 0.8504 GB, free: 1.793 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.864e-05/0.05138, allocations: 90.73 kB / 0.8505 GB, free: 1.703 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.05159, allocations: 136.2 kB / 0.8506 GB, free: 1.57 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.05365, allocations: 1.618 MB / 0.8522 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/0.05369, allocations: 11.86 kB / 0.8522 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.0538, allocations: 55.98 kB / 0.8522 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003075/0.0541, allocations: 134.2 kB / 0.8524 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009233/0.05503, allocations: 0.566 MB / 0.8529 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006957/0.06199, allocations: 5.728 MB / 0.8585 GB, free: 9.098 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.06304, allocations: 0.556 MB / 0.859 GB, free: 8.535 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.06338, allocations: 255.7 kB / 0.8593 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.8e-05/0.06344, allocations: 17 kB / 0.8593 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.06347, allocations: 43.56 kB / 0.8593 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=89): time 4.067e-06/0.06348, allocations: 4 kB / 0.8594 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90): time 0.007597/0.07108, allocations: 3.22 MB / 0.8625 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.07112, allocations: 68.34 kB / 0.8626 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/0.07182, allocations: 0.848 MB / 0.8634 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.285e-05/0.07189, allocations: 41.7 kB / 0.8634 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.07218, allocations: 0.5806 MB / 0.864 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.07239, allocations: 329.1 kB / 0.8643 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.07263, allocations: 186.8 kB / 0.8645 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.07273, allocations: 345.9 kB / 0.8648 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.073, allocations: 194.5 kB / 0.865 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.07335, allocations: 444.5 kB / 0.8654 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007163/0.07407, allocations: 0.7116 MB / 0.8661 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.07408, allocations: 4 kB / 0.8661 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001898/0.07598, allocations: 1.206 MB / 0.8673 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.07601, allocations: 11.94 kB / 0.8673 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.07603, allocations: 8 kB / 0.8673 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/0.07838, allocations: 0.7658 MB / 0.8681 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006967/0.07908, allocations: 235.6 kB / 0.8683 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008448/0.08752, allocations: 12.4 MB / 0.8804 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000826/0.08835, allocations: 52.14 kB / 0.8805 GB, free: 1.352 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.607e-05/0.08843, allocations: 39.97 kB / 0.8805 GB, free: 1.312 MB / 0.8542 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.0004248/0.08885, allocations: 180.3 kB / 0.8807 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.08906, allocations: 111.9 kB / 0.8808 GB, free: 1.016 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.09122, allocations: 1.196 MB / 0.8819 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.09123, allocations: 8 kB / 0.882 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.09124, allocations: 8 kB / 0.882 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.09125, allocations: 7.984 kB / 0.882 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.09443, allocations: 2.022 MB / 0.8839 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.09443, allocations: 0 / 0.8839 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007466/0.09518, allocations: 171.9 kB / 0.8841 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004732/0.09565, allocations: 238.9 kB / 0.8843 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002428/0.09808, allocations: 0.754 MB / 0.8851 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.61e-05/0.09817, allocations: 31.91 kB / 0.8851 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009577/0.1077, allocations: 12.06 MB / 0.8969 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.1077, allocations: 4 kB / 0.8969 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.1102, allocations: 1.196 MB / 0.898 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.1105, allocations: 16 kB / 0.8981 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006418/0.1111, allocations: 43.97 kB / 0.8981 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002669/0.1114, allocations: 88.72 kB / 0.8982 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.13e-05/0.1115, allocations: 27.97 kB / 0.8982 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004805/0.1119, allocations: 429 kB / 0.8986 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1119, allocations: 0 / 0.8986 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001456/0.1134, allocations: 476 kB / 0.8991 GB, free: 13.14 MB / 0.8855 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.0002354/0.1136, allocations: 114.6 kB / 0.8992 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002562/0.1162, allocations: 1.943 MB / 0.9011 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.382e-05/0.1163, allocations: 23.62 kB / 0.9011 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001985/0.1182, allocations: 1.601 MB / 0.9027 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.1199, allocations: 0.6213 MB / 0.9033 GB, free: 8.613 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.1313, allocations: 2.59 MB / 0.9058 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.1317, allocations: 380.3 kB / 0.9062 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001193/0.1329, allocations: 291.2 kB / 0.9064 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009673/0.1339, allocations: 403 kB / 0.9068 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of SimCode: time 1.743e-06/0.1339, allocations: 0 / 0.9068 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of Templates: time 0.04666/0.1806, allocations: 35.26 MB / 0.9413 GB, free: 2.258 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine/Buildings_latest_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: 6.022214917466044]