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.001276/0.001276, allocations: 119 kB / 17.09 MB, free: 5.988 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.001262/0.001262, allocations: 194.9 kB / 18.01 MB, free: 5.07 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.347/1.347, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1971/0.1971, allocations: 43.52 MB / 314.8 MB, free: 460 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.001613/0.001613, allocations: 73.45 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.124, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001614/0.1256, allocations: 493.9 kB / 0.489 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006998/0.1264, allocations: 295.6 kB / 0.4893 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.824e-05/0.1264, allocations: 0 / 0.4893 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.1264, allocations: 0 / 0.4893 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.6e-06/0.1264, allocations: 0 / 0.4893 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000824/0.1273, allocations: 101 kB / 0.4894 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.327e-05/0.1273, allocations: 11.98 kB / 0.4894 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.288e-05/0.1274, allocations: 3.938 kB / 0.4894 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.265e-05/0.1274, allocations: 0 / 0.4894 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.175e-05/0.1274, allocations: 4 kB / 0.4894 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.801e-06/0.1274, allocations: 0 / 0.4894 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.1276, allocations: 103.9 kB / 0.4895 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.806e-06/0.1277, allocations: 3.938 kB / 0.4895 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.818e-05/0.1277, allocations: 4 kB / 0.4895 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.1279, allocations: 87.86 kB / 0.4896 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1279, allocations: 0 / 0.4896 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1279, allocations: 4 kB / 0.4896 GB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.778e-06/0.1279, allocations: 0 / 0.4896 GB, free: 10.75 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.0003636/0.1283, allocations: 368.7 kB / 0.4899 GB, free: 10.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1283, allocations: 15.83 kB / 0.4899 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.1283, allocations: 0.9375 kB / 0.4899 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.293e-05/0.1284, allocations: 168.3 kB / 0.4901 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1284, allocations: 4.359 kB / 0.4901 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.1285, allocations: 384 / 0.4901 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.856e-05/0.1285, allocations: 34.2 kB / 0.4901 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.1286, allocations: 4.188 kB / 0.4901 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1286, allocations: 7.922 kB / 0.4901 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1286, allocations: 0 / 0.4901 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.636e-05/0.1286, allocations: 0 / 0.4901 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.1287, allocations: 145.6 kB / 0.4903 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.075e-05/0.1288, allocations: 22.61 kB / 0.4903 GB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.375e-05/0.1288, allocations: 4.859 kB / 0.4903 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.1288, allocations: 7.938 kB / 0.4903 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.1289, allocations: 60.33 kB / 0.4904 GB, free: 9.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.1289, allocations: 0 / 0.4904 GB, free: 9.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001649/0.129, allocations: 67.33 kB / 0.4904 GB, free: 9.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.1291, allocations: 81.11 kB / 0.4905 GB, free: 9.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.869e-05/0.1292, allocations: 89.86 kB / 0.4906 GB, free: 9.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1292, allocations: 25.7 kB / 0.4906 GB, free: 9.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/0.1292, allocations: 80.14 kB / 0.4907 GB, free: 9.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.1292, allocations: 4.125 kB / 0.4907 GB, free: 9.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.1293, allocations: 17.7 kB / 0.4907 GB, free: 9.332 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1294, allocations: 310.8 kB / 0.491 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.1294, allocations: 4 kB / 0.491 GB, free: 9.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.056e-06/0.1294, allocations: 7.938 kB / 0.491 GB, free: 9.008 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.597e-05/0.1295, allocations: 60.27 kB / 0.4911 GB, free: 8.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1295, allocations: 0 / 0.4911 GB, free: 8.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.815e-05/0.1296, allocations: 71.39 kB / 0.4912 GB, free: 8.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.1296, allocations: 33.7 kB / 0.4912 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1296, allocations: 0 / 0.4912 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1296, allocations: 3.938 kB / 0.4912 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-07/0.1296, allocations: 0 / 0.4912 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.1296, allocations: 0 / 0.4912 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.1297, allocations: 0 / 0.4912 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1297, allocations: 0 / 0.4912 GB, free: 8.809 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 9.119e-05/0.1298, allocations: 143.4 kB / 0.4913 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.1298, allocations: 4.031 kB / 0.4913 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.632e-05/0.1298, allocations: 15.05 kB / 0.4913 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1298, allocations: 3.938 kB / 0.4914 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1298, allocations: 4 kB / 0.4914 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1298, allocations: 0 / 0.4914 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.092e-05/0.1299, allocations: 141.7 kB / 0.4915 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1299, allocations: 0 / 0.4915 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1299, allocations: 0 / 0.4915 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1299, allocations: 0 / 0.4915 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.13, allocations: 7.938 kB / 0.4915 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.13, allocations: 3.984 kB / 0.4915 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.13, allocations: 4 kB / 0.4915 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.242e-05/0.1301, allocations: 82.84 kB / 0.4916 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.1301, allocations: 81.11 kB / 0.4917 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1301, allocations: 7.922 kB / 0.4917 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-06/0.1301, allocations: 0 / 0.4917 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-06/0.1302, allocations: 0 / 0.4917 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1302, allocations: 4 kB / 0.4917 GB, free: 8.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.59e-05/0.1302, allocations: 79.31 kB / 0.4917 GB, free: 8.125 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1302, allocations: 0 / 0.4917 GB, free: 8.125 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1305, allocations: 32 kB / 0.4918 GB, free: 8.094 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.0004832/0.131, allocations: 263.7 kB / 0.492 GB, free: 7.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.1311, allocations: 59.41 kB / 0.4921 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.1311, allocations: 8 kB / 0.4921 GB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.94e-05/0.1311, allocations: 59.39 kB / 0.4922 GB, free: 7.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.1312, allocations: 3.938 kB / 0.4922 GB, free: 7.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001924/0.1314, allocations: 114.6 kB / 0.4923 GB, free: 7.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.1317, allocations: 0.6729 MB / 0.4929 GB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.173e-05/0.1317, allocations: 7.438 kB / 0.4929 GB, free: 6.848 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1317, allocations: 0 / 0.4929 GB, free: 6.848 MB / 382.1 MB Notification: Performance of Templates: time 0.002686/0.1344, allocations: 1.167 MB / 0.4941 GB, free: 5.68 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/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) Reference file matches