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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001577, allocations: 104 kB / 16.27 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 190.8 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.241/0.241, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 77.23 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1266, allocations: 57.79 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001624/0.1283, allocations: 485.4 kB / 441 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006445/0.1289, allocations: 303.5 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.348e-05/0.129, allocations: 0 / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.129, allocations: 0 / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.21e-06/0.129, allocations: 0 / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000869/0.1299, allocations: 104.1 kB / 441.4 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.392e-05/0.13, allocations: 4 kB / 441.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.13, allocations: 0 / 441.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.88e-05/0.13, allocations: 8 kB / 441.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.419e-05/0.1301, allocations: 0 / 441.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.222e-06/0.1301, allocations: 0 / 441.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.1302, allocations: 99.91 kB / 441.5 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.235e-06/0.1303, allocations: 0 / 441.5 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.1303, allocations: 4 kB / 441.5 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1304, allocations: 83.8 kB / 441.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1305, allocations: 0 / 441.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1305, allocations: 4 kB / 441.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1305, allocations: 0 / 441.6 MB, free: 5.852 MB / 318.1 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.0002541/0.1307, allocations: 361.3 kB / 441.9 MB, free: 5.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1308, allocations: 15.89 kB / 442 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.1308, allocations: 8.828 kB / 442 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.709e-05/0.1309, allocations: 160.4 kB / 442.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1309, allocations: 384 / 442.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.1309, allocations: 4.312 kB / 442.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.747e-05/0.131, allocations: 30.27 kB / 442.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.131, allocations: 192 / 442.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.131, allocations: 3.938 kB / 442.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.131, allocations: 3.938 kB / 442.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.712e-05/0.131, allocations: 12 kB / 442.2 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.643e-05/0.1311, allocations: 149.6 kB / 442.3 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.748e-05/0.1312, allocations: 14.58 kB / 442.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.1312, allocations: 12.89 kB / 442.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.1312, allocations: 0 / 442.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.1312, allocations: 56.27 kB / 442.4 MB, free: 4.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1312, allocations: 4 kB / 442.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001854/0.1314, allocations: 71.33 kB / 442.5 MB, free: 4.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1315, allocations: 77.11 kB / 442.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.169e-05/0.1315, allocations: 89.86 kB / 442.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.1315, allocations: 25.7 kB / 442.7 MB, free: 4.551 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.161e-05/0.1315, allocations: 84.14 kB / 442.7 MB, free: 4.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.1315, allocations: 288 / 442.7 MB, free: 4.465 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.1316, allocations: 13.72 kB / 442.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.453e-05/0.1316, allocations: 315 kB / 443.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/0.1317, allocations: 7.938 kB / 443.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.471e-06/0.1317, allocations: 3.984 kB / 443.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.1317, allocations: 60.27 kB / 443.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1317, allocations: 0 / 443.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.358e-05/0.1318, allocations: 63.41 kB / 443.2 MB, free: 3.969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.1318, allocations: 29.7 kB / 443.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1318, allocations: 3.984 kB / 443.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1318, allocations: 8.031 kB / 443.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.1318, allocations: 4 kB / 443.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1319, allocations: 0 / 443.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/0.1319, allocations: 7.938 kB / 443.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.1319, allocations: 0 / 443.2 MB, free: 3.91 MB / 318.1 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.796e-05/0.132, allocations: 140.5 kB / 443.4 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.132, allocations: 4 kB / 443.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.078e-05/0.132, allocations: 7.062 kB / 443.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-06/0.132, allocations: 0 / 443.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.132, allocations: 4 kB / 443.4 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.132, allocations: 0 / 443.4 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.624e-05/0.1321, allocations: 145.7 kB / 443.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1321, allocations: 0 / 443.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.1321, allocations: 7.938 kB / 443.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.1321, allocations: 0 / 443.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1321, allocations: 3.938 kB / 443.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.1321, allocations: 0 / 443.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1321, allocations: 0 / 443.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.268e-05/0.1322, allocations: 94.83 kB / 443.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.1322, allocations: 81.11 kB / 443.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.1322, allocations: 3.938 kB / 443.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-06/0.1322, allocations: 3.938 kB / 443.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.1323, allocations: 4 kB / 443.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.1323, allocations: 3.984 kB / 443.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.735e-05/0.1323, allocations: 79.22 kB / 443.8 MB, free: 3.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1323, allocations: 0 / 443.8 MB, free: 3.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.1326, allocations: 32 kB / 443.9 MB, free: 3.199 MB / 318.1 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.0006899/0.1333, allocations: 267.6 kB / 444.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.1334, allocations: 55.41 kB / 444.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1334, allocations: 0 / 444.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/0.1334, allocations: 59.39 kB / 444.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.1336, allocations: 4.125 kB / 444.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.1339, allocations: 81.06 kB / 444.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.1342, allocations: 0.669 MB / 445 MB, free: 2.047 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.456e-06/0.1342, allocations: 0 / 445 MB, free: 2.047 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.555e-05/0.1342, allocations: 7.438 kB / 445 MB, free: 2.039 MB / 318.1 MB Notification: Performance of SimCode: time 1.864e-06/0.1342, allocations: 0 / 445 MB, free: 2.039 MB / 318.1 MB Notification: Performance of Templates: time 0.003841/0.138, allocations: 0.9803 MB / 446 MB, free: 1.059 MB / 318.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches