Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0009875/0.0009875, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.002342, allocations: 449.8 kB / 10.44 MB, free: 252 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.001009/0.001009, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.002178, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9623/0.9623, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08632/1.049, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.842/1.842, allocations: 378.4 MB / 0.6079 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4568/2.298, allocations: 123.3 MB / 0.7283 GB, free: 5.699 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.OnePhase.Lines.Examples.ACLine_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.7296 GB, free: 4.383 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.403e-05, allocations: 2.938 kB / 0.7296 GB, free: 4.379 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004154/0.004168, allocations: 4.882 MB / 0.7344 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.006132, allocations: 1.774 MB / 0.7361 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.006341, allocations: 36.25 kB / 0.7362 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000428/0.006769, allocations: 231.1 kB / 0.7364 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000715/0.007484, allocations: 0.5093 MB / 0.7369 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.007937, allocations: 378.8 kB / 0.7373 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008651/0.008802, allocations: 1.349 MB / 0.7386 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005093/0.009312, allocations: 0.5354 MB / 0.7391 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005735/0.009885, allocations: 0.7388 MB / 0.7398 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004846/0.01037, allocations: 0.522 MB / 0.7403 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.809e-05/0.01044, allocations: 68 kB / 0.7404 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.01065, allocations: 145 kB / 0.7405 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.01083, allocations: 291.2 kB / 0.7408 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.01101, allocations: 263.4 kB / 0.7411 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.01153, allocations: 0.6818 MB / 0.7417 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.01155, allocations: 4 kB / 0.7417 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.92e-07/0.01155, allocations: 1.25 kB / 0.7417 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.01156, allocations: 0 / 0.7417 GB, free: 8.031 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001057/0.01262, allocations: 1.219 MB / 0.7429 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.01265, allocations: 8.75 kB / 0.7429 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00071/0.01336, allocations: 351.5 kB / 0.7433 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007048/0.01406, allocations: 0.4944 MB / 0.7438 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.01409, allocations: 41.69 kB / 0.7438 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/0.01416, allocations: 77.23 kB / 0.7439 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.01479, allocations: 0.9485 MB / 0.7448 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.01481, allocations: 16.66 kB / 0.7448 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.01485, allocations: 32.31 kB / 0.7448 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.271e-05/0.01494, allocations: 84.02 kB / 0.7449 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.01521, allocations: 259.6 kB / 0.7452 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.01733, allocations: 3.919 MB / 0.749 GB, free: 240 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.01771, allocations: 287.7 kB / 0.7493 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.01782, allocations: 94.33 kB / 0.7494 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.01784, allocations: 10.94 kB / 0.7494 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.01787, allocations: 39.06 kB / 0.7494 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 1.483e-06/0.01787, allocations: 0 / 0.7494 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.001297/0.01916, allocations: 0.8174 MB / 0.7502 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.01919, allocations: 55.91 kB / 0.7503 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005913/0.01978, allocations: 478.9 kB / 0.7507 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.01981, allocations: 35.8 kB / 0.7507 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.01995, allocations: 380.8 kB / 0.7511 GB, free: 14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.293e-05/0.02004, allocations: 174.5 kB / 0.7513 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.02015, allocations: 126.5 kB / 0.7514 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.02024, allocations: 370.7 kB / 0.7518 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-05/0.02032, allocations: 72.41 kB / 0.7518 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.0205, allocations: 304.9 kB / 0.7521 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.02083, allocations: 459.9 kB / 0.7526 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.02083, allocations: 4 kB / 0.7526 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0005818/0.02142, allocations: 0.5645 MB / 0.7531 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.02143, allocations: 9.594 kB / 0.7531 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.02144, allocations: 8 kB / 0.7531 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/0.02204, allocations: 289.1 kB / 0.7534 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.02228, allocations: 128.7 kB / 0.7535 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002968/0.02524, allocations: 5.312 MB / 0.7587 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.02544, allocations: 20 kB / 0.7587 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.02546, allocations: 24.81 kB / 0.7588 GB, free: 5.578 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0001245/0.02559, allocations: 157.8 kB / 0.7589 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.02565, allocations: 56.56 kB / 0.759 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005034/0.02615, allocations: 453.3 kB / 0.7594 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.02616, allocations: 4 kB / 0.7594 GB, free: 4.883 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.02616, allocations: 7.938 kB / 0.7594 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.02616, allocations: 1.062 kB / 0.7594 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008661/0.02703, allocations: 0.887 MB / 0.7603 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.02703, allocations: 8.125 kB / 0.7603 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.02716, allocations: 52.95 kB / 0.7603 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.972e-05/0.02726, allocations: 91.53 kB / 0.7604 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005336/0.02779, allocations: 270.3 kB / 0.7607 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.02781, allocations: 8 kB / 0.7607 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002683/0.03049, allocations: 5.3 MB / 0.7659 GB, free: 13.82 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.0305, allocations: 4 kB / 0.7659 GB, free: 13.82 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/0.03099, allocations: 0.5831 MB / 0.7664 GB, free: 13.18 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.03103, allocations: 12.84 kB / 0.7664 GB, free: 13.17 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.03116, allocations: 8 kB / 0.7664 GB, free: 13.16 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.03123, allocations: 52.75 kB / 0.7665 GB, free: 13.11 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.03124, allocations: 12 kB / 0.7665 GB, free: 13.1 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.0001244/0.03137, allocations: 201.2 kB / 0.7667 GB, free: 12.91 MB / 0.7449 GB Notification: Performance of sort global known variables: time 2e-08/0.03137, allocations: 0 / 0.7667 GB, free: 12.91 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0003996/0.03177, allocations: 224 kB / 0.7669 GB, free: 12.69 MB / 0.7449 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001049/0.03187, allocations: 99.52 kB / 0.767 GB, free: 12.59 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0007541/0.03263, allocations: 0.9052 MB / 0.7679 GB, free: 11.64 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-05/0.03265, allocations: 16.48 kB / 0.7679 GB, free: 11.62 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0005149/0.03316, allocations: 0.7425 MB / 0.7686 GB, free: 10.83 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009465/0.03411, allocations: 1.994 MB / 0.7706 GB, free: 8.449 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005238/0.03934, allocations: 1.304 MB / 0.7719 GB, free: 7.094 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.03949, allocations: 212.1 kB / 0.7721 GB, free: 6.867 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0001826/0.03967, allocations: 74.94 kB / 0.7721 GB, free: 6.805 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.03995, allocations: 213.2 kB / 0.7723 GB, free: 6.598 MB / 0.7449 GB Notification: Performance of SimCode: time 1.142e-06/0.03996, allocations: 0 / 0.7723 GB, free: 6.598 MB / 0.7449 GB Notification: Performance of Templates: time 0.01358/0.05353, allocations: 12.49 MB / 0.7845 GB, free: 10.35 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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: 4.9709811909124255]