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.0009475/0.0009475, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008352/0.0008358, allocations: 82.69 kB / 261.7 MB, free: 1.684 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.2072/0.2072, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.668e-05/1.66e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4024/0.5167, allocations: 84.19 MB / 0.5481 GB, free: 8.898 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.517, allocations: 69 kB / 0.5482 GB, free: 8.898 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005235/0.5223, allocations: 2.281 MB / 0.5504 GB, free: 8.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5223, allocations: 0 / 0.5504 GB, free: 8.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.5223, allocations: 0 / 0.5504 GB, free: 8.23 MB / 362.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.000235/0.5226, allocations: 359.1 kB / 0.5508 GB, free: 7.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.5226, allocations: 12.03 kB / 0.5508 GB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.5226, allocations: 7.938 kB / 0.5508 GB, free: 7.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.188e-05/0.5227, allocations: 163 kB / 0.551 GB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.5227, allocations: 0 / 0.551 GB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.5227, allocations: 0 / 0.551 GB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.486e-05/0.5228, allocations: 7.984 kB / 0.551 GB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.555e-05/0.5229, allocations: 29.7 kB / 0.551 GB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.5229, allocations: 0.8438 kB / 0.551 GB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.5229, allocations: 0 / 0.551 GB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5229, allocations: 0 / 0.551 GB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.122e-05/0.523, allocations: 130.2 kB / 0.5511 GB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.703e-05/0.523, allocations: 22.14 kB / 0.5511 GB, free: 7.387 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.193e-05/0.523, allocations: 4.859 kB / 0.5511 GB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.5231, allocations: 0 / 0.5511 GB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.5231, allocations: 68.34 kB / 0.5512 GB, free: 7.297 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.5231, allocations: 0 / 0.5512 GB, free: 7.297 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001846/0.5233, allocations: 33.64 kB / 0.5512 GB, free: 7.258 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.5233, allocations: 81.11 kB / 0.5513 GB, free: 7.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.013e-05/0.5234, allocations: 88.44 kB / 0.5514 GB, free: 7.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.5234, allocations: 25.7 kB / 0.5514 GB, free: 7.039 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.236e-05/0.5234, allocations: 84.08 kB / 0.5515 GB, free: 6.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.5234, allocations: 0 / 0.5515 GB, free: 6.953 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-06/0.5234, allocations: 4.031 kB / 0.5515 GB, free: 6.949 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.993e-05/0.5235, allocations: 314.8 kB / 0.5518 GB, free: 6.633 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-06/0.5235, allocations: 0 / 0.5518 GB, free: 6.633 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-06/0.5235, allocations: 4 kB / 0.5518 GB, free: 6.629 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.032e-05/0.5235, allocations: 3.938 kB / 0.5518 GB, free: 6.625 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5235, allocations: 0 / 0.5518 GB, free: 6.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.437e-05/0.5236, allocations: 41.64 kB / 0.5519 GB, free: 6.578 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.5236, allocations: 29.7 kB / 0.5519 GB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5236, allocations: 4.078 kB / 0.5519 GB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.5237, allocations: 8 kB / 0.5519 GB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.5237, allocations: 0 / 0.5519 GB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.5237, allocations: 0 / 0.5519 GB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.104e-05/0.5237, allocations: 0 / 0.5519 GB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.5237, allocations: 3.438 kB / 0.5519 GB, free: 6.531 MB / 362.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 () * 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 5.113e-05/0.5238, allocations: 130.7 kB / 0.552 GB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-06/0.5238, allocations: 7.938 kB / 0.552 GB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.096e-05/0.5238, allocations: 3.75 kB / 0.552 GB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.5238, allocations: 0 / 0.552 GB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5238, allocations: 4 kB / 0.552 GB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.5238, allocations: 0 / 0.552 GB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.272e-05/0.5239, allocations: 126.2 kB / 0.5522 GB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.5239, allocations: 0 / 0.5522 GB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.5239, allocations: 0 / 0.5522 GB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.5239, allocations: 0 / 0.5522 GB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.5239, allocations: 0 / 0.5522 GB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5239, allocations: 7.938 kB / 0.5522 GB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5239, allocations: 0 / 0.5522 GB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.139e-05/0.524, allocations: 69.02 kB / 0.5522 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.524, allocations: 81.09 kB / 0.5523 GB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.524, allocations: 0 / 0.5523 GB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.695e-06/0.524, allocations: 8 kB / 0.5523 GB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.5241, allocations: 3.953 kB / 0.5523 GB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.5241, allocations: 3.75 kB / 0.5523 GB, free: 6.016 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.28e-05/0.5241, allocations: 75.28 kB / 0.5524 GB, free: 5.941 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5241, allocations: 3.938 kB / 0.5524 GB, free: 5.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002187/0.5243, allocations: 43.58 kB / 0.5524 GB, free: 5.898 MB / 362.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) * 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.0004467/0.5248, allocations: 262.9 kB / 0.5527 GB, free: 5.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.09e-05/0.5248, allocations: 66.84 kB / 0.5528 GB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5249, allocations: 0 / 0.5528 GB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.763e-05/0.5249, allocations: 55.41 kB / 0.5528 GB, free: 5.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.23e-05/0.525, allocations: 3.984 kB / 0.5528 GB, free: 5.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001319/0.5251, allocations: 42.19 kB / 0.5529 GB, free: 5.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.5252, allocations: 0.6768 MB / 0.5535 GB, free: 4.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.931e-06/0.5252, allocations: 3.984 kB / 0.5535 GB, free: 4.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-06/0.5252, allocations: 7.438 kB / 0.5535 GB, free: 4.738 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5252, allocations: 0 / 0.5535 GB, free: 4.738 MB / 362.7 MB Notification: Performance of Templates: time 0.002832/0.5281, allocations: 0.9252 MB / 0.5544 GB, free: 3.832 MB / 362.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/jenkins/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