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/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_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 175.9 kB / 16.76 MB, free: 5.047 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.426/1.426, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.0007185/0.0007185, allocations: 88.8 kB / 271.3 MB, free: 8.234 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.3223/0.3223, allocations: 43.57 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006264/0.0006263, allocations: 8 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1383, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2739/0.4122, allocations: 84.98 MB / 0.5629 GB, free: 1.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.4125, allocations: 55.98 kB / 0.563 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005562/0.4181, allocations: 2.224 MB / 0.5652 GB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4181, allocations: 0 / 0.5652 GB, free: 14.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.4181, allocations: 0 / 0.5652 GB, free: 14.77 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.0002749/0.4184, allocations: 361.3 kB / 0.5655 GB, free: 14.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.4184, allocations: 8.844 kB / 0.5655 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.4185, allocations: 0.9375 kB / 0.5655 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.911e-05/0.4185, allocations: 167 kB / 0.5657 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4186, allocations: 384 / 0.5657 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.4186, allocations: 4.375 kB / 0.5657 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.248e-05/0.4187, allocations: 31.23 kB / 0.5657 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.4187, allocations: 192 / 0.5657 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.4187, allocations: 3.938 kB / 0.5657 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4187, allocations: 8 kB / 0.5657 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.493e-05/0.4187, allocations: 0 / 0.5657 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001153/0.4188, allocations: 149.7 kB / 0.5659 GB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.831e-05/0.4189, allocations: 18.61 kB / 0.5659 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.37e-05/0.4189, allocations: 4.859 kB / 0.5659 GB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.4189, allocations: 0 / 0.5659 GB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.419, allocations: 60.2 kB / 0.5659 GB, free: 13.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 2.414e-06/0.419, allocations: 4 kB / 0.5659 GB, free: 13.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001397/0.4191, allocations: 82.22 kB / 0.566 GB, free: 13.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.4192, allocations: 77.11 kB / 0.5661 GB, free: 13.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.516e-05/0.4192, allocations: 94.48 kB / 0.5662 GB, free: 13.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.4192, allocations: 25.7 kB / 0.5662 GB, free: 13.47 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.4193, allocations: 80.14 kB / 0.5663 GB, free: 13.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.4193, allocations: 0.9375 kB / 0.5663 GB, free: 13.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-06/0.4193, allocations: 0 / 0.5663 GB, free: 13.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.4194, allocations: 315 kB / 0.5666 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-06/0.4194, allocations: 0 / 0.5666 GB, free: 13.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-06/0.4194, allocations: 4 kB / 0.5666 GB, free: 13.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.331e-05/0.4195, allocations: 68.2 kB / 0.5667 GB, free: 12.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4195, allocations: 0 / 0.5667 GB, free: 12.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.389e-05/0.4195, allocations: 59.39 kB / 0.5667 GB, free: 12.92 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.4196, allocations: 33.7 kB / 0.5667 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.4196, allocations: 0 / 0.5667 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.4196, allocations: 8.031 kB / 0.5668 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.4196, allocations: 0 / 0.5668 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.4196, allocations: 0 / 0.5668 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.4196, allocations: 0 / 0.5668 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.4196, allocations: 0 / 0.5668 GB, free: 12.87 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 6.687e-05/0.4197, allocations: 139.5 kB / 0.5669 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-06/0.4197, allocations: 0 / 0.5669 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.121e-05/0.4197, allocations: 7.062 kB / 0.5669 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4197, allocations: 7.984 kB / 0.5669 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4198, allocations: 0 / 0.5669 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-06/0.4198, allocations: 4 kB / 0.5669 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.118e-05/0.4198, allocations: 149.7 kB / 0.567 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4199, allocations: 0 / 0.567 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-06/0.4199, allocations: 3.938 kB / 0.5671 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.4199, allocations: 0 / 0.5671 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.4199, allocations: 7.938 kB / 0.5671 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4199, allocations: 2.031 kB / 0.5671 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4199, allocations: 0 / 0.5671 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.817e-05/0.42, allocations: 94.83 kB / 0.5672 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/0.42, allocations: 79.14 kB / 0.5672 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.42, allocations: 3.938 kB / 0.5672 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-06/0.4201, allocations: 3.938 kB / 0.5672 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.4201, allocations: 0 / 0.5672 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.4201, allocations: 7.938 kB / 0.5672 GB, free: 12.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.829e-05/0.4201, allocations: 75.28 kB / 0.5673 GB, free: 12.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4201, allocations: 0 / 0.5673 GB, free: 12.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002249/0.4204, allocations: 39.98 kB / 0.5674 GB, free: 12.16 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.000451/0.4208, allocations: 269.4 kB / 0.5676 GB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.607e-05/0.4209, allocations: 67.39 kB / 0.5677 GB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4209, allocations: 0 / 0.5677 GB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.694e-05/0.4209, allocations: 55.41 kB / 0.5677 GB, free: 11.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.4211, allocations: 5.969 kB / 0.5677 GB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001541/0.4212, allocations: 81.58 kB / 0.5678 GB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.4215, allocations: 0.6731 MB / 0.5685 GB, free: 11 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.839e-06/0.4215, allocations: 0 / 0.5685 GB, free: 11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-06/0.4215, allocations: 7.438 kB / 0.5685 GB, free: 10.99 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4215, allocations: 0 / 0.5685 GB, free: 10.99 MB / 394.7 MB Notification: Performance of Templates: time 0.002979/0.4245, allocations: 0.9669 MB / 0.5694 GB, free: 10.03 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Utilities.TestStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches