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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 80.83 kB / 20.51 MB, free: 1.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002812/0.002812, allocations: 163 kB / 23.76 MB, free: 4.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2268/0.2268, allocations: 32.38 MB / 270.1 MB, free: 2.719 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003675/0.003675, allocations: 71.89 kB / 407.7 MB, free: 5.57 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1686, allocations: 61.04 MB / 468.8 MB, free: 8.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.002253/0.1709, allocations: 494.8 kB / 469.3 MB, free: 7.855 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1719, allocations: 304.9 kB / 469.6 MB, free: 7.559 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.1719, allocations: 4 kB / 469.6 MB, free: 7.555 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.1719, allocations: 0 / 469.6 MB, free: 7.555 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.601e-06/0.1719, allocations: 0 / 469.6 MB, free: 7.555 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.173, allocations: 91.72 kB / 469.6 MB, free: 7.465 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.06e-05/0.173, allocations: 7.984 kB / 469.7 MB, free: 7.457 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.1731, allocations: 0 / 469.7 MB, free: 7.457 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.046e-05/0.1731, allocations: 7.984 kB / 469.7 MB, free: 7.449 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.454e-05/0.1731, allocations: 3.938 kB / 469.7 MB, free: 7.445 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.172e-06/0.1731, allocations: 0 / 469.7 MB, free: 7.445 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.1734, allocations: 107.9 kB / 469.8 MB, free: 7.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.577e-06/0.1734, allocations: 3.938 kB / 469.8 MB, free: 7.336 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.1734, allocations: 7.984 kB / 469.8 MB, free: 7.328 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.1737, allocations: 79.81 kB / 469.9 MB, free: 7.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1737, allocations: 0 / 469.9 MB, free: 7.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.243e-06/0.1737, allocations: 4 kB / 469.9 MB, free: 7.246 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1737, allocations: 0 / 469.9 MB, free: 7.246 MB / 446.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.0003994/0.1741, allocations: 291.9 kB / 470.1 MB, free: 6.922 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1741, allocations: 8.031 kB / 470.2 MB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.1742, allocations: 4.875 kB / 470.2 MB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.246e-05/0.1742, allocations: 102.5 kB / 470.3 MB, free: 6.785 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1743, allocations: 4.375 kB / 470.3 MB, free: 6.781 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.1743, allocations: 384 / 470.3 MB, free: 6.781 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.1744, allocations: 67.95 kB / 470.3 MB, free: 6.703 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1744, allocations: 192 / 470.3 MB, free: 6.703 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1744, allocations: 3.938 kB / 470.3 MB, free: 6.699 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.1744, allocations: 0 / 470.3 MB, free: 6.699 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.388e-05/0.1744, allocations: 25.7 kB / 470.4 MB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.1746, allocations: 97.33 kB / 470.5 MB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.465e-05/0.1746, allocations: 44.22 kB / 470.5 MB, free: 6.484 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.1747, allocations: 38.64 kB / 470.5 MB, free: 6.438 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.1747, allocations: 0 / 470.5 MB, free: 6.438 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.798e-05/0.1747, allocations: 64.25 kB / 470.6 MB, free: 6.359 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1747, allocations: 4 kB / 470.6 MB, free: 6.355 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002117/0.175, allocations: 114.8 kB / 470.7 MB, free: 6.219 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.175, allocations: 85.05 kB / 470.8 MB, free: 6.117 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.846e-05/0.1751, allocations: 97.84 kB / 470.9 MB, free: 6.012 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1751, allocations: 25.7 kB / 470.9 MB, free: 5.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.1751, allocations: 80.14 kB / 471 MB, free: 5.898 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.1752, allocations: 0 / 471 MB, free: 5.898 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.1752, allocations: 13.72 kB / 471 MB, free: 5.879 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1753, allocations: 310.8 kB / 471.3 MB, free: 5.566 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.621e-05/0.1754, allocations: 25.7 kB / 471.3 MB, free: 5.535 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.357e-05/0.1754, allocations: 33.83 kB / 471.4 MB, free: 5.496 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.409e-05/0.1755, allocations: 64.27 kB / 471.4 MB, free: 5.418 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1755, allocations: 0 / 471.4 MB, free: 5.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001077/0.1756, allocations: 85.09 kB / 471.5 MB, free: 5.316 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.1756, allocations: 36.83 kB / 471.6 MB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1756, allocations: 0 / 471.6 MB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1756, allocations: 7.875 kB / 471.6 MB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.648e-06/0.1756, allocations: 3.938 kB / 471.6 MB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.1756, allocations: 0 / 471.6 MB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.1757, allocations: 8.094 kB / 471.6 MB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.1757, allocations: 7.922 kB / 471.6 MB, free: 5.25 MB / 446.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 0.0001/0.1758, allocations: 135.5 kB / 471.7 MB, free: 5.102 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.1758, allocations: 4 kB / 471.7 MB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.171e-05/0.1758, allocations: 3 kB / 471.7 MB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1758, allocations: 3.938 kB / 471.7 MB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1758, allocations: 0 / 471.7 MB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-06/0.1758, allocations: 0 / 471.7 MB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.175e-05/0.1759, allocations: 101.3 kB / 471.8 MB, free: 4.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1759, allocations: 0 / 471.8 MB, free: 4.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.1759, allocations: 0 / 471.8 MB, free: 4.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1759, allocations: 4 kB / 471.8 MB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1759, allocations: 0 / 471.8 MB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.1759, allocations: 7.984 kB / 471.8 MB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.1759, allocations: 3.938 kB / 471.8 MB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.1761, allocations: 120.5 kB / 472 MB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.1761, allocations: 4 kB / 472 MB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.1761, allocations: 0 / 472 MB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.063e-05/0.1761, allocations: 0 / 472 MB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.1761, allocations: 3.938 kB / 472 MB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.1761, allocations: 0 / 472 MB, free: 4.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.795e-05/0.1761, allocations: 83.31 kB / 472 MB, free: 4.707 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1761, allocations: 0 / 472 MB, free: 4.707 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003496/0.1765, allocations: 39.86 kB / 472.1 MB, free: 4.668 MB / 446.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.0008152/0.1773, allocations: 280.6 kB / 472.4 MB, free: 4.395 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.1775, allocations: 114.8 kB / 472.5 MB, free: 4.258 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1775, allocations: 0 / 472.5 MB, free: 4.258 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.969e-05/0.1775, allocations: 85.17 kB / 472.6 MB, free: 4.156 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.1777, allocations: 0 / 472.6 MB, free: 4.156 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/0.1779, allocations: 118.4 kB / 472.7 MB, free: 4.008 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.439e-05/0.178, allocations: 55.36 kB / 472.7 MB, free: 3.934 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.581e-06/0.178, allocations: 0 / 472.7 MB, free: 3.934 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.178, allocations: 8.5 kB / 472.7 MB, free: 3.926 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.178, allocations: 0 / 472.7 MB, free: 3.926 MB / 446.1 MB Notification: Performance of Templates: time 0.005075/0.1831, allocations: 0.9847 MB / 473.7 MB, free: 2.938 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.501486475928687]