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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 107.3 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 191.2 kB / 22.98 MB, free: 5.016 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.63/1.63, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.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.2371/0.2371, allocations: 44.24 MB / 330.2 MB, free: 9.555 MB / 270.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.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=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.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.002289/0.002289, allocations: 71.83 kB / 467.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1367, allocations: 61.04 MB / 0.5166 GB, free: 6.895 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001789/0.1385, allocations: 490.8 kB / 0.517 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008355/0.1393, allocations: 316.8 kB / 0.5173 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.91e-05/0.1393, allocations: 0 / 0.5173 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.1394, allocations: 0 / 0.5173 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.283e-06/0.1394, allocations: 0 / 0.5173 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008382/0.1402, allocations: 100.8 kB / 0.5174 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.91e-05/0.1403, allocations: 4 kB / 0.5174 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.1403, allocations: 0 / 0.5174 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.343e-05/0.1403, allocations: 0 / 0.5174 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.957e-05/0.1403, allocations: 4 kB / 0.5174 GB, free: 6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.091e-06/0.1403, allocations: 0 / 0.5174 GB, free: 6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.1406, allocations: 111.9 kB / 0.5175 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-06/0.1406, allocations: 0 / 0.5175 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.1406, allocations: 4 kB / 0.5175 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.1408, allocations: 91.69 kB / 0.5176 GB, free: 5.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1408, allocations: 4 kB / 0.5176 GB, free: 5.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1408, allocations: 4 kB / 0.5176 GB, free: 5.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1408, allocations: 0 / 0.5176 GB, free: 5.789 MB / 398.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.0003972/0.1412, allocations: 295.9 kB / 0.5179 GB, free: 5.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1412, allocations: 8.031 kB / 0.5179 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.1413, allocations: 4.891 kB / 0.5179 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.205e-05/0.1414, allocations: 102.5 kB / 0.518 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.1414, allocations: 4.375 kB / 0.518 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.1414, allocations: 384 / 0.518 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.989e-05/0.1415, allocations: 30.27 kB / 0.5181 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1415, allocations: 192 / 0.5181 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1415, allocations: 15.81 kB / 0.5181 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1415, allocations: 0 / 0.5181 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.699e-05/0.1415, allocations: 0 / 0.5181 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.1417, allocations: 120.8 kB / 0.5182 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.944e-05/0.1418, allocations: 22.55 kB / 0.5182 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.383e-05/0.1418, allocations: 4.859 kB / 0.5182 GB, free: 5.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.1418, allocations: 4 kB / 0.5182 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/0.1419, allocations: 60.33 kB / 0.5183 GB, free: 4.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.1419, allocations: 0 / 0.5183 GB, free: 4.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001927/0.142, allocations: 67.33 kB / 0.5184 GB, free: 4.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.1421, allocations: 85.05 kB / 0.5184 GB, free: 4.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.1422, allocations: 89.86 kB / 0.5185 GB, free: 4.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1422, allocations: 25.7 kB / 0.5185 GB, free: 4.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.1423, allocations: 80.27 kB / 0.5186 GB, free: 4.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.1423, allocations: 7.984 kB / 0.5186 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.1423, allocations: 17.72 kB / 0.5186 GB, free: 4.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.1425, allocations: 310.8 kB / 0.5189 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.1425, allocations: 0 / 0.5189 GB, free: 4.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-06/0.1425, allocations: 3.984 kB / 0.5189 GB, free: 4.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.802e-05/0.1426, allocations: 60.27 kB / 0.519 GB, free: 4.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1426, allocations: 0 / 0.519 GB, free: 4.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.953e-05/0.1427, allocations: 63.47 kB / 0.5191 GB, free: 4.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.1427, allocations: 37.64 kB / 0.5191 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1427, allocations: 7.984 kB / 0.5191 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1427, allocations: 3.938 kB / 0.5191 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-06/0.1427, allocations: 4 kB / 0.5191 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1427, allocations: 0 / 0.5191 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.449e-05/0.1428, allocations: 0 / 0.5191 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.1428, allocations: 0 / 0.5191 GB, free: 4.047 MB / 398.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.0001599/0.1429, allocations: 135.5 kB / 0.5192 GB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.1429, allocations: 4.031 kB / 0.5192 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.029e-05/0.1429, allocations: 6.938 kB / 0.5193 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.1429, allocations: 0 / 0.5193 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.143, allocations: 0 / 0.5193 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-06/0.143, allocations: 0 / 0.5193 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.1431, allocations: 120.8 kB / 0.5194 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1431, allocations: 3.938 kB / 0.5194 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.1431, allocations: 0 / 0.5194 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1431, allocations: 0 / 0.5194 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1431, allocations: 3.938 kB / 0.5194 GB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1431, allocations: 4 kB / 0.5194 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1431, allocations: 4 kB / 0.5194 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.1432, allocations: 98.69 kB / 0.5195 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.1432, allocations: 8 kB / 0.5195 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.1433, allocations: 3.938 kB / 0.5195 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.01e-05/0.1433, allocations: 0 / 0.5195 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.1433, allocations: 0 / 0.5195 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1433, allocations: 4 kB / 0.5195 GB, free: 3.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.962e-05/0.1433, allocations: 79.31 kB / 0.5196 GB, free: 3.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1433, allocations: 0 / 0.5196 GB, free: 3.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.1436, allocations: 35.86 kB / 0.5196 GB, free: 3.465 MB / 398.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.0006287/0.1442, allocations: 267.4 kB / 0.5199 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.1443, allocations: 55.41 kB / 0.5199 GB, free: 3.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1443, allocations: 4.062 kB / 0.5199 GB, free: 3.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.1444, allocations: 55.41 kB / 0.52 GB, free: 3.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.1445, allocations: 4 kB / 0.52 GB, free: 3.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001923/0.1447, allocations: 88.78 kB / 0.5201 GB, free: 2.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.145, allocations: 0.6729 MB / 0.5207 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.603e-06/0.145, allocations: 0 / 0.5207 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.283e-05/0.145, allocations: 7.438 kB / 0.5207 GB, free: 2.266 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.145, allocations: 3.938 kB / 0.5207 GB, free: 2.262 MB / 398.1 MB Notification: Performance of Templates: time 0.003929/0.149, allocations: 0.992 MB / 0.5217 GB, free: 1.27 MB / 398.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 -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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.252699575386941]