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.001181/0.001181, allocations: 84.2 kB / 20.94 MB, free: 3.605 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.001117/0.001117, allocations: 169 kB / 24.24 MB, free: 312 kB / 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.9331/0.9331, allocations: 158.6 MB / 186 MB, free: 2.637 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.1312/0.1312, allocations: 32.38 MB / 270.7 MB, free: 14.73 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.173e-06/1.173e-06, allocations: 0 / 347.6 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.92e-05, allocations: 2.312 kB / 347.6 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.00103/0.001049, allocations: 0.5103 MB / 348.1 MB, free: 9.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005413/0.00159, allocations: 303.1 kB / 348.4 MB, free: 8.992 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.001631, allocations: 4 kB / 348.4 MB, free: 8.988 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.001651, allocations: 0 / 348.4 MB, free: 8.988 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.735e-06/0.001659, allocations: 0 / 348.4 MB, free: 8.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006936/0.002353, allocations: 106.7 kB / 348.5 MB, free: 8.891 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.462e-05/0.002407, allocations: 0 / 348.5 MB, free: 8.891 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.002444, allocations: 4 kB / 348.6 MB, free: 8.887 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.132e-05/0.002475, allocations: 0 / 348.6 MB, free: 8.887 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.342e-05/0.002499, allocations: 3.984 kB / 348.6 MB, free: 8.883 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.002508, allocations: 0 / 348.6 MB, free: 8.883 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.002688, allocations: 107.8 kB / 348.7 MB, free: 8.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.909e-06/0.002698, allocations: 0 / 348.7 MB, free: 8.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.002725, allocations: 4 kB / 348.7 MB, free: 8.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.002916, allocations: 107.7 kB / 348.8 MB, free: 8.668 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.002919, allocations: 0 / 348.8 MB, free: 8.668 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00292, allocations: 0 / 348.8 MB, free: 8.668 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.002927, allocations: 4 kB / 348.8 MB, free: 8.664 MB / 282.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.0003032/0.00323, allocations: 385.9 kB / 349.2 MB, free: 8.242 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.003284, allocations: 8.031 kB / 349.2 MB, free: 8.234 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.003334, allocations: 0.9375 kB / 349.2 MB, free: 8.234 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.195e-05/0.003406, allocations: 112.6 kB / 349.3 MB, free: 8.098 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.003424, allocations: 4.375 kB / 349.3 MB, free: 8.094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.003437, allocations: 384 / 349.3 MB, free: 8.094 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.003578, allocations: 63.91 kB / 349.3 MB, free: 8.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.003588, allocations: 192 / 349.3 MB, free: 8.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.003599, allocations: 4.359 kB / 349.3 MB, free: 8.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.003609, allocations: 384 / 349.3 MB, free: 8.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.986e-05/0.003629, allocations: 29.64 kB / 349.4 MB, free: 7.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.92e-05/0.003728, allocations: 112.6 kB / 349.5 MB, free: 7.836 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.152e-05/0.003779, allocations: 48.77 kB / 349.5 MB, free: 7.77 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.003801, allocations: 41.48 kB / 349.6 MB, free: 7.719 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.003807, allocations: 3.984 kB / 349.6 MB, free: 7.715 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.003844, allocations: 63.08 kB / 349.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.003844, allocations: 7.938 kB / 349.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002018/0.004046, allocations: 118.8 kB / 349.8 MB, free: 7.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.00408, allocations: 77.11 kB / 349.8 MB, free: 7.395 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.081e-05/0.004111, allocations: 146.2 kB / 350 MB, free: 7.238 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.515e-06/0.004118, allocations: 29.69 kB / 350 MB, free: 7.203 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.596e-05/0.004134, allocations: 126.9 kB / 350.1 MB, free: 7.074 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.004155, allocations: 0 / 350.1 MB, free: 7.074 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.004181, allocations: 19.38 kB / 350.1 MB, free: 7.047 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.865e-05/0.00426, allocations: 496.1 kB / 350.6 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.004276, allocations: 29.7 kB / 350.7 MB, free: 6.516 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.154e-05/0.004288, allocations: 33.77 kB / 350.7 MB, free: 6.477 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.462e-05/0.004332, allocations: 71.03 kB / 350.8 MB, free: 6.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.004335, allocations: 0 / 350.8 MB, free: 6.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.834e-05/0.004383, allocations: 89.09 kB / 350.9 MB, free: 6.285 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.004409, allocations: 29.7 kB / 350.9 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.004417, allocations: 0 / 350.9 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.004435, allocations: 0 / 350.9 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.004436, allocations: 0 / 350.9 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.004445, allocations: 4 kB / 350.9 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.004464, allocations: 8.375 kB / 350.9 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.004472, allocations: 0 / 350.9 MB, free: 6.238 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 5.505e-05/0.004527, allocations: 186.3 kB / 351.1 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-06/0.004533, allocations: 4 kB / 351.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.176e-05/0.004545, allocations: 7 kB / 351.1 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.004547, allocations: 0 / 351.1 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.004552, allocations: 0 / 351.1 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.004557, allocations: 4 kB / 351.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.987e-05/0.004607, allocations: 116.5 kB / 351.2 MB, free: 5.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.004608, allocations: 3.984 kB / 351.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-07/0.004608, allocations: 4 kB / 351.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-07/0.004609, allocations: 0 / 351.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.004616, allocations: 0 / 351.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.004617, allocations: 4 kB / 351.2 MB, free: 5.863 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.004617, allocations: 0 / 351.2 MB, free: 5.863 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.215e-05/0.004689, allocations: 131.8 kB / 351.3 MB, free: 5.699 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-06/0.004695, allocations: 4 kB / 351.3 MB, free: 5.695 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.004712, allocations: 4 kB / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-06/0.004717, allocations: 0 / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.004732, allocations: 0 / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-06/0.004734, allocations: 0 / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.825e-05/0.004752, allocations: 123.2 kB / 351.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.004752, allocations: 0 / 351.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.004925, allocations: 35.92 kB / 351.5 MB, free: 5.535 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.0005011/0.005426, allocations: 308.5 kB / 351.8 MB, free: 5.301 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.005529, allocations: 122.5 kB / 351.9 MB, free: 5.152 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.005531, allocations: 4.062 kB / 351.9 MB, free: 5.148 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.027e-05/0.005551, allocations: 88.8 kB / 352 MB, free: 5.039 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.597e-05/0.005647, allocations: 4 kB / 352 MB, free: 5.035 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001452/0.005793, allocations: 113.6 kB / 352.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.882e-05/0.005811, allocations: 51.36 kB / 352.2 MB, free: 4.816 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.03e-06/0.005816, allocations: 0 / 352.2 MB, free: 4.816 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.168e-05/0.005828, allocations: 8.5 kB / 352.2 MB, free: 4.809 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.005829, allocations: 0 / 352.2 MB, free: 4.809 MB / 282.7 MB Notification: Performance of Templates: time 0.002487/0.008316, allocations: 1.032 MB / 353.2 MB, free: 3.777 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 -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: 3.026154780993238]