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.0007653/0.0007653, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.001901, 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.001094/0.001094, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001524/0.002618, 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.9067/0.9067, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08654/0.9933, 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.824/1.824, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.478/2.302, allocations: 123.3 MB / 0.7283 GB, free: 5.742 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.603e-06/1.603e-06, allocations: 0 / 0.7296 GB, free: 4.426 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.72e-05, allocations: 4.422 kB / 0.7296 GB, free: 4.422 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.003867/0.003885, allocations: 4.255 MB / 0.7338 GB, free: 208 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.005806, allocations: 1.606 MB / 0.7354 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.005994, allocations: 33 kB / 0.7354 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000509/0.006503, allocations: 186.8 kB / 0.7356 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006557/0.007158, allocations: 412.7 kB / 0.736 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.007739, allocations: 345.9 kB / 0.7363 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00106/0.008799, allocations: 1.049 MB / 0.7373 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005387/0.009338, allocations: 384 kB / 0.7377 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006463/0.009984, allocations: 0.5773 MB / 0.7383 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004563/0.01044, allocations: 411.7 kB / 0.7387 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.899e-05/0.0105, allocations: 48 kB / 0.7387 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.0107, allocations: 129.5 kB / 0.7388 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.01085, allocations: 239.4 kB / 0.739 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.011, allocations: 199.6 kB / 0.7392 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.01145, allocations: 0.5488 MB / 0.7398 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.01145, allocations: 2.094 kB / 0.7398 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.31e-07/0.01145, allocations: 3.938 kB / 0.7398 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.01147, allocations: 4 kB / 0.7398 GB, free: 10.07 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.0009009/0.01237, allocations: 0.9949 MB / 0.7408 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.01239, allocations: 13.28 kB / 0.7408 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007218/0.01312, allocations: 313.4 kB / 0.7411 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.01356, allocations: 446.4 kB / 0.7415 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.01358, allocations: 49.3 kB / 0.7415 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.414e-05/0.01368, allocations: 57.3 kB / 0.7416 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004824/0.01416, allocations: 0.6927 MB / 0.7423 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.01418, allocations: 12.73 kB / 0.7423 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.01422, allocations: 29.22 kB / 0.7423 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.893e-05/0.01431, allocations: 56.95 kB / 0.7424 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.01453, allocations: 204.2 kB / 0.7426 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.01639, allocations: 3.027 MB / 0.7455 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.01656, allocations: 165.8 kB / 0.7457 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.323e-05/0.01663, allocations: 65.39 kB / 0.7457 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.01665, allocations: 8.281 kB / 0.7457 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.01667, allocations: 41.88 kB / 0.7458 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 1.332e-06/0.01667, allocations: 0 / 0.7458 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34): time 0.00155/0.01822, allocations: 1.01 MB / 0.7468 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.01825, allocations: 56 kB / 0.7468 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.01845, allocations: 400.3 kB / 0.7472 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.01847, allocations: 33.7 kB / 0.7472 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.01858, allocations: 313.3 kB / 0.7475 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.968e-05/0.01864, allocations: 126.9 kB / 0.7477 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.654e-05/0.01873, allocations: 98.73 kB / 0.7478 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.01881, allocations: 368 kB / 0.7481 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.102e-05/0.01888, allocations: 64.06 kB / 0.7482 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.01902, allocations: 231.3 kB / 0.7484 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.01929, allocations: 364.9 kB / 0.7487 GB, free: 396 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.01929, allocations: 4 kB / 0.7487 GB, free: 392 kB / 0.7136 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.000447/0.01974, allocations: 420.4 kB / 0.7491 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.01975, allocations: 8 kB / 0.7491 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01975, allocations: 4 kB / 0.7491 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/0.02011, allocations: 156.8 kB / 0.7493 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.02038, allocations: 121 kB / 0.7494 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.02184, allocations: 2.635 MB / 0.752 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.022, allocations: 21.3 kB / 0.752 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.02202, allocations: 16 kB / 0.752 GB, free: 12.82 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.0001173/0.02214, allocations: 153.5 kB / 0.7522 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.02219, allocations: 39.95 kB / 0.7522 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.02257, allocations: 325.7 kB / 0.7525 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.02257, allocations: 4.141 kB / 0.7525 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.02258, allocations: 7.984 kB / 0.7525 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.02258, allocations: 7.922 kB / 0.7525 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000702/0.02329, allocations: 0.6807 MB / 0.7532 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.02329, allocations: 4 kB / 0.7532 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.02347, allocations: 67.56 kB / 0.7533 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-05/0.02355, allocations: 67.64 kB / 0.7533 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003157/0.02386, allocations: 145.9 kB / 0.7535 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.02388, allocations: 11.98 kB / 0.7535 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.02521, allocations: 2.642 MB / 0.7561 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.02521, allocations: 4.844 kB / 0.7561 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.02569, allocations: 0.526 MB / 0.7566 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.02572, allocations: 8 kB / 0.7566 GB, free: 7.836 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.02584, allocations: 12 kB / 0.7566 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.02589, allocations: 32.48 kB / 0.7566 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.0259, allocations: 4 kB / 0.7566 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001033/0.026, allocations: 169.4 kB / 0.7568 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.026, allocations: 4 kB / 0.7568 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003257/0.02633, allocations: 152.9 kB / 0.7569 GB, free: 7.469 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 9.349e-05/0.02642, allocations: 89.95 kB / 0.757 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004827/0.0269, allocations: 0.5243 MB / 0.7575 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.625e-05/0.02692, allocations: 14.25 kB / 0.7576 GB, free: 6.816 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.02723, allocations: 412.2 kB / 0.758 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008003/0.02803, allocations: 1.602 MB / 0.7595 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.03175, allocations: 1.096 MB / 0.7606 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.03187, allocations: 170.3 kB / 0.7608 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001628/0.03203, allocations: 62.27 kB / 0.7608 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.03227, allocations: 173.3 kB / 0.761 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.03227, allocations: 0.8125 kB / 0.761 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of Templates: time 0.01023/0.0425, allocations: 8.784 MB / 0.7696 GB, free: 10.38 MB / 0.7449 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.934806365519762]