Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001197/0.001197, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001649/0.002846, allocations: 440 kB / 10.41 MB, free: 284 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.001057/0.001057, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001399/0.002457, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9175/0.9175, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08426/1.002, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.398/2.398, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2391/2.637, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.207e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.007791/0.007813, allocations: 6.464 MB / 0.8253 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004374/0.01219, allocations: 2.175 MB / 0.8274 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006628/0.01285, allocations: 47.69 kB / 0.8274 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0008285/0.01368, allocations: 274.2 kB / 0.8277 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.01508, allocations: 0.746 MB / 0.8284 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.0162, allocations: 0.5498 MB / 0.829 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.003327/0.01953, allocations: 3.08 MB / 0.832 GB, free: 5.09 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.02162, allocations: 1.421 MB / 0.8333 GB, free: 3.613 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/0.02443, allocations: 1.771 MB / 0.8351 GB, free: 1.84 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.02677, allocations: 1.547 MB / 0.8366 GB, free: 296 kB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0005731/0.02734, allocations: 216 kB / 0.8368 GB, free: 80 kB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009179/0.02826, allocations: 315.7 kB / 0.8371 GB, free: 15.77 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.02964, allocations: 0.9942 MB / 0.8381 GB, free: 14.77 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009553/0.03059, allocations: 0.5928 MB / 0.8386 GB, free: 14.18 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.03274, allocations: 1.815 MB / 0.8404 GB, free: 12.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.531e-05/0.03275, allocations: 4 kB / 0.8404 GB, free: 12.36 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.462e-06/0.03276, allocations: 0 / 0.8404 GB, free: 12.36 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.55e-05/0.03283, allocations: 0 / 0.8404 GB, free: 12.36 MB / 0.823 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.003466/0.0363, allocations: 2.176 MB / 0.8425 GB, free: 10.14 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.03634, allocations: 8.031 kB / 0.8426 GB, free: 10.14 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004072/0.04041, allocations: 0.9187 MB / 0.8435 GB, free: 9.199 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.042, allocations: 0.8475 MB / 0.8443 GB, free: 8.32 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.186e-05/0.04209, allocations: 115.3 kB / 0.8444 GB, free: 8.207 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002709/0.04236, allocations: 144.3 kB / 0.8445 GB, free: 8.066 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.04495, allocations: 1.481 MB / 0.846 GB, free: 6.465 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.988e-05/0.04499, allocations: 4.141 kB / 0.846 GB, free: 6.461 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.04516, allocations: 68.33 kB / 0.846 GB, free: 6.395 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002012/0.04536, allocations: 170.9 kB / 0.8462 GB, free: 6.227 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.04685, allocations: 0.603 MB / 0.8468 GB, free: 5.613 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009262/0.05611, allocations: 6.371 MB / 0.853 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/0.05698, allocations: 419.9 kB / 0.8534 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004638/0.05744, allocations: 263.7 kB / 0.8537 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.3e-05/0.05751, allocations: 16.66 kB / 0.8537 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.05754, allocations: 47.22 kB / 0.8537 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=82): time 4.388e-06/0.05754, allocations: 0 / 0.8537 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=85): time 0.01304/0.07059, allocations: 4.067 MB / 0.8577 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.07063, allocations: 60.41 kB / 0.8578 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007234/0.07135, allocations: 0.6206 MB / 0.8584 GB, free: 9.488 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-05/0.07143, allocations: 45.7 kB / 0.8584 GB, free: 9.438 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006469/0.07207, allocations: 0.6762 MB / 0.8591 GB, free: 8.746 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.07232, allocations: 317.2 kB / 0.8594 GB, free: 8.434 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003702/0.0727, allocations: 186.8 kB / 0.8595 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.07284, allocations: 406.5 kB / 0.8599 GB, free: 7.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.07323, allocations: 165.4 kB / 0.8601 GB, free: 7.676 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/0.07375, allocations: 426.5 kB / 0.8605 GB, free: 7.145 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.0748, allocations: 0.7309 MB / 0.8612 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.07481, allocations: 4 kB / 0.8612 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002461/0.07727, allocations: 1.351 MB / 0.8625 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.07729, allocations: 12 kB / 0.8625 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.0773, allocations: 8 kB / 0.8626 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002109/0.07941, allocations: 0.8659 MB / 0.8634 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.07982, allocations: 187.7 kB / 0.8636 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005891/0.08571, allocations: 5.548 MB / 0.869 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.08613, allocations: 28 kB / 0.869 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.08619, allocations: 32 kB / 0.8691 GB, free: 14.05 MB / 0.8542 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.0003198/0.08651, allocations: 172.4 kB / 0.8692 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.08663, allocations: 91.84 kB / 0.8693 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/0.08864, allocations: 1.252 MB / 0.8705 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.08865, allocations: 8 kB / 0.8705 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.08866, allocations: 8.125 kB / 0.8705 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.08867, allocations: 7.984 kB / 0.8706 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.09169, allocations: 2.068 MB / 0.8726 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.09169, allocations: 8.031 kB / 0.8726 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.0919, allocations: 83.89 kB / 0.8727 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004881/0.09239, allocations: 183.3 kB / 0.8728 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002011/0.0944, allocations: 0.8483 MB / 0.8737 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/0.09444, allocations: 23.98 kB / 0.8737 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00556/0.1, allocations: 5.564 MB / 0.8791 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.1, allocations: 7.984 kB / 0.8791 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.1022, allocations: 1.327 MB / 0.8804 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.75e-05/0.1023, allocations: 12 kB / 0.8804 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.1026, allocations: 20 kB / 0.8805 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.1028, allocations: 80.39 kB / 0.8805 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.1028, allocations: 16 kB / 0.8805 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002289/0.103, allocations: 292.5 kB / 0.8808 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.103, allocations: 0 / 0.8808 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001072/0.1041, allocations: 0.5273 MB / 0.8813 GB, free: 1.117 MB / 0.8542 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.0001547/0.1043, allocations: 108.4 kB / 0.8814 GB, free: 1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001465/0.1057, allocations: 1.121 MB / 0.8825 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.742e-05/0.1058, allocations: 23.12 kB / 0.8826 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.1068, allocations: 0.8769 MB / 0.8834 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.1078, allocations: 1.599 MB / 0.885 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008049/0.1159, allocations: 2.764 MB / 0.8877 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.1163, allocations: 459.2 kB / 0.8881 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002613/0.1165, allocations: 91.58 kB / 0.8882 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.1168, allocations: 193.3 kB / 0.8884 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of SimCode: time 1.292e-06/0.1168, allocations: 0 / 0.8884 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of Templates: time 0.02831/0.1451, allocations: 26.57 MB / 0.9143 GB, free: 15.13 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.454376894980669]