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.001363/0.001362, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.743/1.743, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001013/0.001013, allocations: 98.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1967/0.1967, allocations: 43.55 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004504/0.0004505, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1285, allocations: 58.86 MB / 490.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3884/0.517, allocations: 84.96 MB / 0.5617 GB, free: 14.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.5173, allocations: 61.28 kB / 0.5618 GB, free: 14.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005803/0.5231, allocations: 2.301 MB / 0.564 GB, free: 12.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5231, allocations: 0 / 0.564 GB, free: 12.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.5231, allocations: 3.5 kB / 0.564 GB, free: 12.79 MB / 378.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.000274/0.5234, allocations: 357.1 kB / 0.5644 GB, free: 12.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5234, allocations: 8.031 kB / 0.5644 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.5235, allocations: 2.812 kB / 0.5644 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.773e-05/0.5236, allocations: 167 kB / 0.5645 GB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.5236, allocations: 0 / 0.5645 GB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.5236, allocations: 0 / 0.5645 GB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.667e-05/0.5237, allocations: 37.19 kB / 0.5646 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.5237, allocations: 7.984 kB / 0.5646 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.5237, allocations: 0 / 0.5646 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.5237, allocations: 4 kB / 0.5646 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.431e-05/0.5238, allocations: 0 / 0.5646 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.5239, allocations: 145.6 kB / 0.5647 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.57e-05/0.5239, allocations: 18.61 kB / 0.5647 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.5239, allocations: 3.938 kB / 0.5647 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.524, allocations: 67.44 kB / 0.5648 GB, free: 11.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.524, allocations: 0 / 0.5648 GB, free: 11.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001561/0.5242, allocations: 63.47 kB / 0.5649 GB, free: 11.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.5242, allocations: 77.11 kB / 0.5649 GB, free: 11.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.202e-05/0.5243, allocations: 89 kB / 0.565 GB, free: 11.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.5243, allocations: 32.95 kB / 0.565 GB, free: 11.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.411e-05/0.5243, allocations: 80.14 kB / 0.5651 GB, free: 11.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.5243, allocations: 0 / 0.5651 GB, free: 11.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/0.5243, allocations: 0 / 0.5651 GB, free: 11.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.5244, allocations: 314.8 kB / 0.5654 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.5244, allocations: 4.125 kB / 0.5654 GB, free: 11.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-06/0.5245, allocations: 7.938 kB / 0.5654 GB, free: 11.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.916e-05/0.5245, allocations: 25.7 kB / 0.5655 GB, free: 11.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5245, allocations: 0 / 0.5655 GB, free: 11.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.01e-05/0.5246, allocations: 66.86 kB / 0.5655 GB, free: 11.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.5246, allocations: 33.69 kB / 0.5656 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.5246, allocations: 0 / 0.5656 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.5246, allocations: 0 / 0.5656 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.5246, allocations: 4 kB / 0.5656 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.5246, allocations: 4.094 kB / 0.5656 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.176e-05/0.5247, allocations: 0 / 0.5656 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.5247, allocations: 0 / 0.5656 GB, free: 10.96 MB / 378.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 7.551e-05/0.5247, allocations: 139.5 kB / 0.5657 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-06/0.5248, allocations: 3.953 kB / 0.5657 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.055e-05/0.5248, allocations: 3.125 kB / 0.5657 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.5248, allocations: 0 / 0.5657 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5248, allocations: 4 kB / 0.5657 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5248, allocations: 3.984 kB / 0.5657 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.152e-05/0.5249, allocations: 155.3 kB / 0.5659 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.5249, allocations: 0 / 0.5659 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-07/0.5249, allocations: 0 / 0.5659 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5249, allocations: 3.953 kB / 0.5659 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.5249, allocations: 3.938 kB / 0.5659 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.5249, allocations: 0 / 0.5659 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5249, allocations: 0 / 0.5659 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.109e-05/0.525, allocations: 96.95 kB / 0.566 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.5251, allocations: 81.14 kB / 0.566 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.5251, allocations: 7.953 kB / 0.566 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-06/0.5251, allocations: 0 / 0.566 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.5251, allocations: 3.984 kB / 0.5661 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.5251, allocations: 0 / 0.5661 GB, free: 10.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.207e-05/0.5251, allocations: 75.28 kB / 0.5661 GB, free: 10.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5251, allocations: 0 / 0.5661 GB, free: 10.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.5254, allocations: 35.69 kB / 0.5662 GB, free: 10.25 MB / 378.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.000489/0.5259, allocations: 284.9 kB / 0.5664 GB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.401e-05/0.526, allocations: 59.34 kB / 0.5665 GB, free: 9.938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.526, allocations: 0 / 0.5665 GB, free: 9.938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.641e-05/0.526, allocations: 58.78 kB / 0.5665 GB, free: 9.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.859e-05/0.5261, allocations: 0 / 0.5665 GB, free: 9.871 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001536/0.5263, allocations: 88.86 kB / 0.5666 GB, free: 9.758 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.5265, allocations: 0.6731 MB / 0.5673 GB, free: 9.059 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.939e-06/0.5265, allocations: 0 / 0.5673 GB, free: 9.059 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.518e-06/0.5265, allocations: 7.438 kB / 0.5673 GB, free: 9.051 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.5265, allocations: 0 / 0.5673 GB, free: 9.051 MB / 378.7 MB Notification: Performance of Templates: time 0.003015/0.5295, allocations: 0.9279 MB / 0.5682 GB, free: 8.133 MB / 378.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