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.001645/0.001645, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001776/0.001776, allocations: 206.2 kB / 23.74 MB, free: 4.543 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.53/1.53, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.221/0.221, allocations: 44.27 MB / 331.1 MB, free: 9.297 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.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.002278/0.002278, allocations: 63.91 kB / 468.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1248, allocations: 61.05 MB / 0.5174 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.00167/0.1265, allocations: 498.7 kB / 0.5178 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008057/0.1273, allocations: 304.8 kB / 0.5181 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.156e-05/0.1273, allocations: 0 / 0.5181 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.1274, allocations: 0 / 0.5181 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.501e-06/0.1274, allocations: 4 kB / 0.5181 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008458/0.1282, allocations: 91.77 kB / 0.5182 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.179e-05/0.1283, allocations: 0 / 0.5182 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.1283, allocations: 7.938 kB / 0.5182 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.005e-05/0.1283, allocations: 7.938 kB / 0.5182 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.902e-05/0.1283, allocations: 0 / 0.5182 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.281e-06/0.1283, allocations: 0 / 0.5182 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.1286, allocations: 103.9 kB / 0.5183 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.1286, allocations: 4 kB / 0.5183 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.1286, allocations: 4 kB / 0.5183 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.1288, allocations: 91.75 kB / 0.5184 GB, free: 5.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1288, allocations: 0 / 0.5184 GB, free: 5.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1288, allocations: 0 / 0.5184 GB, free: 5.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1288, allocations: 0 / 0.5184 GB, free: 5.586 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.0003768/0.1292, allocations: 295.9 kB / 0.5187 GB, free: 5.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1292, allocations: 8.031 kB / 0.5187 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.1292, allocations: 4.891 kB / 0.5187 GB, free: 5.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.814e-05/0.1293, allocations: 110.5 kB / 0.5188 GB, free: 5.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1293, allocations: 4.375 kB / 0.5188 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.1294, allocations: 384 / 0.5188 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.1295, allocations: 59.91 kB / 0.5189 GB, free: 5.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1295, allocations: 192 / 0.5189 GB, free: 5.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.1295, allocations: 3.938 kB / 0.5189 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1295, allocations: 0 / 0.5189 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.347e-05/0.1295, allocations: 29.7 kB / 0.5189 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001153/0.1296, allocations: 97.33 kB / 0.519 GB, free: 4.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.776e-05/0.1297, allocations: 48.3 kB / 0.5191 GB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.1298, allocations: 30.56 kB / 0.5191 GB, free: 4.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.1298, allocations: 4 kB / 0.5191 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.1298, allocations: 64.27 kB / 0.5191 GB, free: 4.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1298, allocations: 0 / 0.5191 GB, free: 4.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002134/0.13, allocations: 122.7 kB / 0.5193 GB, free: 4.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.1301, allocations: 77.11 kB / 0.5193 GB, free: 4.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.305e-05/0.1301, allocations: 89.86 kB / 0.5194 GB, free: 4.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.1302, allocations: 25.7 kB / 0.5194 GB, free: 4.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.1302, allocations: 80.14 kB / 0.5195 GB, free: 4.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.1302, allocations: 0 / 0.5195 GB, free: 4.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.1303, allocations: 13.72 kB / 0.5195 GB, free: 4.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1304, allocations: 315 kB / 0.5198 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.1304, allocations: 33.7 kB / 0.5199 GB, free: 3.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.857e-05/0.1305, allocations: 29.69 kB / 0.5199 GB, free: 3.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.789e-05/0.1305, allocations: 64.2 kB / 0.52 GB, free: 3.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1305, allocations: 0 / 0.52 GB, free: 3.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.847e-05/0.1306, allocations: 89.11 kB / 0.52 GB, free: 3.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.377e-05/0.1307, allocations: 38.56 kB / 0.5201 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1307, allocations: 0 / 0.5201 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1307, allocations: 0 / 0.5201 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.845e-06/0.1307, allocations: 11.94 kB / 0.5201 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1307, allocations: 8.078 kB / 0.5201 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.1307, allocations: 0 / 0.5201 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.1307, allocations: 0 / 0.5201 GB, free: 3.586 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 9.262e-05/0.1308, allocations: 139.5 kB / 0.5202 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-06/0.1308, allocations: 0 / 0.5202 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.915e-06/0.1308, allocations: 3 kB / 0.5202 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1308, allocations: 3.938 kB / 0.5202 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1308, allocations: 3.984 kB / 0.5202 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1308, allocations: 7.875 kB / 0.5203 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.852e-05/0.1309, allocations: 97.33 kB / 0.5203 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1309, allocations: 4 kB / 0.5203 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.1309, allocations: 0 / 0.5203 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1309, allocations: 0 / 0.5203 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1309, allocations: 4 kB / 0.5204 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.1309, allocations: 0 / 0.5204 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.1309, allocations: 11.92 kB / 0.5204 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.1311, allocations: 116.5 kB / 0.5205 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-06/0.1311, allocations: 0 / 0.5205 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.1311, allocations: 0 / 0.5205 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/0.1311, allocations: 0 / 0.5205 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.1311, allocations: 7.938 kB / 0.5205 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.1311, allocations: 8.016 kB / 0.5205 GB, free: 3.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.641e-05/0.1312, allocations: 75.28 kB / 0.5206 GB, free: 3.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1312, allocations: 0 / 0.5206 GB, free: 3.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1314, allocations: 35.88 kB / 0.5206 GB, free: 3.004 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.0006698/0.1321, allocations: 287.8 kB / 0.5209 GB, free: 2.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.1322, allocations: 110.8 kB / 0.521 GB, free: 2.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1322, allocations: 4.062 kB / 0.521 GB, free: 2.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.494e-05/0.1323, allocations: 85.09 kB / 0.5211 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.1324, allocations: 4 kB / 0.5211 GB, free: 2.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002191/0.1326, allocations: 128.3 kB / 0.5212 GB, free: 2.336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.017e-05/0.1327, allocations: 59.34 kB / 0.5212 GB, free: 2.258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.397e-05/0.1327, allocations: 7.438 kB / 0.5213 GB, free: 2.25 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1327, allocations: 0 / 0.5213 GB, free: 2.25 MB / 398.1 MB Notification: Performance of Templates: time 0.003082/0.1358, allocations: 1.159 MB / 0.5224 GB, free: 1.09 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/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: 7.69030828634277]