Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008753/0.0008754, allocations: 177.4 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.238/1.238, allocations: 205.4 MB / 223.6 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007643/0.0007643, allocations: 97.28 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.7017/0.7017, allocations: 43.56 MB / 363.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006274/0.0006276, allocations: 12 kB / 432.6 MB, free: 5.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.188, allocations: 58.85 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6049/0.793, allocations: 84.99 MB / 0.5629 GB, free: 1.449 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003883/0.7935, allocations: 59.97 kB / 0.563 GB, free: 1.391 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01007/0.8036, allocations: 2.213 MB / 0.5651 GB, free: 15.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.611e-06/0.8037, allocations: 0 / 0.5651 GB, free: 15.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.8037, allocations: 0 / 0.5651 GB, free: 15.2 MB / 394.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.0005924/0.8043, allocations: 365.9 kB / 0.5655 GB, free: 14.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.005e-05/0.8044, allocations: 14.92 kB / 0.5655 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.8045, allocations: 0.9375 kB / 0.5655 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.8047, allocations: 160.4 kB / 0.5656 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.8047, allocations: 384 / 0.5656 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.8047, allocations: 4.375 kB / 0.5657 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.8049, allocations: 26.27 kB / 0.5657 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.8049, allocations: 192 / 0.5657 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.8049, allocations: 7.938 kB / 0.5657 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.805, allocations: 0 / 0.5657 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.198e-05/0.805, allocations: 8.5 kB / 0.5657 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.8053, allocations: 145.7 kB / 0.5658 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.026e-05/0.8053, allocations: 26.55 kB / 0.5659 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.604e-05/0.8054, allocations: 4.859 kB / 0.5659 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.8054, allocations: 0 / 0.5659 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.8055, allocations: 60.27 kB / 0.5659 GB, free: 14.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.8055, allocations: 3.375 kB / 0.5659 GB, free: 14.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.00032/0.8059, allocations: 71.33 kB / 0.566 GB, free: 14.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.219e-05/0.806, allocations: 81.11 kB / 0.5661 GB, free: 14.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.8061, allocations: 94.48 kB / 0.5662 GB, free: 13.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.8061, allocations: 25.7 kB / 0.5662 GB, free: 13.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.8062, allocations: 80.14 kB / 0.5663 GB, free: 13.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.8062, allocations: 0.9375 kB / 0.5663 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.8062, allocations: 4.125 kB / 0.5663 GB, free: 13.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.8064, allocations: 310.8 kB / 0.5666 GB, free: 13.51 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/0.8065, allocations: 0 / 0.5666 GB, free: 13.51 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.325e-05/0.8065, allocations: 4 kB / 0.5666 GB, free: 13.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.005e-05/0.8066, allocations: 64.25 kB / 0.5666 GB, free: 13.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.8066, allocations: 0 / 0.5666 GB, free: 13.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001034/0.8067, allocations: 63.34 kB / 0.5667 GB, free: 13.35 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.018e-05/0.8068, allocations: 33.7 kB / 0.5667 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.8068, allocations: 4.094 kB / 0.5667 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.8068, allocations: 3.938 kB / 0.5667 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.8068, allocations: 0 / 0.5667 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.8069, allocations: 6.172 kB / 0.5667 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.8069, allocations: 3.984 kB / 0.5667 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.8069, allocations: 0 / 0.5667 GB, free: 13.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001522/0.8071, allocations: 135.5 kB / 0.5669 GB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.8071, allocations: 0 / 0.5669 GB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.8071, allocations: 7.062 kB / 0.5669 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.8071, allocations: 4 kB / 0.5669 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.8072, allocations: 4 kB / 0.5669 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.8072, allocations: 0 / 0.5669 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.8074, allocations: 149.7 kB / 0.567 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8074, allocations: 0 / 0.567 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-06/0.8074, allocations: 0 / 0.567 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8074, allocations: 0 / 0.567 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.8074, allocations: 7.938 kB / 0.567 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8074, allocations: 3.938 kB / 0.567 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8075, allocations: 0 / 0.567 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.8077, allocations: 98.77 kB / 0.5671 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.8078, allocations: 79.14 kB / 0.5672 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.8078, allocations: 8.188 kB / 0.5672 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.394e-05/0.8078, allocations: 0 / 0.5672 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.8078, allocations: 0 / 0.5672 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.8079, allocations: 4 kB / 0.5672 GB, free: 12.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.851e-05/0.8079, allocations: 75.28 kB / 0.5673 GB, free: 12.63 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.8079, allocations: 32 / 0.5673 GB, free: 12.63 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005226/0.8085, allocations: 47.97 kB / 0.5673 GB, free: 12.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009101/0.8094, allocations: 278.9 kB / 0.5676 GB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.8096, allocations: 63.34 kB / 0.5677 GB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.8096, allocations: 0 / 0.5677 GB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.815e-05/0.8097, allocations: 59.41 kB / 0.5677 GB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.8099, allocations: 8.062 kB / 0.5677 GB, free: 12.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.8102, allocations: 107.1 kB / 0.5678 GB, free: 12.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.8106, allocations: 0.6692 MB / 0.5685 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.907e-05/0.8106, allocations: 7.438 kB / 0.5685 GB, free: 11.38 MB / 394.7 MB Notification: Performance of SimCode: time 3.8e-07/0.8106, allocations: 0 / 0.5685 GB, free: 11.38 MB / 394.7 MB Notification: Performance of Templates: time 0.004558/0.8152, allocations: 1.147 MB / 0.5696 GB, free: 10.24 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestStreams/TestStreams.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches