Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.0009231/0.0009231, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001412/0.002335, allocations: 449.8 kB / 10.44 MB, free: 248 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.00108/0.00108, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002528, allocations: 479.5 kB / 11.82 MB, free: 2.34 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.9476/0.9476, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08988/1.038, allocations: 53.66 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.799/1.799, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4244/2.224, allocations: 123.3 MB / 0.7283 GB, free: 5.742 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7297 GB, free: 4.422 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.322e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01391/0.01393, allocations: 20.5 MB / 0.7497 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01179/0.02571, allocations: 10.53 MB / 0.76 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.02717, allocations: 210.4 kB / 0.7602 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.02844, allocations: 0.905 MB / 0.761 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.003647/0.03208, allocations: 3.177 MB / 0.7641 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.03418, allocations: 1.84 MB / 0.7659 GB, free: 15.27 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.006927/0.0411, allocations: 9.965 MB / 0.7757 GB, free: 5.273 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004563/0.04566, allocations: 5.475 MB / 0.781 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005537/0.0512, allocations: 6.307 MB / 0.7872 GB, free: 9.312 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00352/0.05472, allocations: 4.37 MB / 0.7915 GB, free: 4.934 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0005964/0.05532, allocations: 0.707 MB / 0.7921 GB, free: 4.227 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.05639, allocations: 0.8092 MB / 0.7929 GB, free: 3.418 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001586/0.05798, allocations: 2.854 MB / 0.7957 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.05962, allocations: 2.013 MB / 0.7977 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003448/0.06307, allocations: 5.484 MB / 0.803 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.233e-05/0.06308, allocations: 0.625 kB / 0.803 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.472e-06/0.06308, allocations: 0 / 0.803 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.621e-05/0.06313, allocations: 1.031 kB / 0.803 GB, free: 9.043 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.005374/0.0685, allocations: 6.91 MB / 0.8098 GB, free: 2.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.06853, allocations: 8.031 kB / 0.8098 GB, free: 2.082 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003035/0.07157, allocations: 1.584 MB / 0.8113 GB, free: 492 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/0.0744, allocations: 2.694 MB / 0.814 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.07457, allocations: 374.4 kB / 0.8143 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000487/0.07506, allocations: 0.4969 MB / 0.8148 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004131/0.07919, allocations: 4.875 MB / 0.8196 GB, free: 7.543 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-05/0.07927, allocations: 31.7 kB / 0.8196 GB, free: 7.512 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003058/0.07958, allocations: 216 kB / 0.8198 GB, free: 7.301 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004171/0.07999, allocations: 349.7 kB / 0.8201 GB, free: 6.957 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.08177, allocations: 1.303 MB / 0.8214 GB, free: 5.648 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.09403, allocations: 16.67 MB / 0.8377 GB, free: 4.52 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/0.09479, allocations: 0.8042 MB / 0.8385 GB, free: 3.707 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006084/0.09539, allocations: 0.6046 MB / 0.8391 GB, free: 3.102 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 8.339e-05/0.09548, allocations: 30 kB / 0.8391 GB, free: 3.074 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.09551, allocations: 60.55 kB / 0.8392 GB, free: 3.004 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=171): time 2.915e-06/0.09552, allocations: 4 kB / 0.8392 GB, free: 3 MB / 0.8074 GB Notification: Performance of matching and sorting (n=174): time 0.01233/0.1078, allocations: 6.655 MB / 0.8457 GB, free: 12.33 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.1079, allocations: 69.41 kB / 0.8457 GB, free: 12.25 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.109, allocations: 1.682 MB / 0.8474 GB, free: 10.55 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.467e-05/0.1091, allocations: 57.7 kB / 0.8474 GB, free: 10.49 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006947/0.1098, allocations: 1.994 MB / 0.8494 GB, free: 8.469 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/0.1101, allocations: 0.6195 MB / 0.85 GB, free: 7.844 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/0.1104, allocations: 367.7 kB / 0.8503 GB, free: 7.477 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.948e-05/0.1105, allocations: 309 kB / 0.8506 GB, free: 7.172 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.1108, allocations: 256.2 kB / 0.8509 GB, free: 6.918 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.1114, allocations: 0.8288 MB / 0.8517 GB, free: 5.84 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.1124, allocations: 1.369 MB / 0.853 GB, free: 4.23 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.1125, allocations: 4 kB / 0.853 GB, free: 4.227 MB / 0.823 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.002476/0.1149, allocations: 1.998 MB / 0.855 GB, free: 2.207 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1149, allocations: 19.94 kB / 0.855 GB, free: 2.188 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.115, allocations: 20.34 kB / 0.855 GB, free: 2.168 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002453/0.1174, allocations: 1.214 MB / 0.8562 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007525/0.1182, allocations: 391.4 kB / 0.8566 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006992/0.1252, allocations: 7.68 MB / 0.8641 GB, free: 8.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/0.1259, allocations: 63.98 kB / 0.8641 GB, free: 8.527 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.389e-05/0.126, allocations: 71.98 kB / 0.8642 GB, free: 8.457 MB / 0.8386 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 (187): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(10,28,71.0%), (6,24,77.8%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007451/0.1268, allocations: 236.1 kB / 0.8644 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.127, allocations: 239.7 kB / 0.8647 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/0.1293, allocations: 1.771 MB / 0.8664 GB, free: 6.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.1293, allocations: 19.94 kB / 0.8664 GB, free: 6.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.1293, allocations: 16 kB / 0.8664 GB, free: 6.145 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/0.1293, allocations: 7.969 kB / 0.8664 GB, free: 6.137 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004507/0.1338, allocations: 3.622 MB / 0.87 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.1338, allocations: 4 kB / 0.87 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/0.1342, allocations: 200.2 kB / 0.8702 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004445/0.1347, allocations: 366.1 kB / 0.8705 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002316/0.137, allocations: 1.183 MB / 0.8717 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/0.1371, allocations: 28 kB / 0.8717 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006842/0.1439, allocations: 7.669 MB / 0.8792 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1439, allocations: 4 kB / 0.8792 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.1461, allocations: 1.882 MB / 0.881 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.1463, allocations: 28 kB / 0.881 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000496/0.1468, allocations: 43.98 kB / 0.8811 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002584/0.147, allocations: 152.9 kB / 0.8812 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.1471, allocations: 43.94 kB / 0.8813 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005692/0.1477, allocations: 0.8508 MB / 0.8821 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.1477, allocations: 0 / 0.8821 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00175/0.1494, allocations: 1.082 MB / 0.8832 GB, free: 4.516 MB / 0.8542 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001828/0.1496, allocations: 137.5 kB / 0.8833 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002372/0.152, allocations: 2.166 MB / 0.8854 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.286e-05/0.152, allocations: 55.08 kB / 0.8855 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001574/0.1536, allocations: 1.647 MB / 0.8871 GB, free: 440 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004038/0.1576, allocations: 9.693 MB / 0.8965 GB, free: 4.773 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03252/0.1902, allocations: 8.227 MB / 0.9046 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009834/0.1911, allocations: 1.242 MB / 0.9058 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000909/0.192, allocations: 331.4 kB / 0.9061 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/0.1932, allocations: 0.7489 MB / 0.9068 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of SimCode: time 1.142e-06/0.1932, allocations: 0 / 0.9068 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of Templates: time 0.06543/0.2586, allocations: 60.69 MB / 0.9661 GB, free: 14.64 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 5.720832702703774]