Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.0008148/0.0008148, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.00192, 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.001489/0.001489, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001683/0.003172, 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.9202/0.9202, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09894/1.019, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4645/2.264, allocations: 123.3 MB / 0.7283 GB, free: 5.727 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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,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_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/3.045e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009061/0.009091, allocations: 6.757 MB / 0.7363 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005187/0.01428, allocations: 2.313 MB / 0.7385 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000594/0.01487, allocations: 47.69 kB / 0.7386 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007874/0.01566, allocations: 290.6 kB / 0.7388 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.01707, allocations: 0.7834 MB / 0.7396 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.01848, allocations: 0.6649 MB / 0.7403 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003985/0.02247, allocations: 3.334 MB / 0.7435 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002134/0.0246, allocations: 1.443 MB / 0.7449 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002836/0.02744, allocations: 1.96 MB / 0.7468 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003129/0.03057, allocations: 1.732 MB / 0.7485 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005266/0.03109, allocations: 236 kB / 0.7488 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009289/0.03202, allocations: 335.7 kB / 0.7491 GB, free: 500 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.03316, allocations: 1.068 MB / 0.7501 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.03417, allocations: 0.6434 MB / 0.7507 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.03662, allocations: 2.011 MB / 0.7527 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.979e-05/0.03664, allocations: 3.938 kB / 0.7527 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.492e-06/0.03664, allocations: 0 / 0.7527 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.755e-05/0.03672, allocations: 5.25 kB / 0.7527 GB, free: 12.75 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004286/0.04101, allocations: 2.379 MB / 0.755 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.04105, allocations: 11.06 kB / 0.755 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006805/0.04785, allocations: 1.27 MB / 0.7563 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.04922, allocations: 0.9479 MB / 0.7572 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.662e-05/0.04929, allocations: 115.3 kB / 0.7573 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.04952, allocations: 144.3 kB / 0.7575 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.0514, allocations: 1.622 MB / 0.759 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/0.05143, allocations: 12.08 kB / 0.7591 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.05157, allocations: 64.34 kB / 0.7591 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001687/0.05174, allocations: 199 kB / 0.7593 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.05295, allocations: 0.6896 MB / 0.76 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006708/0.05966, allocations: 6.547 MB / 0.7664 GB, free: 14.42 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/0.06037, allocations: 0.5636 MB / 0.7669 GB, free: 13.86 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004549/0.06083, allocations: 350.5 kB / 0.7673 GB, free: 13.51 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 7.148e-05/0.0609, allocations: 20.94 kB / 0.7673 GB, free: 13.49 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.06093, allocations: 48.67 kB / 0.7673 GB, free: 13.43 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=104): time 2.574e-06/0.06093, allocations: 0 / 0.7673 GB, free: 13.43 MB / 0.7449 GB Notification: Performance of matching and sorting (n=107): time 0.01855/0.07948, allocations: 7.143 MB / 0.7743 GB, free: 6.383 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.07951, allocations: 64.41 kB / 0.7744 GB, free: 6.305 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000684/0.0802, allocations: 0.7452 MB / 0.7751 GB, free: 5.547 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 8.289e-05/0.08028, allocations: 45.7 kB / 0.7751 GB, free: 5.496 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.08064, allocations: 0.7006 MB / 0.7758 GB, free: 4.781 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.08093, allocations: 396.5 kB / 0.7762 GB, free: 4.391 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003809/0.08131, allocations: 222.7 kB / 0.7764 GB, free: 4.168 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.08142, allocations: 365.8 kB / 0.7768 GB, free: 3.805 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/0.08185, allocations: 213.4 kB / 0.777 GB, free: 3.594 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005538/0.0824, allocations: 489.2 kB / 0.7774 GB, free: 2.996 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.08355, allocations: 0.8575 MB / 0.7783 GB, free: 2.016 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.08356, allocations: 0 / 0.7783 GB, free: 2.016 MB / 0.7449 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004964/0.08853, allocations: 2.119 MB / 0.7803 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.08855, allocations: 12 kB / 0.7803 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.08857, allocations: 8 kB / 0.7804 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005378/0.09395, allocations: 1.622 MB / 0.7819 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/0.09458, allocations: 195.7 kB / 0.7821 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.1063, allocations: 7.324 MB / 0.7893 GB, free: 6.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008212/0.1072, allocations: 32 kB / 0.7893 GB, free: 6.488 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.1073, allocations: 43.98 kB / 0.7893 GB, free: 6.445 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (97): * Single equations (assignments): 95 * 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 {(8,16,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004824/0.1078, allocations: 180.4 kB / 0.7895 GB, free: 6.258 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.108, allocations: 103.9 kB / 0.7896 GB, free: 6.156 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004762/0.1127, allocations: 2.053 MB / 0.7916 GB, free: 4.082 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.1127, allocations: 8 kB / 0.7916 GB, free: 4.074 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.61e-05/0.1128, allocations: 16 kB / 0.7916 GB, free: 4.059 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.1128, allocations: 7.969 kB / 0.7917 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006531/0.1193, allocations: 3.136 MB / 0.7947 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.1193, allocations: 0 / 0.7947 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.1196, allocations: 79.91 kB / 0.7948 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004511/0.12, allocations: 239.1 kB / 0.795 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005208/0.1252, allocations: 1.604 MB / 0.7966 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.154e-05/0.1253, allocations: 20 kB / 0.7966 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009733/0.1351, allocations: 7.318 MB / 0.8038 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.1351, allocations: 7.984 kB / 0.8038 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003603/0.1387, allocations: 2.076 MB / 0.8058 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.1388, allocations: 20 kB / 0.8058 GB, free: 5.227 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.1392, allocations: 20 kB / 0.8058 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002797/0.1395, allocations: 104.6 kB / 0.8059 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.1395, allocations: 23.98 kB / 0.8059 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003086/0.1398, allocations: 356.8 kB / 0.8063 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.1398, allocations: 4 kB / 0.8063 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00143/0.1413, allocations: 0.6719 MB / 0.807 GB, free: 4.039 MB / 0.7761 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 {(8,16,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001801/0.1414, allocations: 112.3 kB / 0.8071 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002069/0.1435, allocations: 1.454 MB / 0.8085 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-05/0.1436, allocations: 23.5 kB / 0.8085 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.1451, allocations: 1.148 MB / 0.8096 GB, free: 1.242 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.1462, allocations: 1.623 MB / 0.8112 GB, free: 15.31 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00923/0.1554, allocations: 3.243 MB / 0.8144 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.1559, allocations: 0.502 MB / 0.8149 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003051/0.1562, allocations: 104.9 kB / 0.815 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.1565, allocations: 197.2 kB / 0.8152 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of SimCode: time 1.373e-06/0.1565, allocations: 0 / 0.8152 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of Templates: time 0.03869/0.1952, allocations: 38.24 MB / 0.8525 GB, free: 5.164 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.244943701662123]