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.0012/0.0012, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.001223/0.001223, allocations: 173.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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 0.8852/0.8852, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.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.119/0.119, allocations: 32.37 MB / 270.4 MB, free: 14.96 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.442e-06/1.442e-06, allocations: 0 / 408.1 MB, free: 1.781 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.18e-05, allocations: 10.02 kB / 408.1 MB, free: 1.773 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0009563/0.0009781, allocations: 0.4909 MB / 408.6 MB, free: 1.285 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005201/0.001498, allocations: 304.9 kB / 408.9 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.732e-05/0.001516, allocations: 4 kB / 408.9 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.00153, allocations: 0 / 408.9 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.711e-06/0.001536, allocations: 0 / 408.9 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006884/0.002224, allocations: 95.58 kB / 409 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.973e-05/0.002274, allocations: 0 / 409 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.002314, allocations: 3.984 kB / 409 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.272e-05/0.002347, allocations: 4 kB / 409 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.217e-05/0.002369, allocations: 0 / 409 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.336e-06/0.002377, allocations: 0 / 409 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.002539, allocations: 107.8 kB / 409.1 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-06/0.002547, allocations: 4 kB / 409.1 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.002565, allocations: 0 / 409.1 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.002758, allocations: 107.7 kB / 409.2 MB, free: 0.668 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.00276, allocations: 7.875 kB / 409.2 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.002761, allocations: 0 / 409.2 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.002765, allocations: 0 / 409.2 MB, free: 0.6602 MB / 378.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.0002786/0.003044, allocations: 284 kB / 409.5 MB, free: 352 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.003081, allocations: 12.03 kB / 409.5 MB, free: 340 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.003117, allocations: 8.859 kB / 409.5 MB, free: 332 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.914e-05/0.003176, allocations: 105.8 kB / 409.6 MB, free: 200 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.003187, allocations: 4.375 kB / 409.6 MB, free: 196 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.003196, allocations: 4.375 kB / 409.6 MB, free: 192 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.657e-05/0.003283, allocations: 59.95 kB / 409.7 MB, free: 120 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.003294, allocations: 192 / 409.7 MB, free: 120 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.003303, allocations: 4.375 kB / 409.7 MB, free: 116 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.003308, allocations: 384 / 409.7 MB, free: 116 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.311e-05/0.003331, allocations: 29.64 kB / 409.7 MB, free: 80 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.332e-05/0.003424, allocations: 105.3 kB / 409.8 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.196e-05/0.003466, allocations: 48.22 kB / 409.8 MB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.003486, allocations: 30.66 kB / 409.9 MB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.003492, allocations: 8 kB / 409.9 MB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.003524, allocations: 56.27 kB / 409.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.003525, allocations: 0 / 409.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001546/0.003679, allocations: 122.7 kB / 410 MB, free: 15.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.003715, allocations: 77.11 kB / 410.1 MB, free: 15.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.957e-05/0.003744, allocations: 97.81 kB / 410.2 MB, free: 15.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.003753, allocations: 25.7 kB / 410.2 MB, free: 15.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.638e-05/0.003769, allocations: 80.14 kB / 410.3 MB, free: 15.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.003782, allocations: 3.938 kB / 410.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.003803, allocations: 13.72 kB / 410.3 MB, free: 15.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.003873, allocations: 322.9 kB / 410.7 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.003888, allocations: 29.7 kB / 410.7 MB, free: 14.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.23e-05/0.0039, allocations: 29.7 kB / 410.7 MB, free: 14.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.281e-05/0.003933, allocations: 56.27 kB / 410.8 MB, free: 14.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.003936, allocations: 4 kB / 410.8 MB, free: 14.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.61e-05/0.003982, allocations: 93.03 kB / 410.9 MB, free: 14.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.004005, allocations: 37.7 kB / 410.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.004008, allocations: 0 / 410.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.00402, allocations: 0 / 410.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.004021, allocations: 4.094 kB / 410.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.004025, allocations: 0 / 410.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.102e-05/0.004036, allocations: 3.938 kB / 410.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.004044, allocations: 4 kB / 410.9 MB, free: 14.65 MB / 394.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 5.178e-05/0.004095, allocations: 131.5 kB / 411 MB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-06/0.0041, allocations: 3.984 kB / 411 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.145e-06/0.004108, allocations: 7 kB / 411.1 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.004109, allocations: 0 / 411.1 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.004114, allocations: 0 / 411.1 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.004116, allocations: 0 / 411.1 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.523e-05/0.004161, allocations: 105.2 kB / 411.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004162, allocations: 3.938 kB / 411.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.004163, allocations: 4 kB / 411.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.004164, allocations: 0 / 411.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.00417, allocations: 0 / 411.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.00417, allocations: 0 / 411.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.004171, allocations: 0 / 411.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.569e-05/0.004237, allocations: 124.4 kB / 411.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-06/0.004239, allocations: 0 / 411.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.00425, allocations: 7.984 kB / 411.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.358e-06/0.004254, allocations: 0 / 411.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-06/0.004263, allocations: 4.031 kB / 411.3 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-06/0.004264, allocations: 0 / 411.3 MB, free: 14.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.838e-05/0.004283, allocations: 79.28 kB / 411.4 MB, free: 14.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004283, allocations: 0 / 411.4 MB, free: 14.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001542/0.004437, allocations: 31.88 kB / 411.4 MB, free: 14.08 MB / 394.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.0003538/0.004791, allocations: 296.3 kB / 411.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.021e-05/0.004881, allocations: 118.8 kB / 411.8 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.004883, allocations: 0 / 411.8 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.472e-05/0.004908, allocations: 81.11 kB / 411.9 MB, free: 13.56 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.617e-05/0.004994, allocations: 3.938 kB / 411.9 MB, free: 13.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001558/0.00515, allocations: 132.3 kB / 412 MB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.269e-05/0.005182, allocations: 59.34 kB / 412.1 MB, free: 13.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.068e-05/0.005193, allocations: 8.5 kB / 412.1 MB, free: 13.3 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.005193, allocations: 0 / 412.1 MB, free: 13.3 MB / 394.7 MB Notification: Performance of Templates: time 0.001867/0.007061, allocations: 1.174 MB / 413.3 MB, free: 12.13 MB / 394.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.67281624302268]