Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.000748/0.000748, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.00182, 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.0006969/0.0006969, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008872/0.001584, 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.9436/0.9436, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09166/1.035, allocations: 53.65 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.772/1.772, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4664/2.239, allocations: 123.3 MB / 0.728 GB, free: 5.832 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_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.209e-05, allocations: 6.906 kB / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004427/0.004449, allocations: 4.957 MB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.006466, allocations: 1.806 MB / 0.7359 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.006668, allocations: 35.69 kB / 0.736 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.007101, allocations: 227.1 kB / 0.7362 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005872/0.007689, allocations: 0.5133 MB / 0.7367 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.008156, allocations: 394.2 kB / 0.7371 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008955/0.009051, allocations: 1.362 MB / 0.7384 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004952/0.009546, allocations: 0.5354 MB / 0.7389 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005362/0.01008, allocations: 0.7418 MB / 0.7396 GB, free: 10 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004478/0.01053, allocations: 0.5268 MB / 0.7401 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.301e-05/0.01059, allocations: 68 kB / 0.7402 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.01078, allocations: 140.3 kB / 0.7403 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.01095, allocations: 303.9 kB / 0.7406 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.01115, allocations: 259.4 kB / 0.7409 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004977/0.01165, allocations: 0.6901 MB / 0.7416 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/0.01166, allocations: 4 kB / 0.7416 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.31e-07/0.01166, allocations: 0 / 0.7416 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.01167, allocations: 1.031 kB / 0.7416 GB, free: 8.027 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001267/0.01294, allocations: 1.227 MB / 0.7428 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.01297, allocations: 8.75 kB / 0.7428 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007735/0.01374, allocations: 354.2 kB / 0.7431 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.01426, allocations: 0.5154 MB / 0.7436 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.01429, allocations: 49.67 kB / 0.7437 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.738e-05/0.01436, allocations: 74.7 kB / 0.7437 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006271/0.01498, allocations: 0.9485 MB / 0.7447 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.015, allocations: 12.08 kB / 0.7447 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.01504, allocations: 28.36 kB / 0.7447 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.029e-05/0.01513, allocations: 89.19 kB / 0.7448 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.01542, allocations: 256.4 kB / 0.745 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.0176, allocations: 3.917 MB / 0.7488 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.01795, allocations: 282.9 kB / 0.7491 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.01805, allocations: 99.83 kB / 0.7492 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.01808, allocations: 8.5 kB / 0.7492 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.0181, allocations: 35.06 kB / 0.7493 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 1.573e-06/0.0181, allocations: 4 kB / 0.7493 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.001254/0.01935, allocations: 0.8063 MB / 0.75 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.01938, allocations: 56.84 kB / 0.7501 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.01963, allocations: 482.9 kB / 0.7506 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.01965, allocations: 36.48 kB / 0.7506 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.01979, allocations: 384.7 kB / 0.751 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.968e-05/0.01987, allocations: 174.5 kB / 0.7511 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.01997, allocations: 122.5 kB / 0.7512 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.287e-05/0.02007, allocations: 374.7 kB / 0.7516 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.02015, allocations: 69.97 kB / 0.7517 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.02033, allocations: 305.5 kB / 0.752 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.02063, allocations: 440.6 kB / 0.7524 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.02064, allocations: 4 kB / 0.7524 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0005818/0.02122, allocations: 0.562 MB / 0.7529 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.02123, allocations: 8 kB / 0.7529 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.02124, allocations: 9.75 kB / 0.7529 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005799/0.02182, allocations: 297.1 kB / 0.7532 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.02206, allocations: 123.8 kB / 0.7534 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/0.02496, allocations: 5.317 MB / 0.7585 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.02515, allocations: 20 kB / 0.7586 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.02517, allocations: 27.98 kB / 0.7586 GB, free: 5.566 MB / 0.7292 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 (67): * Single equations (assignments): 63 * 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,6,100.0%), (2,4,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.0001187/0.02529, allocations: 154.4 kB / 0.7587 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.02535, allocations: 57.06 kB / 0.7588 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004929/0.02584, allocations: 453 kB / 0.7592 GB, free: 4.883 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.02585, allocations: 4 kB / 0.7592 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.02585, allocations: 7.984 kB / 0.7592 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.02585, allocations: 0.9062 kB / 0.7592 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000884/0.02674, allocations: 0.8794 MB / 0.7601 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.02674, allocations: 4.125 kB / 0.7601 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.02687, allocations: 60.92 kB / 0.7602 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.02698, allocations: 83.55 kB / 0.7602 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005306/0.02751, allocations: 278.1 kB / 0.7605 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.02752, allocations: 8 kB / 0.7605 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002665/0.03019, allocations: 5.303 MB / 0.7657 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.03019, allocations: 7.938 kB / 0.7657 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.03069, allocations: 0.5839 MB / 0.7663 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.03073, allocations: 13.09 kB / 0.7663 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.03086, allocations: 8 kB / 0.7663 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.03092, allocations: 51.8 kB / 0.7663 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.03094, allocations: 13.56 kB / 0.7663 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001257/0.03106, allocations: 200.4 kB / 0.7665 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.03106, allocations: 0 / 0.7665 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003893/0.03145, allocations: 228 kB / 0.7668 GB, free: 12.68 MB / 0.7448 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 (31): * Single equations (assignments): 27 * 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.683e-05/0.03154, allocations: 99.25 kB / 0.7669 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007017/0.03224, allocations: 0.8957 MB / 0.7677 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.939e-05/0.03226, allocations: 16.48 kB / 0.7677 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007139/0.03297, allocations: 0.715 MB / 0.7684 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.03345, allocations: 268.5 kB / 0.7687 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/0.03878, allocations: 1.3 MB / 0.77 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.03894, allocations: 211.9 kB / 0.7702 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002534/0.03919, allocations: 75.12 kB / 0.7702 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.03948, allocations: 217.1 kB / 0.7704 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of SimCode: time 1.272e-06/0.03948, allocations: 0 / 0.7704 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of Templates: time 0.01459/0.05407, allocations: 12.51 MB / 0.7827 GB, free: 12.49 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: 4.854805147275329]