Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.0007815/0.0007815, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.001866, 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.0006832/0.0006832, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009681/0.001651, 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.9165/0.9165, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09005/1.007, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.304/2.304, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2506/2.555, allocations: 146 MB / 0.8176 GB, free: 3.816 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.ThreePhasesBalanced.Lines.Examples.ACLine,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 7.938 kB / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019e-05/1.345e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.007317/0.00733, allocations: 9.911 MB / 0.8286 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00592/0.01325, allocations: 6.141 MB / 0.8346 GB, free: 2.371 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004582/0.01371, allocations: 91.19 kB / 0.8347 GB, free: 2.281 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006543/0.01436, allocations: 400.9 kB / 0.8351 GB, free: 1.887 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.0161, allocations: 1.528 MB / 0.8366 GB, free: 364 kB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000776/0.01687, allocations: 0.6589 MB / 0.8372 GB, free: 15.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001755/0.01863, allocations: 2.746 MB / 0.8399 GB, free: 12.94 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.01997, allocations: 1.157 MB / 0.841 GB, free: 11.73 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.02127, allocations: 1.782 MB / 0.8428 GB, free: 9.93 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009088/0.02218, allocations: 1.067 MB / 0.8438 GB, free: 8.859 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.02234, allocations: 164 kB / 0.844 GB, free: 8.699 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004484/0.02279, allocations: 331.5 kB / 0.8443 GB, free: 8.375 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003413/0.02313, allocations: 0.5805 MB / 0.8448 GB, free: 7.793 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004181/0.02355, allocations: 0.538 MB / 0.8454 GB, free: 7.254 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.0246, allocations: 1.444 MB / 0.8468 GB, free: 5.805 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.304e-05/0.02461, allocations: 0 / 0.8468 GB, free: 5.805 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.022e-06/0.02462, allocations: 0 / 0.8468 GB, free: 5.805 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.121e-05/0.02464, allocations: 0 / 0.8468 GB, free: 5.805 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002111/0.02675, allocations: 2.345 MB / 0.8491 GB, free: 3.426 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.02678, allocations: 8.031 kB / 0.8491 GB, free: 3.418 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/0.0298, allocations: 0.93 MB / 0.85 GB, free: 2.469 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.03085, allocations: 1.049 MB / 0.851 GB, free: 1.367 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/0.0309, allocations: 90.73 kB / 0.8511 GB, free: 1.277 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.03105, allocations: 128.3 kB / 0.8512 GB, free: 1.152 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.0326, allocations: 1.626 MB / 0.8528 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.03263, allocations: 7.938 kB / 0.8528 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.03274, allocations: 55.98 kB / 0.8529 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002608/0.033, allocations: 130.2 kB / 0.853 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006874/0.03369, allocations: 0.5581 MB / 0.8535 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004913/0.0386, allocations: 5.74 MB / 0.8591 GB, free: 8.676 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009217/0.03953, allocations: 0.5519 MB / 0.8597 GB, free: 8.109 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.03983, allocations: 251.8 kB / 0.8599 GB, free: 7.863 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.403e-05/0.03988, allocations: 17 kB / 0.8599 GB, free: 7.844 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.03991, allocations: 47.55 kB / 0.86 GB, free: 7.789 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=89): time 2.686e-06/0.03991, allocations: 0 / 0.86 GB, free: 7.789 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90): time 0.006384/0.0463, allocations: 3.29 MB / 0.8632 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.04633, allocations: 64.34 kB / 0.8633 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/0.04684, allocations: 0.8559 MB / 0.8641 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/0.04691, allocations: 41.7 kB / 0.8641 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.04714, allocations: 0.5728 MB / 0.8647 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.04732, allocations: 329.1 kB / 0.865 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/0.04755, allocations: 186.8 kB / 0.8652 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.04763, allocations: 345.9 kB / 0.8655 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.04788, allocations: 194.5 kB / 0.8657 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.04823, allocations: 448.5 kB / 0.8661 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006911/0.04892, allocations: 0.734 MB / 0.8668 GB, free: 484 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.04892, allocations: 0 / 0.8668 GB, free: 484 kB / 0.8386 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001728/0.05065, allocations: 1.202 MB / 0.868 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.05068, allocations: 11.94 kB / 0.868 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.05069, allocations: 12.03 kB / 0.868 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/0.0529, allocations: 0.7891 MB / 0.8688 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/0.05354, allocations: 235.6 kB / 0.869 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008132/0.06167, allocations: 12.4 MB / 0.8811 GB, free: 0.8711 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008424/0.06251, allocations: 51.97 kB / 0.8812 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.289e-05/0.06259, allocations: 39.97 kB / 0.8812 GB, free: 0.7812 MB / 0.8542 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 (90): * Single equations (assignments): 81 * 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 {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004614/0.06305, allocations: 178.8 kB / 0.8814 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.06326, allocations: 119.9 kB / 0.8815 GB, free: 492 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.06547, allocations: 1.188 MB / 0.8827 GB, free: 15.24 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.06547, allocations: 8 kB / 0.8827 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.06548, allocations: 8 kB / 0.8827 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.06549, allocations: 3.984 kB / 0.8827 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.06836, allocations: 2.022 MB / 0.8847 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.06837, allocations: 0 / 0.8847 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005286/0.0689, allocations: 167.7 kB / 0.8848 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.06919, allocations: 238.9 kB / 0.8851 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/0.07096, allocations: 0.7659 MB / 0.8858 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.348e-05/0.07103, allocations: 35.89 kB / 0.8858 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006574/0.0776, allocations: 12.06 MB / 0.8976 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.07761, allocations: 4 kB / 0.8976 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.07926, allocations: 1.192 MB / 0.8988 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.07938, allocations: 23.94 kB / 0.8988 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.07982, allocations: 43.98 kB / 0.8988 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.07998, allocations: 88.77 kB / 0.8989 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/0.08004, allocations: 35.95 kB / 0.899 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002912/0.08033, allocations: 425 kB / 0.8994 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3e-08/0.08033, allocations: 4 kB / 0.8994 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001046/0.08138, allocations: 472 kB / 0.8998 GB, free: 12.59 MB / 0.8855 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 (56): * Single equations (assignments): 47 * 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 {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002032/0.08158, allocations: 112.2 kB / 0.8999 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.08338, allocations: 1.957 MB / 0.9018 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.024e-05/0.08341, allocations: 23.12 kB / 0.9019 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.08494, allocations: 1.638 MB / 0.9035 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.08711, allocations: 4.732 MB / 0.9081 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007914/0.09502, allocations: 2.574 MB / 0.9106 GB, free: 316 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.09534, allocations: 384.3 kB / 0.911 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0006666/0.09601, allocations: 287.2 kB / 0.9112 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007456/0.09675, allocations: 419 kB / 0.9116 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of SimCode: time 9.52e-07/0.09675, allocations: 0 / 0.9116 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of Templates: time 0.0368/0.1336, allocations: 35.63 MB / 0.9464 GB, free: 12.23 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.59792317263782]