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.001063/0.001063, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002486, allocations: 449.7 kB / 10.37 MB, free: 324 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.001026/0.001026, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001307/0.002333, allocations: 459.6 kB / 11.71 MB, free: 2.453 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.928/0.928, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07995/1.008, 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.86/1.86, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.447/2.307, allocations: 123.3 MB / 0.728 GB, free: 5.812 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 1.613e-06/1.613e-06, allocations: 0 / 0.7293 GB, free: 4.512 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.375e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0135/0.01352, allocations: 6.742 MB / 0.7359 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00765/0.02117, allocations: 2.313 MB / 0.7382 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008156/0.02198, allocations: 47.62 kB / 0.7382 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0008366/0.02282, allocations: 290.7 kB / 0.7385 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.02411, allocations: 0.7874 MB / 0.7393 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.02527, allocations: 0.6566 MB / 0.7399 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002984/0.02826, allocations: 3.348 MB / 0.7432 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/0.02988, allocations: 1.446 MB / 0.7446 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00249/0.03237, allocations: 1.952 MB / 0.7465 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00176/0.03413, allocations: 1.731 MB / 0.7482 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002694/0.0344, allocations: 237.2 kB / 0.7484 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007222/0.03512, allocations: 331.8 kB / 0.7487 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0007787/0.0359, allocations: 1.076 MB / 0.7498 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0006967/0.0366, allocations: 0.644 MB / 0.7504 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.03826, allocations: 2.01 MB / 0.7524 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.958e-05/0.03828, allocations: 0.7188 kB / 0.7524 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.613e-06/0.03828, allocations: 0 / 0.7524 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.465e-05/0.03832, allocations: 0.5312 kB / 0.7524 GB, free: 12.87 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.002513/0.04083, allocations: 2.392 MB / 0.7547 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.04087, allocations: 9.938 kB / 0.7547 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003721/0.04459, allocations: 1.269 MB / 0.756 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.0458, allocations: 0.9389 MB / 0.7569 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.445e-05/0.04587, allocations: 115.4 kB / 0.757 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.04608, allocations: 152.3 kB / 0.7571 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.0479, allocations: 1.616 MB / 0.7587 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.04793, allocations: 8.078 kB / 0.7587 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.04806, allocations: 76.05 kB / 0.7588 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001734/0.04823, allocations: 203.1 kB / 0.759 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.04928, allocations: 0.6851 MB / 0.7597 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006785/0.05606, allocations: 6.554 MB / 0.7661 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007282/0.05679, allocations: 0.5614 MB / 0.7666 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004884/0.05728, allocations: 351.4 kB / 0.7669 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.825e-05/0.05735, allocations: 28.88 kB / 0.767 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.05738, allocations: 40.5 kB / 0.767 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=104): time 3.336e-06/0.05738, allocations: 0 / 0.767 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=107): time 0.01547/0.07285, allocations: 7.098 MB / 0.7739 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.07288, allocations: 60.41 kB / 0.774 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006149/0.0735, allocations: 0.7491 MB / 0.7747 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/0.07357, allocations: 41.7 kB / 0.7748 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.07385, allocations: 0.7006 MB / 0.7755 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.07408, allocations: 388.5 kB / 0.7758 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.07435, allocations: 226.7 kB / 0.776 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.07444, allocations: 361.8 kB / 0.7764 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.07474, allocations: 213.4 kB / 0.7766 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.07523, allocations: 493.2 kB / 0.7771 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007682/0.07599, allocations: 0.8194 MB / 0.7779 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.076, allocations: 0 / 0.7779 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003605/0.0796, allocations: 2.114 MB / 0.7799 GB, free: 80 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.07963, allocations: 16.06 kB / 0.7799 GB, free: 64 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.07964, allocations: 8 kB / 0.7799 GB, free: 56 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003921/0.08357, allocations: 1.604 MB / 0.7815 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.08408, allocations: 187.7 kB / 0.7817 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008823/0.0929, allocations: 7.318 MB / 0.7888 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006973/0.0936, allocations: 36 kB / 0.7889 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/0.09368, allocations: 40 kB / 0.7889 GB, free: 6.68 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.0004538/0.09413, allocations: 188.3 kB / 0.7891 GB, free: 6.484 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.09429, allocations: 111.9 kB / 0.7892 GB, free: 6.375 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/0.09785, allocations: 2.041 MB / 0.7912 GB, free: 4.312 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.09787, allocations: 19.92 kB / 0.7912 GB, free: 4.293 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.09788, allocations: 16 kB / 0.7912 GB, free: 4.277 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.09789, allocations: 3.984 kB / 0.7912 GB, free: 4.273 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004966/0.1029, allocations: 3.128 MB / 0.7943 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.1029, allocations: 8.031 kB / 0.7943 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.1031, allocations: 79.89 kB / 0.7944 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/0.1034, allocations: 239.1 kB / 0.7946 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003814/0.1072, allocations: 1.583 MB / 0.7961 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.426e-05/0.1073, allocations: 23.98 kB / 0.7962 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008516/0.1158, allocations: 7.304 MB / 0.8033 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.1158, allocations: 8 kB / 0.8033 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003546/0.1194, allocations: 2.076 MB / 0.8053 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.1196, allocations: 24 kB / 0.8054 GB, free: 5.469 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.1199, allocations: 20 kB / 0.8054 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/0.1202, allocations: 100.7 kB / 0.8055 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/0.1203, allocations: 24 kB / 0.8055 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000319/0.1206, allocations: 360.8 kB / 0.8058 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.1206, allocations: 0 / 0.8058 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001429/0.122, allocations: 0.6719 MB / 0.8065 GB, free: 4.289 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.0001684/0.1222, allocations: 112.2 kB / 0.8066 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001958/0.1242, allocations: 1.444 MB / 0.808 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.92e-05/0.1242, allocations: 23.12 kB / 0.808 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.1255, allocations: 1.065 MB / 0.8091 GB, free: 1.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.1261, allocations: 301.7 kB / 0.8094 GB, free: 1.297 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009214/0.1353, allocations: 3.231 MB / 0.8125 GB, free: 14 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004895/0.1358, allocations: 0.506 MB / 0.813 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003504/0.1362, allocations: 112.9 kB / 0.8131 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.1365, allocations: 197.2 kB / 0.8133 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of SimCode: time 2.194e-06/0.1365, allocations: 0 / 0.8133 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of Templates: time 0.03871/0.1752, allocations: 38.15 MB / 0.8506 GB, free: 7.234 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.282288145273924]