Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.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.001425/0.001425, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002113/0.003539, 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.001271/0.001271, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001689/0.00296, 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.9796/0.9796, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09012/1.07, 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.878/1.878, allocations: 378.3 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4897/2.367, 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.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.7296 GB, free: 4.449 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.076e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.445 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005226/0.005247, allocations: 3.404 MB / 0.733 GB, free: 1.082 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002511/0.007758, allocations: 1.3 MB / 0.7342 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.008032, allocations: 12.72 kB / 0.7342 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005332/0.008566, allocations: 143.8 kB / 0.7344 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005634/0.009129, allocations: 285.1 kB / 0.7346 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.009612, allocations: 201.8 kB / 0.7348 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008711/0.01048, allocations: 0.6927 MB / 0.7355 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005226/0.01101, allocations: 329.8 kB / 0.7358 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006025/0.01161, allocations: 387.1 kB / 0.7362 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006147/0.01222, allocations: 280 kB / 0.7365 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.168e-05/0.0123, allocations: 36.5 kB / 0.7365 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.01264, allocations: 113.5 kB / 0.7366 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.01279, allocations: 131.6 kB / 0.7367 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.01296, allocations: 127.8 kB / 0.7369 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005657/0.01353, allocations: 374.6 kB / 0.7372 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.522e-05/0.01354, allocations: 0 / 0.7372 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.482e-06/0.01354, allocations: 0.9062 kB / 0.7372 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.144e-05/0.01356, allocations: 0 / 0.7372 GB, free: 12.71 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001146/0.01471, allocations: 0.7053 MB / 0.7379 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.01475, allocations: 8.031 kB / 0.7379 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009275/0.01567, allocations: 275.5 kB / 0.7382 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.01609, allocations: 263.5 kB / 0.7384 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.01612, allocations: 25.38 kB / 0.7384 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/0.01618, allocations: 36.38 kB / 0.7385 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005212/0.01671, allocations: 493.8 kB / 0.739 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.01672, allocations: 5.156 kB / 0.739 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.01676, allocations: 16.38 kB / 0.739 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-05/0.01682, allocations: 36.58 kB / 0.739 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.01698, allocations: 110.3 kB / 0.7391 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.01817, allocations: 1.442 MB / 0.7405 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.01841, allocations: 165.9 kB / 0.7407 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.01846, allocations: 37.59 kB / 0.7407 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.01847, allocations: 4 kB / 0.7407 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.01849, allocations: 47.08 kB / 0.7408 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.0185, allocations: 0 / 0.7408 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0005167/0.01901, allocations: 269.8 kB / 0.741 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.01904, allocations: 59.34 kB / 0.7411 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.01919, allocations: 251.9 kB / 0.7413 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.01921, allocations: 33.64 kB / 0.7414 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/0.0193, allocations: 228 kB / 0.7416 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.01933, allocations: 71.31 kB / 0.7416 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.01939, allocations: 57.67 kB / 0.7417 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.01948, allocations: 342.8 kB / 0.742 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.913e-05/0.01952, allocations: 23.98 kB / 0.742 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.004e-05/0.0196, allocations: 115.7 kB / 0.7422 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.01975, allocations: 176.5 kB / 0.7423 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01975, allocations: 1.594 kB / 0.7423 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002437/0.01999, allocations: 222.4 kB / 0.7425 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.02001, allocations: 4 kB / 0.7425 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.02001, allocations: 6.656 kB / 0.7425 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.02023, allocations: 75.59 kB / 0.7426 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.0204, allocations: 77.8 kB / 0.7427 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.02163, allocations: 2.41 MB / 0.745 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.02174, allocations: 29.66 kB / 0.7451 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.02176, allocations: 12 kB / 0.7451 GB, free: 4.137 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 31 * 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 {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.015e-05/0.02185, allocations: 136.5 kB / 0.7452 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.02188, allocations: 21.42 kB / 0.7452 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.02191, allocations: 38.11 kB / 0.7453 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.02191, allocations: 7.875 kB / 0.7453 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.02192, allocations: 0 / 0.7453 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.02193, allocations: 9.234 kB / 0.7453 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.02211, allocations: 169.7 kB / 0.7454 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.02211, allocations: 0 / 0.7454 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.02222, allocations: 41.28 kB / 0.7455 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.02227, allocations: 39.73 kB / 0.7455 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001617/0.02243, allocations: 66.16 kB / 0.7456 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.02245, allocations: 8 kB / 0.7456 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009999/0.02345, allocations: 2.409 MB / 0.7479 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.02345, allocations: 1.531 kB / 0.748 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.02369, allocations: 288.3 kB / 0.7482 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.02371, allocations: 4.75 kB / 0.7482 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.02379, allocations: 25.8 kB / 0.7483 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.02382, allocations: 15.97 kB / 0.7483 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.02383, allocations: 8 kB / 0.7483 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.32e-05/0.0239, allocations: 82.78 kB / 0.7484 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-08/0.0239, allocations: 0 / 0.7484 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002712/0.02417, allocations: 114.5 kB / 0.7485 GB, free: 448 kB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (17): * Single equations (assignments): 15 * 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 {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.581e-05/0.02426, allocations: 84.41 kB / 0.7485 GB, free: 352 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003259/0.02459, allocations: 356.7 kB / 0.7489 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.91e-05/0.02461, allocations: 16 kB / 0.7489 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.02478, allocations: 304.8 kB / 0.7492 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.0252, allocations: 0.6273 MB / 0.7498 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.02777, allocations: 0.6234 MB / 0.7504 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.846e-05/0.02785, allocations: 134.2 kB / 0.7505 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.934e-05/0.02795, allocations: 28.69 kB / 0.7506 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.02809, allocations: 123.2 kB / 0.7507 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of SimCode: time 7.41e-07/0.02809, allocations: 1.312 kB / 0.7507 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of Templates: time 0.006201/0.03429, allocations: 4.245 MB / 0.7548 GB, free: 9.879 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel/Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.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.974304079078138]