Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.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.0008008/0.0008008, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.002162, 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.0007396/0.0007396, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009069/0.001646, 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.9458/0.9458, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08029/1.026, 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.828/1.828, allocations: 378.4 MB / 0.6079 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4835/2.311, allocations: 123.3 MB / 0.7283 GB, free: 5.762 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.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.7296 GB, free: 4.484 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117e-05/1.283e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.002689/0.002701, allocations: 2.648 MB / 0.7322 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.003747, allocations: 1.032 MB / 0.7332 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.314e-05/0.003831, allocations: 7.938 kB / 0.7332 GB, free: 0.832 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.004126, allocations: 115.3 kB / 0.7333 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.004295, allocations: 159.9 kB / 0.7335 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.004481, allocations: 108.3 kB / 0.7336 GB, free: 472 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.004752, allocations: 351.6 kB / 0.7339 GB, free: 120 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.004964, allocations: 177.9 kB / 0.7341 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.00512, allocations: 196.2 kB / 0.7343 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.00533, allocations: 139.6 kB / 0.7344 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.005354, allocations: 21.41 kB / 0.7344 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.0055, allocations: 87.73 kB / 0.7345 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.005566, allocations: 75.84 kB / 0.7346 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.805e-05/0.005624, allocations: 64.41 kB / 0.7347 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.005864, allocations: 211.2 kB / 0.7349 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/0.005876, allocations: 1.562 kB / 0.7349 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005877, allocations: 0 / 0.7349 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.005889, allocations: 0 / 0.7349 GB, free: 15.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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000553/0.006442, allocations: 468.8 kB / 0.7353 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.006472, allocations: 8.531 kB / 0.7353 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003821/0.006855, allocations: 187.4 kB / 0.7355 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.007033, allocations: 182.1 kB / 0.7357 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.007046, allocations: 12.75 kB / 0.7357 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.007068, allocations: 21.66 kB / 0.7357 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.007289, allocations: 268.2 kB / 0.736 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.007301, allocations: 8.125 kB / 0.736 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.007315, allocations: 10.09 kB / 0.736 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.007342, allocations: 20.3 kB / 0.736 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.02e-05/0.007422, allocations: 60.78 kB / 0.736 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.008069, allocations: 0.9069 MB / 0.7369 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.00819, allocations: 65.36 kB / 0.737 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.008211, allocations: 13.7 kB / 0.737 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-06/0.008216, allocations: 0 / 0.737 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.008237, allocations: 39.5 kB / 0.737 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.008238, allocations: 0 / 0.737 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002053/0.008443, allocations: 95.06 kB / 0.7371 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.008466, allocations: 60.58 kB / 0.7372 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.145e-05/0.008557, allocations: 170.5 kB / 0.7374 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.008569, allocations: 29.7 kB / 0.7374 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.008625, allocations: 172.6 kB / 0.7375 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.008638, allocations: 23.8 kB / 0.7376 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.008675, allocations: 42.86 kB / 0.7376 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.09e-05/0.008746, allocations: 322.8 kB / 0.7379 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.008761, allocations: 8 kB / 0.7379 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.519e-05/0.008807, allocations: 82.62 kB / 0.738 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.492e-05/0.008892, allocations: 122.6 kB / 0.7381 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.008893, allocations: 0 / 0.7381 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001235/0.009017, allocations: 129.3 kB / 0.7382 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.009029, allocations: 8 kB / 0.7383 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.009034, allocations: 0 / 0.7383 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.009159, allocations: 39.33 kB / 0.7383 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.945e-05/0.009218, allocations: 24 kB / 0.7383 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005625/0.009781, allocations: 1.193 MB / 0.7395 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.009838, allocations: 19.83 kB / 0.7395 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.009845, allocations: 7.984 kB / 0.7395 GB, free: 10.02 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.009909, allocations: 120.6 kB / 0.7396 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.009925, allocations: 11.03 kB / 0.7396 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.761e-05/0.009943, allocations: 21.45 kB / 0.7397 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.12e-07/0.009944, allocations: 0 / 0.7397 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.009945, allocations: 0 / 0.7397 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.009949, allocations: 3.938 kB / 0.7397 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.01015, allocations: 259.5 kB / 0.7399 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01015, allocations: 0 / 0.7399 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/0.01017, allocations: 8 kB / 0.7399 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.874e-05/0.01019, allocations: 12.61 kB / 0.7399 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.704e-05/0.01028, allocations: 44.52 kB / 0.74 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.01028, allocations: 3.984 kB / 0.74 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004615/0.01074, allocations: 1.186 MB / 0.7411 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01074, allocations: 3.938 kB / 0.7411 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.085e-05/0.01084, allocations: 175.1 kB / 0.7413 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.01085, allocations: 4 kB / 0.7413 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.899e-05/0.01089, allocations: 0 / 0.7413 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.01091, allocations: 7.984 kB / 0.7413 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.01091, allocations: 4 kB / 0.7413 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.657e-05/0.01095, allocations: 47.88 kB / 0.7414 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.01095, allocations: 0 / 0.7414 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001612/0.01111, allocations: 61.12 kB / 0.7414 GB, free: 7.91 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.432e-05/0.01117, allocations: 78.05 kB / 0.7415 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.01138, allocations: 185.8 kB / 0.7417 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.01139, allocations: 0 / 0.7417 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.825e-05/0.01147, allocations: 135.5 kB / 0.7418 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.0117, allocations: 271.2 kB / 0.7421 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.01322, allocations: 383.9 kB / 0.7424 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.637e-05/0.01328, allocations: 93.09 kB / 0.7425 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.516e-05/0.01332, allocations: 15.48 kB / 0.7425 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.0134, allocations: 80.03 kB / 0.7426 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.0134, allocations: 0 / 0.7426 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of Templates: time 0.003194/0.01659, allocations: 1.761 MB / 0.7443 GB, free: 4.902 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.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.659593005664647]