Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001019/0.001019, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001396/0.002415, 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.001032/0.001032, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00129/0.002322, 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.9638/0.9638, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09662/1.06, allocations: 53.64 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.776/1.776, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.479/2.255, allocations: 123.3 MB / 0.728 GB, free: 5.797 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.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.926e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.005445/0.005464, allocations: 6.453 MB / 0.7356 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003208/0.008672, allocations: 2.191 MB / 0.7378 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003767/0.009049, allocations: 47.69 kB / 0.7378 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005231/0.009572, allocations: 279 kB / 0.7381 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0008512/0.01042, allocations: 0.7434 MB / 0.7388 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007281/0.01115, allocations: 0.5459 MB / 0.7393 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002151/0.0133, allocations: 3.085 MB / 0.7424 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.01474, allocations: 1.417 MB / 0.7437 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001762/0.0165, allocations: 1.764 MB / 0.7455 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.01773, allocations: 1.528 MB / 0.747 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.01791, allocations: 217.6 kB / 0.7472 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004223/0.01833, allocations: 327.6 kB / 0.7475 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005861/0.01892, allocations: 0.9981 MB / 0.7485 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004985/0.01941, allocations: 0.5928 MB / 0.749 GB, free: 296 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.02063, allocations: 1.808 MB / 0.7508 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.331e-05/0.02065, allocations: 5.156 kB / 0.7508 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.054e-06/0.02065, allocations: 4 kB / 0.7508 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.422e-05/0.02067, allocations: 0 / 0.7508 GB, free: 14.47 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.001922/0.0226, allocations: 2.178 MB / 0.7529 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.02262, allocations: 8.031 kB / 0.7529 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/0.02494, allocations: 0.9136 MB / 0.7538 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008515/0.02579, allocations: 0.8627 MB / 0.7547 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.373e-05/0.02584, allocations: 109.3 kB / 0.7548 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.02602, allocations: 152.3 kB / 0.7549 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.02737, allocations: 1.485 MB / 0.7564 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.0274, allocations: 4.188 kB / 0.7564 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.02751, allocations: 60.34 kB / 0.7564 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/0.02764, allocations: 178.9 kB / 0.7566 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008033/0.02844, allocations: 0.6076 MB / 0.7572 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005117/0.03356, allocations: 6.365 MB / 0.7634 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.03407, allocations: 417.9 kB / 0.7638 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.03436, allocations: 268.8 kB / 0.7641 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.025e-05/0.03441, allocations: 12.66 kB / 0.7641 GB, free: 492 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.03443, allocations: 39.84 kB / 0.7641 GB, free: 444 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 2.425e-06/0.03444, allocations: 0 / 0.7641 GB, free: 444 kB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.008014/0.04245, allocations: 4.028 MB / 0.7681 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.04248, allocations: 60.41 kB / 0.7681 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.04286, allocations: 0.6167 MB / 0.7687 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/0.04291, allocations: 41.7 kB / 0.7688 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.04315, allocations: 0.6762 MB / 0.7694 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.04331, allocations: 317.2 kB / 0.7697 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.04352, allocations: 190.7 kB / 0.7699 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.04363, allocations: 410.5 kB / 0.7703 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.04386, allocations: 161.4 kB / 0.7704 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.04418, allocations: 430.5 kB / 0.7709 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006164/0.0448, allocations: 0.6798 MB / 0.7715 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.0448, allocations: 4 kB / 0.7715 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002155/0.04696, allocations: 1.362 MB / 0.7729 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.04698, allocations: 8 kB / 0.7729 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.04699, allocations: 8.406 kB / 0.7729 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.04894, allocations: 0.8499 MB / 0.7737 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.04931, allocations: 179.7 kB / 0.7739 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00529/0.0546, allocations: 5.573 MB / 0.7793 GB, free: 468 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.05493, allocations: 28 kB / 0.7793 GB, free: 440 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.05499, allocations: 32 kB / 0.7794 GB, free: 408 kB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,12,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003387/0.05532, allocations: 180.4 kB / 0.7795 GB, free: 216 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.05543, allocations: 87.84 kB / 0.7796 GB, free: 128 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.05738, allocations: 1.241 MB / 0.7808 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.05738, allocations: 8 kB / 0.7808 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.05739, allocations: 8 kB / 0.7809 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.05739, allocations: 3.984 kB / 0.7809 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/0.06017, allocations: 2.079 MB / 0.7829 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.06018, allocations: 0 / 0.7829 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.06037, allocations: 76.03 kB / 0.783 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.0606, allocations: 195.2 kB / 0.7831 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001902/0.0625, allocations: 0.8368 MB / 0.784 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.06254, allocations: 16 kB / 0.784 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005342/0.06788, allocations: 5.568 MB / 0.7894 GB, free: 5.816 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.06789, allocations: 4 kB / 0.7894 GB, free: 5.812 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.06976, allocations: 1.319 MB / 0.7907 GB, free: 4.441 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.391e-05/0.06985, allocations: 27.88 kB / 0.7907 GB, free: 4.414 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.07007, allocations: 16 kB / 0.7908 GB, free: 4.398 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.0702, allocations: 84.25 kB / 0.7908 GB, free: 4.316 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.07023, allocations: 16 kB / 0.7908 GB, free: 4.301 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001943/0.07042, allocations: 300.5 kB / 0.7911 GB, free: 4.012 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.07042, allocations: 0 / 0.7911 GB, free: 4.012 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009615/0.07139, allocations: 0.5195 MB / 0.7916 GB, free: 3.492 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,12,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000141/0.07153, allocations: 104.3 kB / 0.7917 GB, free: 3.379 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.07287, allocations: 1.123 MB / 0.7928 GB, free: 2.234 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.219e-05/0.0729, allocations: 19.12 kB / 0.7929 GB, free: 2.215 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0009486/0.07385, allocations: 0.8006 MB / 0.7936 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.07448, allocations: 290.7 kB / 0.7939 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007819/0.08229, allocations: 2.761 MB / 0.7966 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.08263, allocations: 459.2 kB / 0.797 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002235/0.08286, allocations: 91.58 kB / 0.7971 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.08312, allocations: 189.3 kB / 0.7973 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of SimCode: time 1.412e-06/0.08312, allocations: 0 / 0.7973 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.02486/0.108, allocations: 26.63 MB / 0.8233 GB, free: 3.141 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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: 5.103443406522274]