Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.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.001278/0.001278, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00205/0.003329, allocations: 452 kB / 10.43 MB, free: 264 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.001062/0.001062, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.002158, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.072/1.072, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1816/1.253, allocations: 49.5 MB / 220.7 MB, free: 1.367 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1429/0.1429, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02386/0.1668, allocations: 12.31 MB / 266.1 MB, free: 3.883 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 267.4 MB, free: 2.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.03e-05, allocations: 6.25 kB / 267.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001547/0.001568, allocations: 0.544 MB / 267.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006673/0.002235, allocations: 310.9 kB / 268.2 MB, free: 1.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.748e-06/0.002245, allocations: 0 / 268.2 MB, free: 1.734 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.827e-06/0.002248, allocations: 0 / 268.2 MB, free: 1.734 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.132e-06/0.00225, allocations: 7.938 kB / 268.2 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.002758, allocations: 91.58 kB / 268.3 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.079e-05/0.002799, allocations: 4 kB / 268.3 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.762e-05/0.002826, allocations: 4 kB / 268.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.717e-05/0.002853, allocations: 4 kB / 268.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.806e-05/0.002872, allocations: 0 / 268.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.911e-06/0.002877, allocations: 0 / 268.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.003097, allocations: 115.8 kB / 268.4 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.003107, allocations: 7.938 kB / 268.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.003129, allocations: 4 kB / 268.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.003347, allocations: 95.72 kB / 268.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/0.003359, allocations: 0 / 268.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.00336, allocations: 0 / 268.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.003372, allocations: 0 / 268.5 MB, free: 1.406 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003237/0.003695, allocations: 270.2 kB / 268.8 MB, free: 1.109 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.003734, allocations: 12.03 kB / 268.8 MB, free: 1.098 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.003779, allocations: 4.922 kB / 268.8 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.659e-05/0.003855, allocations: 101.8 kB / 268.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.003868, allocations: 4.375 kB / 268.9 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.003878, allocations: 384 / 268.9 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.029e-05/0.003968, allocations: 59.95 kB / 269 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.003977, allocations: 4.188 kB / 269 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.003984, allocations: 4.375 kB / 269 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.00399, allocations: 384 / 269 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.3e-05/0.004013, allocations: 37.56 kB / 269 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.298e-05/0.004106, allocations: 57.05 kB / 269.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.308e-05/0.004159, allocations: 44.31 kB / 269.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.004183, allocations: 30.56 kB / 269.2 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-06/0.004187, allocations: 0 / 269.2 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.004237, allocations: 60.33 kB / 269.2 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.004238, allocations: 0 / 269.2 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001462/0.004384, allocations: 118.7 kB / 269.3 MB, free: 472 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/0.004462, allocations: 162.2 kB / 269.5 MB, free: 272 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.171e-05/0.004504, allocations: 89.86 kB / 269.6 MB, free: 172 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.004516, allocations: 25.7 kB / 269.6 MB, free: 140 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.408e-05/0.004541, allocations: 80.14 kB / 269.7 MB, free: 56 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.004567, allocations: 0 / 269.7 MB, free: 56 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.004599, allocations: 17.7 kB / 269.7 MB, free: 32 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.004724, allocations: 318.8 kB / 270 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/0.004746, allocations: 29.7 kB / 270 MB, free: 15.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.801e-05/0.004764, allocations: 25.83 kB / 270.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.604e-05/0.00482, allocations: 68.27 kB / 270.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.004822, allocations: 0 / 270.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.6e-05/0.004898, allocations: 93.09 kB / 270.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.00494, allocations: 29.7 kB / 270.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.004946, allocations: 0 / 270.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.004965, allocations: 3.938 kB / 270.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.104e-06/0.004967, allocations: 0 / 270.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.004971, allocations: 7.984 kB / 270.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.004e-05/0.004991, allocations: 0 / 270.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.005, allocations: 32 / 270.3 MB, free: 15.41 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.41e-05/0.005084, allocations: 151.5 kB / 270.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.005091, allocations: 0 / 270.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.739e-06/0.005101, allocations: 3 kB / 270.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.005103, allocations: 0 / 270.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.005104, allocations: 0 / 270.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.005107, allocations: 0 / 270.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.846e-05/0.005165, allocations: 65.84 kB / 270.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.005167, allocations: 0 / 270.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-06/0.005169, allocations: 3.984 kB / 270.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-06/0.005173, allocations: 0 / 270.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.005175, allocations: 11.94 kB / 270.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.005181, allocations: 0 / 270.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.005182, allocations: 0 / 270.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.005183, allocations: 0 / 270.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.748e-05/0.00527, allocations: 112.5 kB / 270.6 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.005285, allocations: 4 kB / 270.6 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.005294, allocations: 0 / 270.6 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-06/0.005303, allocations: 0 / 270.6 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.005306, allocations: 0 / 270.6 MB, free: 15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.605e-06/0.005313, allocations: 4.859 kB / 270.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005313, allocations: 4.031 kB / 270.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00021/0.005523, allocations: 39.86 kB / 270.7 MB, free: 14.95 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007898/0.006313, allocations: 366 kB / 271 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.006438, allocations: 119.6 kB / 271.1 MB, free: 14.44 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.006445, allocations: 4 kB / 271.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.437e-05/0.006489, allocations: 90.06 kB / 271.2 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.125e-05/0.00655, allocations: 3.938 kB / 271.2 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001801/0.006731, allocations: 112 kB / 271.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.463e-05/0.006765, allocations: 51.36 kB / 271.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.552e-06/0.006772, allocations: 0 / 271.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.006819, allocations: 51.38 kB / 271.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.00682, allocations: 0 / 271.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of Templates: time 0.003871/0.01069, allocations: 1.208 MB / 272.6 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestStreams/TestStreams.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8763184854760766]