Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.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.001028/0.001028, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001661/0.002689, allocations: 453.9 kB / 10.45 MB, free: 244 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.001028/0.001028, allocations: 157.1 kB / 11.35 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001436/0.002464, allocations: 475.6 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.9508/0.9508, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08786/1.039, 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.762/1.762, allocations: 378.4 MB / 0.6079 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4783/2.241, allocations: 123.3 MB / 0.7283 GB, free: 5.75 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,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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.229e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.434 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006535/0.006558, allocations: 7.885 MB / 0.7373 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.007144/0.0137, allocations: 6.009 MB / 0.7432 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006682/0.01437, allocations: 91.19 kB / 0.7433 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007217/0.01509, allocations: 395.8 kB / 0.7437 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.01725, allocations: 1.523 MB / 0.7452 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008043/0.01806, allocations: 0.5577 MB / 0.7457 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001832/0.01989, allocations: 2.524 MB / 0.7482 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.02099, allocations: 1.141 MB / 0.7493 GB, free: 316 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.02258, allocations: 1.715 MB / 0.751 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.02359, allocations: 0.9318 MB / 0.7519 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.02375, allocations: 136 kB / 0.752 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.02426, allocations: 300.2 kB / 0.7523 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003453/0.02461, allocations: 0.5376 MB / 0.7528 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004081/0.02502, allocations: 0.4997 MB / 0.7533 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.0261, allocations: 1.335 MB / 0.7546 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.54e-05/0.02611, allocations: 1.344 kB / 0.7546 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.283e-06/0.02612, allocations: 0 / 0.7546 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.796e-05/0.02614, allocations: 0 / 0.7546 GB, free: 10.86 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002005/0.02815, allocations: 2.225 MB / 0.7568 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.02818, allocations: 8.031 kB / 0.7568 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/0.03116, allocations: 0.8602 MB / 0.7576 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.03238, allocations: 1.043 MB / 0.7587 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.884e-05/0.03243, allocations: 87.58 kB / 0.7587 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.03259, allocations: 124.3 kB / 0.7589 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.03414, allocations: 1.552 MB / 0.7604 GB, free: 4.688 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.03417, allocations: 9.375 kB / 0.7604 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.541e-05/0.03427, allocations: 51.98 kB / 0.7604 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001628/0.03443, allocations: 102.2 kB / 0.7605 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000694/0.03513, allocations: 0.5157 MB / 0.761 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004379/0.0395, allocations: 5.309 MB / 0.7662 GB, free: 14.55 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007722/0.04028, allocations: 420 kB / 0.7666 GB, free: 14.14 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.04049, allocations: 163.2 kB / 0.7668 GB, free: 13.98 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.04053, allocations: 12.5 kB / 0.7668 GB, free: 13.97 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.04056, allocations: 39.84 kB / 0.7668 GB, free: 13.93 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=53): time 2.004e-06/0.04056, allocations: 0 / 0.7668 GB, free: 13.93 MB / 0.7449 GB Notification: Performance of matching and sorting (n=54): time 0.003392/0.04395, allocations: 1.864 MB / 0.7686 GB, free: 12.09 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.04398, allocations: 68.91 kB / 0.7687 GB, free: 12.01 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005142/0.0445, allocations: 0.8394 MB / 0.7695 GB, free: 11.16 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/0.04455, allocations: 37.7 kB / 0.7696 GB, free: 11.11 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.0448, allocations: 0.6044 MB / 0.7702 GB, free: 10.5 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.04492, allocations: 190.3 kB / 0.7703 GB, free: 10.31 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.04509, allocations: 150.5 kB / 0.7705 GB, free: 10.16 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 8.83e-05/0.04518, allocations: 342.9 kB / 0.7708 GB, free: 9.816 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.04537, allocations: 144.7 kB / 0.7709 GB, free: 9.68 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.04566, allocations: 379.3 kB / 0.7713 GB, free: 9.219 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005386/0.0462, allocations: 0.5915 MB / 0.7719 GB, free: 8.535 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.0462, allocations: 0 / 0.7719 GB, free: 8.535 MB / 0.7449 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001039/0.04724, allocations: 0.8053 MB / 0.7727 GB, free: 7.711 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.04726, allocations: 15.97 kB / 0.7727 GB, free: 7.695 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.04727, allocations: 8 kB / 0.7727 GB, free: 7.688 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007936/0.04806, allocations: 338.4 kB / 0.773 GB, free: 7.34 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005857/0.04865, allocations: 219.5 kB / 0.7732 GB, free: 7.125 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00325/0.0519, allocations: 5.445 MB / 0.7785 GB, free: 1.289 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004395/0.05234, allocations: 47.97 kB / 0.7786 GB, free: 1.242 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/0.05239, allocations: 31.97 kB / 0.7786 GB, free: 1.211 MB / 0.7449 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 (73): * Single equations (assignments): 69 * 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%), (3,5,100.0%), (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.0002321/0.05262, allocations: 164.4 kB / 0.7788 GB, free: 1.039 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.05275, allocations: 95.83 kB / 0.7789 GB, free: 0.9453 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.05379, allocations: 0.7424 MB / 0.7796 GB, free: 180 kB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.05379, allocations: 8 kB / 0.7796 GB, free: 172 kB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.05379, allocations: 7.938 kB / 0.7796 GB, free: 164 kB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.0538, allocations: 3.984 kB / 0.7796 GB, free: 160 kB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.05551, allocations: 1.403 MB / 0.781 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.05551, allocations: 0 / 0.781 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.05595, allocations: 147.9 kB / 0.7811 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.05617, allocations: 203 kB / 0.7813 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007305/0.05691, allocations: 334.5 kB / 0.7816 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.05695, allocations: 23.95 kB / 0.7817 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003038/0.05999, allocations: 5.428 MB / 0.787 GB, free: 8.164 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.05999, allocations: 432 / 0.787 GB, free: 8.164 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009432/0.06094, allocations: 0.7867 MB / 0.7877 GB, free: 7.324 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.083e-05/0.06103, allocations: 15.98 kB / 0.7877 GB, free: 7.309 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.06139, allocations: 31.98 kB / 0.7878 GB, free: 7.277 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.533e-05/0.06149, allocations: 60.28 kB / 0.7878 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.06153, allocations: 19.97 kB / 0.7878 GB, free: 7.199 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00028/0.06181, allocations: 424.5 kB / 0.7883 GB, free: 6.777 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-08/0.06181, allocations: 4 kB / 0.7883 GB, free: 6.773 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006864/0.0625, allocations: 344 kB / 0.7886 GB, free: 6.438 MB / 0.7605 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 (37): * Single equations (assignments): 33 * 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%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001839/0.06268, allocations: 108.3 kB / 0.7887 GB, free: 6.32 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.06383, allocations: 1.093 MB / 0.7898 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.148e-05/0.06385, allocations: 16.5 kB / 0.7898 GB, free: 5.164 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007017/0.06455, allocations: 0.8417 MB / 0.7906 GB, free: 4.266 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.06663, allocations: 4.685 MB / 0.7952 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007397/0.07403, allocations: 2.334 MB / 0.7974 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.07427, allocations: 332.5 kB / 0.7978 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0006461/0.07491, allocations: 281.8 kB / 0.798 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000698/0.07561, allocations: 395 kB / 0.7984 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of SimCode: time 1.122e-06/0.07561, allocations: 4 kB / 0.7984 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of Templates: time 0.02889/0.1045, allocations: 27.44 MB / 0.8252 GB, free: 364 kB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine/Buildings_12_Buildings.Electrical.AC.OnePhase.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.153144971467555]