Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.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.000745/0.000745, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.001825, 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.0006974/0.0006974, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009834/0.001681, 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.9466/0.9466, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08596/1.033, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.76/1.76, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4748/2.235, allocations: 123.3 MB / 0.7283 GB, free: 5.73 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_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.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7296 GB, free: 4.426 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.952e-05, allocations: 3.703 kB / 0.7297 GB, free: 4.422 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005951/0.005971, allocations: 4.178 MB / 0.7337 GB, free: 288 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003572/0.009543, allocations: 1.59 MB / 0.7353 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005584/0.0101, allocations: 27.75 kB / 0.7353 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007081/0.01081, allocations: 190.7 kB / 0.7355 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.01183, allocations: 413.4 kB / 0.7359 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008462/0.01268, allocations: 324.7 kB / 0.7362 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001497/0.01418, allocations: 1.045 MB / 0.7372 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006824/0.01486, allocations: 380.1 kB / 0.7376 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.01603, allocations: 0.5728 MB / 0.7381 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008037/0.01684, allocations: 404.6 kB / 0.7385 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.852e-05/0.01694, allocations: 48 kB / 0.7386 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007298/0.01766, allocations: 131.8 kB / 0.7387 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.01793, allocations: 236.2 kB / 0.7389 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.0182, allocations: 199.6 kB / 0.7391 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008402/0.01904, allocations: 0.5578 MB / 0.7397 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.879e-05/0.01906, allocations: 0 / 0.7397 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/0.01906, allocations: 0 / 0.7397 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.378e-05/0.01909, allocations: 0 / 0.7397 GB, free: 10.21 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.001509/0.0206, allocations: 0.9958 MB / 0.7406 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.02065, allocations: 13.28 kB / 0.7406 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.02183, allocations: 305.5 kB / 0.7409 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007606/0.02259, allocations: 438.1 kB / 0.7413 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.02264, allocations: 41.95 kB / 0.7414 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.02279, allocations: 48.56 kB / 0.7414 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008593/0.02365, allocations: 0.7012 MB / 0.7421 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.02368, allocations: 8.125 kB / 0.7421 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-05/0.02374, allocations: 32.86 kB / 0.7422 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001677/0.02391, allocations: 64.94 kB / 0.7422 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.02429, allocations: 198.8 kB / 0.7424 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/0.02727, allocations: 3.02 MB / 0.7454 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.02754, allocations: 168.9 kB / 0.7455 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.02794, allocations: 66.34 kB / 0.7456 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.02797, allocations: 8.219 kB / 0.7456 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.02801, allocations: 39.66 kB / 0.7456 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 5.16e-06/0.02801, allocations: 3.984 kB / 0.7456 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34): time 0.002461/0.03047, allocations: 1.009 MB / 0.7466 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.03051, allocations: 63.34 kB / 0.7467 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.03083, allocations: 391.8 kB / 0.7471 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.03086, allocations: 33.7 kB / 0.7471 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.03103, allocations: 314 kB / 0.7474 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.114e-05/0.03112, allocations: 130.9 kB / 0.7475 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.03125, allocations: 86.95 kB / 0.7476 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.03137, allocations: 368.2 kB / 0.7479 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.03148, allocations: 64.11 kB / 0.748 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.03168, allocations: 219.4 kB / 0.7482 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.03207, allocations: 370.2 kB / 0.7486 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.03207, allocations: 2.375 kB / 0.7486 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006594/0.03273, allocations: 424.2 kB / 0.749 GB, free: 136 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.03275, allocations: 8 kB / 0.749 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.03277, allocations: 4 kB / 0.749 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005612/0.03333, allocations: 156.7 kB / 0.7491 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.03373, allocations: 120.3 kB / 0.7493 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.03596, allocations: 2.645 MB / 0.7518 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.03627, allocations: 16 kB / 0.7518 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.0363, allocations: 20 kB / 0.7519 GB, free: 12.98 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.0002229/0.03652, allocations: 149.8 kB / 0.752 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.554e-05/0.03661, allocations: 43.95 kB / 0.7521 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006016/0.03721, allocations: 325.5 kB / 0.7524 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.03722, allocations: 4 kB / 0.7524 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.03722, allocations: 4 kB / 0.7524 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.03723, allocations: 5.25 kB / 0.7524 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.03845, allocations: 0.6872 MB / 0.753 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.03845, allocations: 0 / 0.753 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002763/0.03873, allocations: 60.69 kB / 0.7531 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.03886, allocations: 67.64 kB / 0.7532 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004886/0.03935, allocations: 153.6 kB / 0.7533 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.03938, allocations: 8 kB / 0.7533 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.04147, allocations: 2.64 MB / 0.7559 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.04147, allocations: 0 / 0.7559 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007233/0.0422, allocations: 0.5251 MB / 0.7564 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/0.04226, allocations: 8 kB / 0.7564 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.04245, allocations: 9.562 kB / 0.7564 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.133e-05/0.04253, allocations: 39.88 kB / 0.7565 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.04255, allocations: 4 kB / 0.7565 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001668/0.04272, allocations: 160.7 kB / 0.7566 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.04272, allocations: 0.7188 kB / 0.7566 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006588/0.04338, allocations: 156 kB / 0.7568 GB, free: 7.648 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.0002043/0.04358, allocations: 86.02 kB / 0.7569 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008216/0.04441, allocations: 0.5299 MB / 0.7574 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.854e-05/0.04443, allocations: 15.98 kB / 0.7574 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.04493, allocations: 406.4 kB / 0.7578 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.04661, allocations: 1.604 MB / 0.7593 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005691/0.0523, allocations: 1.079 MB / 0.7604 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.05248, allocations: 170.9 kB / 0.7606 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002951/0.05278, allocations: 58.58 kB / 0.7606 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/0.0531, allocations: 177.2 kB / 0.7608 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of SimCode: time 1.803e-06/0.05311, allocations: 1.75 kB / 0.7608 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of Templates: time 0.01582/0.06892, allocations: 8.779 MB / 0.7694 GB, free: 10.58 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.955420007929206]