Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0008245/0.0008245, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.001915, allocations: 440 kB / 10.41 MB, free: 284 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.000661/0.000661, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008592/0.00152, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.966/0.966, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1148/1.081, allocations: 53.68 MB / 243.4 MB, free: 15.5 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.353/2.353, allocations: 447.1 MB / 0.675 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2338/2.587, allocations: 146 MB / 0.8176 GB, free: 3.863 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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.351e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01358/0.0136, allocations: 18.97 MB / 0.8375 GB, free: 15.47 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01184/0.02544, allocations: 9.862 MB / 0.8471 GB, free: 5.578 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.02696, allocations: 194.4 kB / 0.8473 GB, free: 5.387 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.02821, allocations: 0.8259 MB / 0.8481 GB, free: 4.555 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.003816/0.03203, allocations: 2.896 MB / 0.8509 GB, free: 1.641 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.03419, allocations: 1.591 MB / 0.8525 GB, free: 48 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.006838/0.04103, allocations: 8.573 MB / 0.8608 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004177/0.0452, allocations: 4.685 MB / 0.8654 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005797/0.051, allocations: 5.431 MB / 0.8707 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/0.05444, allocations: 3.643 MB / 0.8743 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006311/0.05507, allocations: 0.5898 MB / 0.8749 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.05615, allocations: 0.6795 MB / 0.8755 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001408/0.05755, allocations: 2.397 MB / 0.8779 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.05893, allocations: 1.696 MB / 0.8795 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003386/0.06232, allocations: 4.639 MB / 0.884 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.06233, allocations: 0 / 0.884 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.482e-06/0.06233, allocations: 0 / 0.884 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.344e-05/0.06237, allocations: 4 kB / 0.8841 GB, free: 15.46 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.004862/0.06723, allocations: 5.935 MB / 0.8898 GB, free: 9.469 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.06726, allocations: 8.031 kB / 0.8899 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/0.07001, allocations: 1.359 MB / 0.8912 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.0724, allocations: 2.384 MB / 0.8935 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.07254, allocations: 316.8 kB / 0.8938 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004183/0.07296, allocations: 436.3 kB / 0.8942 GB, free: 4.863 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003922/0.07688, allocations: 4.157 MB / 0.8983 GB, free: 288 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.302e-05/0.07695, allocations: 27.75 kB / 0.8983 GB, free: 260 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002678/0.07722, allocations: 180 kB / 0.8985 GB, free: 80 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003627/0.07758, allocations: 304.1 kB / 0.8988 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.07909, allocations: 1.137 MB / 0.8999 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/0.09134, allocations: 15.26 MB / 0.9148 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.09197, allocations: 490.8 kB / 0.9153 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/0.09238, allocations: 420.6 kB / 0.9157 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.165e-05/0.09246, allocations: 25.25 kB / 0.9157 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.09249, allocations: 47.88 kB / 0.9157 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=130): time 3.206e-06/0.0925, allocations: 0 / 0.9157 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of matching and sorting (n=133): time 0.007094/0.09959, allocations: 3.995 MB / 0.9196 GB, free: 9.832 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.09962, allocations: 64.72 kB / 0.9197 GB, free: 9.758 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.1007, allocations: 1.536 MB / 0.9212 GB, free: 8.191 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-05/0.1008, allocations: 49.7 kB / 0.9212 GB, free: 8.137 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007216/0.1015, allocations: 1.755 MB / 0.923 GB, free: 6.363 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.1018, allocations: 495.7 kB / 0.9234 GB, free: 5.875 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/0.1021, allocations: 311.2 kB / 0.9237 GB, free: 5.562 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.1021, allocations: 305.1 kB / 0.924 GB, free: 5.262 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.1024, allocations: 215.8 kB / 0.9242 GB, free: 5.051 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005017/0.1029, allocations: 0.7563 MB / 0.925 GB, free: 4.059 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.1039, allocations: 1.228 MB / 0.9262 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.1039, allocations: 4 kB / 0.9262 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.002131/0.106, allocations: 1.633 MB / 0.9278 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.1061, allocations: 12 kB / 0.9278 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.1061, allocations: 20 kB / 0.9278 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001875/0.108, allocations: 0.8561 MB / 0.9286 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007718/0.1087, allocations: 367.5 kB / 0.929 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007489/0.1162, allocations: 12.54 MB / 0.9412 GB, free: 2.188 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.1174, allocations: 56.03 kB / 0.9413 GB, free: 2.133 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.304e-05/0.1175, allocations: 67.98 kB / 0.9413 GB, free: 2.066 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (183): * Single equations (assignments): 174 * 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 {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008397/0.1183, allocations: 236.1 kB / 0.9416 GB, free: 1.824 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/0.1186, allocations: 195.8 kB / 0.9418 GB, free: 1.633 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.1203, allocations: 1.364 MB / 0.9431 GB, free: 220 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.1203, allocations: 16 kB / 0.9431 GB, free: 204 kB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.1203, allocations: 8 kB / 0.9431 GB, free: 196 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/0.1204, allocations: 7.969 kB / 0.9431 GB, free: 188 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004083/0.1244, allocations: 2.929 MB / 0.946 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.1244, allocations: 11.88 kB / 0.946 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/0.1249, allocations: 180.2 kB / 0.9462 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004881/0.1254, allocations: 310.3 kB / 0.9465 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001752/0.1271, allocations: 0.8127 MB / 0.9473 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/0.1272, allocations: 28 kB / 0.9473 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007148/0.1343, allocations: 12.55 MB / 0.9595 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.1343, allocations: 11.92 kB / 0.9595 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.1363, allocations: 1.483 MB / 0.961 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.1365, allocations: 24 kB / 0.961 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/0.137, allocations: 32 kB / 0.961 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/0.1373, allocations: 120.7 kB / 0.9612 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.1373, allocations: 28 kB / 0.9612 GB, free: 12.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006161/0.1379, allocations: 0.7778 MB / 0.9619 GB, free: 11.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1379, allocations: 0 / 0.9619 GB, free: 11.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001919/0.1399, allocations: 0.8633 MB / 0.9628 GB, free: 10.89 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (91): * Single equations (assignments): 82 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002033/0.1401, allocations: 137.6 kB / 0.9629 GB, free: 10.75 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002223/0.1423, allocations: 2.292 MB / 0.9652 GB, free: 8.34 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.14e-05/0.1423, allocations: 49.73 kB / 0.9652 GB, free: 8.293 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.1439, allocations: 1.862 MB / 0.967 GB, free: 6.309 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004089/0.148, allocations: 8.722 MB / 0.9755 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02797/0.1759, allocations: 6.884 MB / 0.9823 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.177, allocations: 1.043 MB / 0.9833 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0009742/0.1779, allocations: 296.4 kB / 0.9836 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.179, allocations: 0.6786 MB / 0.9842 GB, free: 2.781 MB / 0.9636 GB Notification: Performance of SimCode: time 1.182e-06/0.179, allocations: 7.938 kB / 0.9842 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of Templates: time 0.05817/0.2372, allocations: 49.52 MB / 1.033 GB, free: 2.391 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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: 6.017741411924362]