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.0007631/0.0007631, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001177/0.00194, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007318/0.0007318, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001069/0.001801, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9642/0.9642, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07974/1.044, 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.787/1.787, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.48/2.267, allocations: 123.3 MB / 0.7283 GB, free: 5.746 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.563e-06/1.563e-06, allocations: 0 / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.867e-05, allocations: 7.469 kB / 0.7296 GB, free: 4.434 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004324/0.004343, allocations: 4.965 MB / 0.7345 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002608/0.006951, allocations: 1.807 MB / 0.7363 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000313/0.007264, allocations: 39.62 kB / 0.7363 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.007776, allocations: 227.1 kB / 0.7365 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006111/0.008387, allocations: 0.5169 MB / 0.737 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006179/0.009005, allocations: 390.6 kB / 0.7374 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001013/0.01002, allocations: 1.353 MB / 0.7387 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006532/0.01067, allocations: 0.5398 MB / 0.7392 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007327/0.0114, allocations: 0.7497 MB / 0.74 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005586/0.01196, allocations: 0.5269 MB / 0.7405 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.363e-05/0.01204, allocations: 64 kB / 0.7405 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.01231, allocations: 141 kB / 0.7407 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.01251, allocations: 303.2 kB / 0.741 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.01271, allocations: 259.4 kB / 0.7412 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005742/0.01328, allocations: 0.6851 MB / 0.7419 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.364e-05/0.0133, allocations: 1.719 kB / 0.7419 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.543e-06/0.0133, allocations: 0 / 0.7419 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.01331, allocations: 4 kB / 0.7419 GB, free: 7.922 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.00115/0.01446, allocations: 1.227 MB / 0.7431 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.0145, allocations: 8.75 kB / 0.7431 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007945/0.01529, allocations: 350.8 kB / 0.7434 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.01582, allocations: 0.5152 MB / 0.7439 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.01585, allocations: 57.61 kB / 0.744 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/0.01592, allocations: 64.36 kB / 0.744 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006447/0.01656, allocations: 0.9524 MB / 0.745 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.01658, allocations: 8.078 kB / 0.745 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.01662, allocations: 41.02 kB / 0.745 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.159e-05/0.01672, allocations: 86.28 kB / 0.7451 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.017, allocations: 254.2 kB / 0.7454 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.01929, allocations: 3.919 MB / 0.7492 GB, free: 100 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.01969, allocations: 278.6 kB / 0.7494 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.0198, allocations: 93.47 kB / 0.7495 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.01983, allocations: 14.69 kB / 0.7495 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.01985, allocations: 47.03 kB / 0.7496 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 1.573e-06/0.01985, allocations: 0 / 0.7496 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.001362/0.02121, allocations: 0.8096 MB / 0.7504 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.02124, allocations: 59.91 kB / 0.7504 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.02151, allocations: 487.5 kB / 0.7509 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.02154, allocations: 33.7 kB / 0.7509 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.02168, allocations: 381.4 kB / 0.7513 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.159e-05/0.02176, allocations: 179 kB / 0.7515 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.02187, allocations: 122.5 kB / 0.7516 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.02197, allocations: 371.9 kB / 0.7519 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.723e-05/0.02206, allocations: 73.95 kB / 0.752 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.02224, allocations: 301 kB / 0.7523 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.02257, allocations: 468 kB / 0.7527 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.02258, allocations: 5.969 kB / 0.7528 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006005/0.02318, allocations: 0.5614 MB / 0.7533 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.0232, allocations: 8.938 kB / 0.7533 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.02321, allocations: 4 kB / 0.7533 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006131/0.02382, allocations: 297.4 kB / 0.7536 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.02407, allocations: 124.7 kB / 0.7537 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.02685, allocations: 5.32 MB / 0.7589 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.02708, allocations: 24 kB / 0.7589 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.0271, allocations: 20 kB / 0.759 GB, free: 5.422 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.0001586/0.02726, allocations: 163.3 kB / 0.7591 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-05/0.02732, allocations: 59.94 kB / 0.7592 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005049/0.02783, allocations: 445.1 kB / 0.7596 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.02783, allocations: 8 kB / 0.7596 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.02784, allocations: 4 kB / 0.7596 GB, free: 4.723 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.02784, allocations: 4.891 kB / 0.7596 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009352/0.02878, allocations: 0.8791 MB / 0.7605 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02878, allocations: 0.5938 kB / 0.7605 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.02891, allocations: 59.91 kB / 0.7605 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.02901, allocations: 84.55 kB / 0.7606 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005434/0.02956, allocations: 277.7 kB / 0.7609 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.02958, allocations: 13.47 kB / 0.7609 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002575/0.03215, allocations: 5.307 MB / 0.7661 GB, free: 13.66 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.03215, allocations: 1.562 kB / 0.7661 GB, free: 13.66 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.03267, allocations: 0.5788 MB / 0.7666 GB, free: 13.03 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.03272, allocations: 15.98 kB / 0.7666 GB, free: 13.02 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.03286, allocations: 9.594 kB / 0.7667 GB, free: 13.01 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/0.03294, allocations: 51.8 kB / 0.7667 GB, free: 12.96 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.03296, allocations: 12 kB / 0.7667 GB, free: 12.95 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.0001334/0.03309, allocations: 208.4 kB / 0.7669 GB, free: 12.74 MB / 0.7449 GB Notification: Performance of sort global known variables: time 3e-08/0.03309, allocations: 1.75 kB / 0.7669 GB, free: 12.74 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0005146/0.0336, allocations: 228 kB / 0.7671 GB, free: 12.52 MB / 0.7449 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 0.0001148/0.03372, allocations: 97.19 kB / 0.7672 GB, free: 12.42 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0008107/0.03453, allocations: 0.8976 MB / 0.7681 GB, free: 11.48 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.44e-05/0.03455, allocations: 21.31 kB / 0.7681 GB, free: 11.46 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.000561/0.03512, allocations: 0.7446 MB / 0.7688 GB, free: 10.67 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.03614, allocations: 1.98 MB / 0.7708 GB, free: 8.289 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/0.04133, allocations: 1.307 MB / 0.7721 GB, free: 6.93 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.04151, allocations: 215.4 kB / 0.7723 GB, free: 6.699 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0002428/0.04175, allocations: 79.02 kB / 0.7723 GB, free: 6.633 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.04203, allocations: 209.2 kB / 0.7725 GB, free: 6.43 MB / 0.7449 GB Notification: Performance of SimCode: time 1.443e-06/0.04203, allocations: 0.5938 kB / 0.7725 GB, free: 6.43 MB / 0.7449 GB Notification: Performance of Templates: time 0.01482/0.05685, allocations: 12.53 MB / 0.7848 GB, free: 10.14 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.980069427751005]