Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.0012/0.0012, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001573/0.002772, 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.001022/0.001022, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001348/0.00237, 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.8946/0.8946, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08955/0.9842, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.846/1.846, allocations: 378.3 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5258/2.372, allocations: 123.3 MB / 0.7281 GB, free: 5.801 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.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.854e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01334/0.01336, allocations: 18.95 MB / 0.7479 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01304/0.0264, allocations: 9.867 MB / 0.7575 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002736/0.02914, allocations: 198.4 kB / 0.7577 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.03061, allocations: 0.8193 MB / 0.7585 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.004693/0.0353, allocations: 2.888 MB / 0.7613 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.03837, allocations: 1.589 MB / 0.7629 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007452/0.04582, allocations: 8.583 MB / 0.7712 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003991/0.04981, allocations: 4.69 MB / 0.7758 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005108/0.05492, allocations: 5.41 MB / 0.7811 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003341/0.05826, allocations: 3.646 MB / 0.7847 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0005232/0.05879, allocations: 0.5859 MB / 0.7852 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009796/0.05976, allocations: 0.6833 MB / 0.7859 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001465/0.06123, allocations: 2.397 MB / 0.7882 GB, free: 7.988 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.06281, allocations: 1.704 MB / 0.7899 GB, free: 6.281 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003613/0.06643, allocations: 4.64 MB / 0.7944 GB, free: 1.629 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.901e-05/0.06644, allocations: 0 / 0.7944 GB, free: 1.629 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.613e-06/0.06645, allocations: 0 / 0.7944 GB, free: 1.629 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.488e-05/0.06651, allocations: 1.688 kB / 0.7944 GB, free: 1.629 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.005284/0.07179, allocations: 5.932 MB / 0.8002 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.07183, allocations: 8.969 kB / 0.8002 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00265/0.07448, allocations: 1.357 MB / 0.8016 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.07711, allocations: 2.386 MB / 0.8039 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.07726, allocations: 324.8 kB / 0.8042 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003988/0.07766, allocations: 429 kB / 0.8046 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00361/0.08127, allocations: 4.161 MB / 0.8087 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-05/0.08134, allocations: 28.28 kB / 0.8087 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002647/0.08161, allocations: 187.9 kB / 0.8089 GB, free: 2.273 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003575/0.08197, allocations: 312.9 kB / 0.8092 GB, free: 1.965 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.08351, allocations: 1.128 MB / 0.8103 GB, free: 0.8203 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/0.09658, allocations: 15.25 MB / 0.8252 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/0.09735, allocations: 490.2 kB / 0.8256 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004152/0.09776, allocations: 439.2 kB / 0.8261 GB, free: 188 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.675e-05/0.09783, allocations: 21.81 kB / 0.8261 GB, free: 164 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.09786, allocations: 52.69 kB / 0.8261 GB, free: 104 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=130): time 4.428e-06/0.09787, allocations: 0 / 0.8261 GB, free: 104 kB / 0.7917 GB Notification: Performance of matching and sorting (n=133): time 0.007074/0.1049, allocations: 3.931 MB / 0.83 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.105, allocations: 68.72 kB / 0.83 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.1061, allocations: 1.543 MB / 0.8315 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.1061, allocations: 49.64 kB / 0.8316 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000919/0.107, allocations: 1.747 MB / 0.8333 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.1073, allocations: 495.7 kB / 0.8338 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.1076, allocations: 311.2 kB / 0.8341 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.1077, allocations: 305.1 kB / 0.8344 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.1079, allocations: 207.9 kB / 0.8346 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/0.1085, allocations: 0.7641 MB / 0.8353 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009308/0.1094, allocations: 1.167 MB / 0.8364 GB, free: 4.961 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.1094, allocations: 8 kB / 0.8365 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.002035/0.1115, allocations: 1.637 MB / 0.8381 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.1115, allocations: 16 kB / 0.8381 GB, free: 3.254 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.1115, allocations: 16 kB / 0.8381 GB, free: 3.238 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/0.1133, allocations: 0.8403 MB / 0.8389 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009325/0.1143, allocations: 363.5 kB / 0.8392 GB, free: 2.004 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00767/0.1219, allocations: 12.55 MB / 0.8515 GB, free: 4.574 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009301/0.1229, allocations: 55.98 kB / 0.8516 GB, free: 4.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-05/0.123, allocations: 60 kB / 0.8516 GB, free: 4.461 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (183): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,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.0008628/0.1238, allocations: 232 kB / 0.8518 GB, free: 4.223 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.1241, allocations: 199.8 kB / 0.852 GB, free: 4.027 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.1258, allocations: 1.364 MB / 0.8534 GB, free: 2.613 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1258, allocations: 16 kB / 0.8534 GB, free: 2.598 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.1258, allocations: 12 kB / 0.8534 GB, free: 2.586 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.1258, allocations: 11.91 kB / 0.8534 GB, free: 2.574 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004034/0.1299, allocations: 2.933 MB / 0.8563 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1299, allocations: 4 kB / 0.8563 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.1303, allocations: 180.2 kB / 0.8564 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.1307, allocations: 302.4 kB / 0.8567 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/0.1325, allocations: 0.8207 MB / 0.8575 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.1325, allocations: 24 kB / 0.8576 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006895/0.1394, allocations: 12.56 MB / 0.8698 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.1394, allocations: 7.938 kB / 0.8698 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.1412, allocations: 1.479 MB / 0.8713 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.1414, allocations: 28 kB / 0.8713 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004292/0.1418, allocations: 31.98 kB / 0.8713 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/0.1421, allocations: 120.7 kB / 0.8714 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/0.1421, allocations: 28 kB / 0.8715 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005624/0.1427, allocations: 0.7701 MB / 0.8722 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1427, allocations: 0 / 0.8722 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001812/0.1445, allocations: 0.8672 MB / 0.8731 GB, free: 13.28 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (91): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000187/0.1447, allocations: 140.1 kB / 0.8732 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.1468, allocations: 2.273 MB / 0.8754 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-05/0.1469, allocations: 45.75 kB / 0.8755 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.1483, allocations: 1.794 MB / 0.8772 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.15, allocations: 1.078 MB / 0.8783 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02837/0.1784, allocations: 6.882 MB / 0.885 GB, free: 0.7617 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.1795, allocations: 1.047 MB / 0.886 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001169/0.1807, allocations: 296.4 kB / 0.8863 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/0.1818, allocations: 0.6786 MB / 0.887 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.165e-06/0.1818, allocations: 0 / 0.887 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.05877/0.2406, allocations: 49.47 MB / 0.9353 GB, free: 14.34 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.752128227613866]