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.001769/0.00177, allocations: 108.4 kB / 17.09 MB, free: 6.004 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.002482/0.002482, allocations: 191.3 kB / 18.02 MB, free: 5.086 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.447/1.447, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2309/0.2309, allocations: 43.53 MB / 314.8 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.001674/0.001674, allocations: 67.89 kB / 442.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1104, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001751/0.1122, allocations: 491 kB / 0.489 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007775/0.113, allocations: 295.6 kB / 0.4893 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.037e-05/0.1131, allocations: 0 / 0.4893 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.1131, allocations: 0 / 0.4893 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.032e-06/0.1131, allocations: 0 / 0.4893 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008995/0.114, allocations: 94.31 kB / 0.4894 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.441e-05/0.1141, allocations: 8 kB / 0.4894 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.1141, allocations: 3.984 kB / 0.4894 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.456e-05/0.1142, allocations: 0 / 0.4894 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.124e-05/0.1142, allocations: 0 / 0.4894 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.292e-06/0.1142, allocations: 0 / 0.4894 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.1144, allocations: 111.9 kB / 0.4895 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.1145, allocations: 7.922 kB / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.1145, allocations: 0 / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1147, allocations: 87.81 kB / 0.4896 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1147, allocations: 0 / 0.4896 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1147, allocations: 0 / 0.4896 GB, free: 10.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1147, allocations: 4 kB / 0.4896 GB, free: 10.77 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.000374/0.1151, allocations: 357.1 kB / 0.4899 GB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1151, allocations: 15.83 kB / 0.4899 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.1152, allocations: 4.891 kB / 0.4899 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1153, allocations: 168.3 kB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1153, allocations: 4.375 kB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.1153, allocations: 384 / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.563e-05/0.1154, allocations: 30.27 kB / 0.4901 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.1155, allocations: 4.188 kB / 0.4901 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1155, allocations: 7.938 kB / 0.4901 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1155, allocations: 0 / 0.4901 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.658e-05/0.1155, allocations: 0 / 0.4901 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.1156, allocations: 141.7 kB / 0.4903 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.248e-05/0.1157, allocations: 26.53 kB / 0.4903 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.1157, allocations: 8.844 kB / 0.4903 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.1157, allocations: 0 / 0.4903 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/0.1158, allocations: 64.33 kB / 0.4904 GB, free: 9.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1158, allocations: 4 kB / 0.4904 GB, free: 9.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001632/0.116, allocations: 63.33 kB / 0.4904 GB, free: 9.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.116, allocations: 81.11 kB / 0.4905 GB, free: 9.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.036e-05/0.1161, allocations: 89.86 kB / 0.4906 GB, free: 9.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.1161, allocations: 25.7 kB / 0.4906 GB, free: 9.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/0.1161, allocations: 80.14 kB / 0.4907 GB, free: 9.391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.1161, allocations: 4.125 kB / 0.4907 GB, free: 9.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.1162, allocations: 17.72 kB / 0.4907 GB, free: 9.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1163, allocations: 318.7 kB / 0.491 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-06/0.1163, allocations: 0 / 0.491 GB, free: 9.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-06/0.1163, allocations: 0 / 0.491 GB, free: 9.043 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/0.1164, allocations: 64.25 kB / 0.4911 GB, free: 8.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1164, allocations: 0 / 0.4911 GB, free: 8.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.958e-05/0.1165, allocations: 63.41 kB / 0.4912 GB, free: 8.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.1165, allocations: 33.8 kB / 0.4912 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1165, allocations: 4 kB / 0.4912 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1165, allocations: 7.938 kB / 0.4912 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1165, allocations: 0 / 0.4912 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.1166, allocations: 3.984 kB / 0.4912 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.1166, allocations: 3.938 kB / 0.4912 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1166, allocations: 7.922 kB / 0.4912 GB, free: 8.824 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 7.757e-05/0.1167, allocations: 143.4 kB / 0.4913 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.1167, allocations: 0 / 0.4913 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.198e-05/0.1167, allocations: 7.125 kB / 0.4914 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1167, allocations: 3.938 kB / 0.4914 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1167, allocations: 0 / 0.4914 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.1168, allocations: 77.11 kB / 0.4914 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.1168, allocations: 4 kB / 0.4914 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-06/0.1168, allocations: 0 / 0.4914 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.1168, allocations: 3.984 kB / 0.4914 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001245/0.1169, allocations: 194.1 kB / 0.4916 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001445/0.1171, allocations: 249.9 kB / 0.4919 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.844e-05/0.1171, allocations: 4 kB / 0.4919 GB, free: 8.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.371e-05/0.1171, allocations: 75.28 kB / 0.4919 GB, free: 7.992 MB / 382.1 MB Notification: Performance of Backend: time 3.21e-07/0.1172, allocations: 0 / 0.4919 GB, free: 7.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000761/0.1179, allocations: 304.5 kB / 0.4922 GB, free: 7.699 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003745/0.1183, allocations: 0.5832 MB / 0.4928 GB, free: 7.055 MB / 382.1 MB Notification: Performance of Templates: time 0.003604/0.1219, allocations: 0.9843 MB / 0.4938 GB, free: 6.07 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