Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.000926/0.000926, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001273/0.002199, 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.0008046/0.0008046, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001124/0.001929, 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.95/0.95, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08984/1.04, 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.807/1.807, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4901/2.297, allocations: 123.3 MB / 0.728 GB, free: 5.812 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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.303e-05, allocations: 3.703 kB / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00462/0.004633, allocations: 4.246 MB / 0.7335 GB, free: 308 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002442/0.007075, allocations: 1.614 MB / 0.7351 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.007323, allocations: 32.62 kB / 0.7351 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004464/0.007769, allocations: 194.7 kB / 0.7353 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00058/0.008349, allocations: 417 kB / 0.7357 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.008901, allocations: 334.5 kB / 0.736 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0009332/0.009834, allocations: 1.053 MB / 0.737 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004678/0.0103, allocations: 387.1 kB / 0.7374 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006458/0.01095, allocations: 0.5776 MB / 0.7379 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/0.01144, allocations: 395.8 kB / 0.7383 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.01151, allocations: 51.94 kB / 0.7384 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.01175, allocations: 140.3 kB / 0.7385 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.01194, allocations: 233 kB / 0.7387 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.01215, allocations: 203.6 kB / 0.7389 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005731/0.01272, allocations: 0.5489 MB / 0.7395 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.01273, allocations: 0 / 0.7395 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.01273, allocations: 1.219 kB / 0.7395 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.039e-05/0.01275, allocations: 3.938 kB / 0.7395 GB, free: 10.16 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001199/0.01395, allocations: 0.9959 MB / 0.7404 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.01399, allocations: 8.031 kB / 0.7404 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009588/0.01495, allocations: 318.1 kB / 0.7407 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/0.01557, allocations: 450 kB / 0.7412 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.0156, allocations: 42.02 kB / 0.7412 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.01573, allocations: 56.53 kB / 0.7413 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/0.0164, allocations: 0.6984 MB / 0.742 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.01643, allocations: 8.141 kB / 0.742 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/0.01647, allocations: 24.12 kB / 0.742 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.01659, allocations: 60.95 kB / 0.742 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.0169, allocations: 210.6 kB / 0.7422 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.0193, allocations: 3.025 MB / 0.7452 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.01951, allocations: 164.9 kB / 0.7454 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.602e-05/0.01961, allocations: 65.41 kB / 0.7454 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.01963, allocations: 4.281 kB / 0.7454 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.01966, allocations: 47.42 kB / 0.7455 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/0.01966, allocations: 0.6562 kB / 0.7455 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34): time 0.001974/0.02163, allocations: 0.9854 MB / 0.7464 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.02166, allocations: 59.41 kB / 0.7465 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.02193, allocations: 407 kB / 0.7469 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.02196, allocations: 29.7 kB / 0.7469 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.0221, allocations: 317.3 kB / 0.7472 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.016e-05/0.02218, allocations: 126.9 kB / 0.7473 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.0223, allocations: 94.2 kB / 0.7474 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.02242, allocations: 366.6 kB / 0.7478 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.02252, allocations: 64.11 kB / 0.7478 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.0227, allocations: 222.5 kB / 0.748 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.02303, allocations: 352.1 kB / 0.7484 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.02303, allocations: 3.562 kB / 0.7484 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006034/0.02363, allocations: 425.5 kB / 0.7488 GB, free: 92 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.02365, allocations: 5.406 kB / 0.7488 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.02366, allocations: 8 kB / 0.7488 GB, free: 80 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004193/0.02408, allocations: 153.2 kB / 0.7489 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.02435, allocations: 119.8 kB / 0.7491 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.02578, allocations: 2.637 MB / 0.7516 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.02593, allocations: 21.05 kB / 0.7517 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.02595, allocations: 16 kB / 0.7517 GB, free: 12.95 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (55): * Single equations (assignments): 53 * 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 {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.02606, allocations: 157.3 kB / 0.7518 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.02612, allocations: 44.95 kB / 0.7519 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.02649, allocations: 320.6 kB / 0.7522 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.0265, allocations: 4.781 kB / 0.7522 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.0265, allocations: 4 kB / 0.7522 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.02651, allocations: 8.547 kB / 0.7522 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00067/0.02718, allocations: 0.6838 MB / 0.7529 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.02718, allocations: 0 / 0.7529 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.02735, allocations: 60.89 kB / 0.7529 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.02743, allocations: 67.64 kB / 0.753 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003058/0.02774, allocations: 149.8 kB / 0.7531 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.02775, allocations: 8 kB / 0.7531 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.02907, allocations: 2.646 MB / 0.7557 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02907, allocations: 0.9062 kB / 0.7557 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/0.02957, allocations: 0.5254 MB / 0.7562 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.0296, allocations: 15.98 kB / 0.7562 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.02971, allocations: 9.031 kB / 0.7562 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.02975, allocations: 27.95 kB / 0.7563 GB, free: 7.938 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.02976, allocations: 7.938 kB / 0.7563 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.893e-05/0.02986, allocations: 173.3 kB / 0.7564 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.02986, allocations: 0 / 0.7564 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003061/0.03017, allocations: 157.1 kB / 0.7566 GB, free: 7.605 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (27): * Single equations (assignments): 25 * 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 {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001086/0.03028, allocations: 85.45 kB / 0.7567 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004752/0.03075, allocations: 0.5208 MB / 0.7572 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/0.03077, allocations: 8 kB / 0.7572 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.03103, allocations: 389.7 kB / 0.7576 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.03145, allocations: 203.2 kB / 0.7578 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/0.03526, allocations: 1.099 MB / 0.7588 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.03537, allocations: 175.7 kB / 0.759 GB, free: 5.039 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001533/0.03552, allocations: 57.23 kB / 0.7591 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.03575, allocations: 185.8 kB / 0.7592 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of SimCode: time 7.11e-07/0.03575, allocations: 0 / 0.7592 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of Templates: time 0.01009/0.04584, allocations: 8.886 MB / 0.7679 GB, free: 12.17 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.837371085770428]