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.0008206/0.0008206, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001131/0.001951, allocations: 447.8 kB / 10.35 MB, free: 348 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.0006785/0.0006785, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000924/0.001602, allocations: 463.6 kB / 11.69 MB, free: 2.48 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 0.9937/0.9937, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.18/1.174, allocations: 49.5 MB / 220.5 MB, free: 5.281 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.1266/0.1266, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02024/0.1468, allocations: 12.29 MB / 265.9 MB, free: 7.84 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.493e-06/1.493e-06, allocations: 0 / 267.2 MB, free: 6.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115e-05/1.264e-05, allocations: 6.25 kB / 267.2 MB, free: 6.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0008842/0.0008968, allocations: 0.5361 MB / 267.7 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004826/0.001379, allocations: 314.9 kB / 268 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.239e-05/0.001392, allocations: 0 / 268 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.416e-06/0.001395, allocations: 0 / 268 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.12e-07/0.001396, allocations: 8 kB / 268 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.001878, allocations: 87.55 kB / 268.1 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.495e-05/0.001933, allocations: 7.938 kB / 268.1 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.013e-05/0.001973, allocations: 3.984 kB / 268.1 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.425e-05/0.002018, allocations: 3.984 kB / 268.1 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.487e-05/0.002042, allocations: 4 kB / 268.1 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.002051, allocations: 0 / 268.1 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.002242, allocations: 111.8 kB / 268.3 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.736e-06/0.002251, allocations: 0 / 268.3 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.28e-05/0.002264, allocations: 0 / 268.3 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.002426, allocations: 91.66 kB / 268.3 MB, free: 5.402 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.491e-05/0.002441, allocations: 8 kB / 268.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.002442, allocations: 0 / 268.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.002454, allocations: 0 / 268.3 MB, free: 5.395 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.0002487/0.002703, allocations: 274.3 kB / 268.6 MB, free: 5.094 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.002731, allocations: 8.031 kB / 268.6 MB, free: 5.086 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.00276, allocations: 0.9375 kB / 268.6 MB, free: 5.086 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.158e-05/0.002811, allocations: 105.8 kB / 268.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.002821, allocations: 384 / 268.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-06/0.002826, allocations: 384 / 268.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.165e-05/0.002887, allocations: 63.89 kB / 268.8 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.002893, allocations: 4.188 kB / 268.8 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-06/0.002898, allocations: 384 / 268.8 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.002901, allocations: 384 / 268.8 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.002919, allocations: 33.64 kB / 268.8 MB, free: 4.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.518e-05/0.002974, allocations: 64.97 kB / 268.9 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.863e-05/0.003013, allocations: 48.3 kB / 268.9 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.003027, allocations: 34.56 kB / 269 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-06/0.00303, allocations: 4.062 kB / 269 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.003069, allocations: 60.2 kB / 269 MB, free: 4.578 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.00307, allocations: 0 / 269 MB, free: 4.578 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001054/0.003175, allocations: 118.8 kB / 269.2 MB, free: 4.438 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.00321, allocations: 77.11 kB / 269.2 MB, free: 4.344 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.207e-05/0.003242, allocations: 89.86 kB / 269.3 MB, free: 4.246 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.677e-06/0.003251, allocations: 25.7 kB / 269.3 MB, free: 4.215 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.083e-05/0.003272, allocations: 84.14 kB / 269.4 MB, free: 4.129 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.003287, allocations: 0 / 269.4 MB, free: 4.129 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.003307, allocations: 9.719 kB / 269.4 MB, free: 4.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.003387, allocations: 318.8 kB / 269.7 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.003399, allocations: 25.7 kB / 269.8 MB, free: 3.762 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.76e-05/0.003417, allocations: 33.62 kB / 269.8 MB, free: 3.723 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.561e-05/0.003462, allocations: 68.45 kB / 269.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.003466, allocations: 4 kB / 269.9 MB, free: 3.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.217e-05/0.003518, allocations: 85.09 kB / 270 MB, free: 3.535 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.003554, allocations: 33.69 kB / 270 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.003558, allocations: 0 / 270 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.003566, allocations: 8 kB / 270 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.008e-06/0.00357, allocations: 0 / 270 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.003574, allocations: 3.984 kB / 270 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.003591, allocations: 0 / 270 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.0036, allocations: 32 / 270 MB, free: 3.484 MB / 266.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 6.639e-05/0.003666, allocations: 147.5 kB / 270.1 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-06/0.003671, allocations: 3.938 kB / 270.1 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.478e-06/0.003681, allocations: 6.984 kB / 270.2 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.003683, allocations: 4 kB / 270.2 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.003685, allocations: 0 / 270.2 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.003689, allocations: 0 / 270.2 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.592e-05/0.003734, allocations: 61.84 kB / 270.2 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.003735, allocations: 0 / 270.2 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.003736, allocations: 0 / 270.2 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.003742, allocations: 7.953 kB / 270.2 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.31e-07/0.003743, allocations: 7.938 kB / 270.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.003747, allocations: 0 / 270.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.003747, allocations: 0 / 270.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.003748, allocations: 0 / 270.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.705e-05/0.003815, allocations: 120.5 kB / 270.4 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.003826, allocations: 0 / 270.4 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-06/0.003832, allocations: 0 / 270.4 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.003843, allocations: 3.984 kB / 270.4 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.003845, allocations: 4 kB / 270.4 MB, free: 3.062 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.765e-06/0.003853, allocations: 8.797 kB / 270.4 MB, free: 3.051 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.003853, allocations: 4.031 kB / 270.4 MB, free: 3.047 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001512/0.004005, allocations: 31.88 kB / 270.4 MB, free: 3.016 MB / 266.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.000531/0.004536, allocations: 350.1 kB / 270.7 MB, free: 2.664 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.413e-05/0.00463, allocations: 119.7 kB / 270.9 MB, free: 2.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.004635, allocations: 0 / 270.9 MB, free: 2.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.204e-05/0.004667, allocations: 90.03 kB / 271 MB, free: 2.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.039e-05/0.004717, allocations: 15.92 kB / 271 MB, free: 2.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001386/0.004856, allocations: 104 kB / 271.1 MB, free: 2.258 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.114e-05/0.004887, allocations: 55.36 kB / 271.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.25e-06/0.004892, allocations: 0 / 271.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.00493, allocations: 55.36 kB / 271.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of SimCode: time 3.71e-07/0.004931, allocations: 0 / 271.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of Templates: time 0.002471/0.007402, allocations: 1.172 MB / 272.3 MB, free: 0.957 MB / 266.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.725203312933445]