Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.0007756/0.0007756, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001027/0.001802, 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.001063/0.001063, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001317/0.00238, 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.9342/0.9342, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0834/1.018, allocations: 53.66 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.795/1.795, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4682/2.263, allocations: 123.3 MB / 0.728 GB, free: 5.852 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_L,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7293 GB, free: 4.566 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113e-05/1.266e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.003767/0.00378, allocations: 4.286 MB / 0.7335 GB, free: 304 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.005846, allocations: 1.64 MB / 0.7351 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.006086, allocations: 44.75 kB / 0.7352 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004318/0.006518, allocations: 210.5 kB / 0.7354 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005114/0.00703, allocations: 477.8 kB / 0.7358 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.007488, allocations: 381.7 kB / 0.7362 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007967/0.008285, allocations: 1.221 MB / 0.7374 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005119/0.008797, allocations: 0.5237 MB / 0.7379 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005544/0.009351, allocations: 0.6676 MB / 0.7385 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004513/0.009803, allocations: 487.6 kB / 0.739 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.478e-05/0.009867, allocations: 60 kB / 0.7391 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.01007, allocations: 144.2 kB / 0.7392 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.01025, allocations: 284.1 kB / 0.7395 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.01042, allocations: 227.5 kB / 0.7397 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005023/0.01093, allocations: 0.6324 MB / 0.7403 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.291e-05/0.01094, allocations: 0 / 0.7403 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.52e-07/0.01094, allocations: 0 / 0.7403 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.01096, allocations: 0 / 0.7403 GB, free: 9.344 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009696/0.01193, allocations: 1.089 MB / 0.7414 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.01196, allocations: 12.53 kB / 0.7414 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006918/0.01265, allocations: 342.5 kB / 0.7417 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005362/0.01318, allocations: 0.5195 MB / 0.7422 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.01321, allocations: 49.69 kB / 0.7423 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.187e-05/0.01328, allocations: 64.31 kB / 0.7423 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/0.01387, allocations: 0.7804 MB / 0.7431 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.01389, allocations: 12.11 kB / 0.7431 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.01393, allocations: 28.36 kB / 0.7431 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-05/0.01399, allocations: 69.22 kB / 0.7432 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.01424, allocations: 255.9 kB / 0.7434 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.01637, allocations: 3.871 MB / 0.7472 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.01665, allocations: 242.7 kB / 0.7474 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.01693, allocations: 222.6 kB / 0.7477 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.01696, allocations: 9.094 kB / 0.7477 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.01698, allocations: 34.56 kB / 0.7477 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=41): time 1.333e-06/0.01698, allocations: 1 kB / 0.7477 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=42): time 0.001444/0.01842, allocations: 0.8793 MB / 0.7486 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.01845, allocations: 55.41 kB / 0.7486 GB, free: 480 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.01865, allocations: 415 kB / 0.749 GB, free: 52 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.01867, allocations: 30.2 kB / 0.749 GB, free: 16 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.01883, allocations: 372.1 kB / 0.7494 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.33e-05/0.0189, allocations: 154.6 kB / 0.7495 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.019, allocations: 106.2 kB / 0.7496 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.108e-05/0.01909, allocations: 374.5 kB / 0.75 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/0.01917, allocations: 65.28 kB / 0.7501 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.01934, allocations: 277.6 kB / 0.7503 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.01965, allocations: 418.4 kB / 0.7507 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01965, allocations: 1.5 kB / 0.7507 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000616/0.02026, allocations: 0.5696 MB / 0.7513 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.02028, allocations: 11.98 kB / 0.7513 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.02029, allocations: 9.75 kB / 0.7513 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004919/0.02078, allocations: 245.4 kB / 0.7515 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.02095, allocations: 95.83 kB / 0.7516 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/0.02389, allocations: 5.424 MB / 0.7569 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.02402, allocations: 20 kB / 0.7569 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.02404, allocations: 21.09 kB / 0.757 GB, free: 7.305 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.02416, allocations: 149.8 kB / 0.7571 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.02421, allocations: 52.53 kB / 0.7572 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005385/0.02475, allocations: 470 kB / 0.7576 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.02476, allocations: 4 kB / 0.7576 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.02476, allocations: 4 kB / 0.7576 GB, free: 6.613 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.02476, allocations: 0 / 0.7576 GB, free: 6.613 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008628/0.02562, allocations: 0.8811 MB / 0.7585 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.02563, allocations: 4 kB / 0.7585 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.106e-05/0.02571, allocations: 35.92 kB / 0.7585 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/0.02579, allocations: 80.42 kB / 0.7586 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004378/0.02623, allocations: 238.1 kB / 0.7588 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.02625, allocations: 11.98 kB / 0.7588 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/0.02902, allocations: 5.418 MB / 0.7641 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.02902, allocations: 0.6875 kB / 0.7641 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005463/0.02957, allocations: 0.5913 MB / 0.7647 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.02961, allocations: 15.94 kB / 0.7647 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.02972, allocations: 4 kB / 0.7647 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.02978, allocations: 43.86 kB / 0.7648 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.02979, allocations: 17.47 kB / 0.7648 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000104/0.0299, allocations: 168.4 kB / 0.7649 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.0299, allocations: 0 / 0.7649 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003587/0.03025, allocations: 196 kB / 0.7651 GB, free: 14.43 MB / 0.7448 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.995e-05/0.03034, allocations: 94.42 kB / 0.7652 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007259/0.03107, allocations: 0.8741 MB / 0.7661 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.922e-05/0.03109, allocations: 20.42 kB / 0.7661 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004609/0.03155, allocations: 0.6939 MB / 0.7668 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.03201, allocations: 251.5 kB / 0.767 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.03503, allocations: 1.195 MB / 0.7682 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.03516, allocations: 206.6 kB / 0.7684 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.03528, allocations: 59.47 kB / 0.7684 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.03547, allocations: 173.2 kB / 0.7686 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.03548, allocations: 0 / 0.7686 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.01226/0.04774, allocations: 11.36 MB / 0.7797 GB, free: 15.59 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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: 4.885986976325512]