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.00176/0.00176, allocations: 111.1 kB / 16.41 MB, free: 6.484 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.001626/0.001626, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.702/1.702, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2346/0.2346, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 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.001554/0.001554, allocations: 71.91 kB / 441.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1612, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001878/0.1631, allocations: 478.9 kB / 0.4883 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009827/0.1642, allocations: 293.9 kB / 0.4886 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.1642, allocations: 0 / 0.4886 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.034e-05/0.1643, allocations: 4 kB / 0.4886 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.323e-06/0.1643, allocations: 0 / 0.4886 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.1654, allocations: 106.1 kB / 0.4887 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.364e-05/0.1655, allocations: 7.984 kB / 0.4887 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.1655, allocations: 0 / 0.4887 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.834e-05/0.1655, allocations: 0 / 0.4887 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.298e-05/0.1656, allocations: 4 kB / 0.4887 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.414e-06/0.1656, allocations: 0 / 0.4887 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.1658, allocations: 107.9 kB / 0.4888 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.1658, allocations: 0 / 0.4888 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.1659, allocations: 7.938 kB / 0.4888 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.1661, allocations: 83.86 kB / 0.4889 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1661, allocations: 0 / 0.4889 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1661, allocations: 4 kB / 0.4889 GB, free: 10.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1661, allocations: 0 / 0.4889 GB, free: 10.76 MB / 382.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.0004049/0.1665, allocations: 361.3 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.1666, allocations: 15.89 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.1666, allocations: 4.875 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.1668, allocations: 168.3 kB / 0.4894 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1668, allocations: 384 / 0.4894 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.1668, allocations: 4.359 kB / 0.4894 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.1669, allocations: 38.25 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1669, allocations: 192 / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.167, allocations: 3.938 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.167, allocations: 0 / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.167, allocations: 0 / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.1672, allocations: 157.6 kB / 0.4896 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.522e-05/0.1672, allocations: 18.52 kB / 0.4896 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.1673, allocations: 12.94 kB / 0.4897 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.1673, allocations: 4 kB / 0.4897 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.1673, allocations: 56.27 kB / 0.4897 GB, free: 9.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1673, allocations: 0 / 0.4897 GB, free: 9.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001693/0.1675, allocations: 67.34 kB / 0.4898 GB, free: 9.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.1676, allocations: 77.11 kB / 0.4899 GB, free: 9.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.773e-05/0.1676, allocations: 93.84 kB / 0.4899 GB, free: 9.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.1676, allocations: 25.7 kB / 0.49 GB, free: 9.453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.1677, allocations: 80.27 kB / 0.49 GB, free: 9.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.1677, allocations: 11.94 kB / 0.4901 GB, free: 9.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.1677, allocations: 9.719 kB / 0.4901 GB, free: 9.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1679, allocations: 318.8 kB / 0.4904 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.1679, allocations: 4 kB / 0.4904 GB, free: 9.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-06/0.1679, allocations: 0 / 0.4904 GB, free: 9.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.764e-05/0.1679, allocations: 60.27 kB / 0.4904 GB, free: 8.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.168, allocations: 0 / 0.4904 GB, free: 8.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.151e-05/0.168, allocations: 63.45 kB / 0.4905 GB, free: 8.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.1681, allocations: 33.7 kB / 0.4905 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1681, allocations: 0 / 0.4905 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1681, allocations: 3.938 kB / 0.4905 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.1681, allocations: 0 / 0.4905 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1681, allocations: 7.922 kB / 0.4905 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.1681, allocations: 0 / 0.4905 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1682, allocations: 8 kB / 0.4905 GB, free: 8.812 MB / 382.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 8.086e-05/0.1682, allocations: 139.5 kB / 0.4907 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-06/0.1683, allocations: 7.969 kB / 0.4907 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.358e-05/0.1683, allocations: 11.06 kB / 0.4907 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1683, allocations: 0 / 0.4907 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1683, allocations: 0 / 0.4907 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1683, allocations: 0 / 0.4907 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.1684, allocations: 141.7 kB / 0.4908 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1684, allocations: 3.984 kB / 0.4908 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1684, allocations: 0 / 0.4908 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1684, allocations: 4 kB / 0.4908 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1685, allocations: 3.938 kB / 0.4908 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1685, allocations: 0 / 0.4908 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1685, allocations: 4 kB / 0.4908 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.1686, allocations: 90.83 kB / 0.4909 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.1686, allocations: 77.11 kB / 0.491 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.1686, allocations: 3.938 kB / 0.491 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.091e-05/0.1687, allocations: 0 / 0.491 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.1687, allocations: 7.938 kB / 0.491 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1687, allocations: 8 kB / 0.491 GB, free: 8.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.654e-05/0.1687, allocations: 79.31 kB / 0.4911 GB, free: 8.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1687, allocations: 0 / 0.4911 GB, free: 8.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.169, allocations: 31.98 kB / 0.4911 GB, free: 8.098 MB / 382.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.000495/0.1695, allocations: 259.5 kB / 0.4914 GB, free: 7.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.561e-05/0.1696, allocations: 59.39 kB / 0.4914 GB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1696, allocations: 4.062 kB / 0.4914 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.305e-05/0.1696, allocations: 59.34 kB / 0.4915 GB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.1698, allocations: 4 kB / 0.4915 GB, free: 7.707 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001843/0.17, allocations: 84.92 kB / 0.4916 GB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.1702, allocations: 0.6768 MB / 0.4922 GB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.222e-06/0.1702, allocations: 3.938 kB / 0.4922 GB, free: 6.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.176e-05/0.1703, allocations: 7.438 kB / 0.4923 GB, free: 6.883 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1703, allocations: 3.938 kB / 0.4923 GB, free: 6.879 MB / 382.1 MB Notification: Performance of Templates: time 0.003665/0.1739, allocations: 0.9727 MB / 0.4932 GB, free: 5.906 MB / 382.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