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.001097/0.001097, allocations: 106.6 kB / 17.09 MB, free: 5.965 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.001002/0.001002, allocations: 196.2 kB / 18.02 MB, free: 5.051 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.27/1.27, 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.2001/0.2001, 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.001543/0.001543, allocations: 69.45 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1116, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001788/0.1134, allocations: 495 kB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007771/0.1142, allocations: 291.6 kB / 0.4893 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.927e-05/0.1142, allocations: 0 / 0.4893 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.1143, allocations: 0 / 0.4893 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.542e-06/0.1143, allocations: 3.938 kB / 0.4893 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009138/0.1152, allocations: 101 kB / 0.4894 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.043e-05/0.1153, allocations: 8 kB / 0.4894 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.1153, allocations: 4 kB / 0.4894 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.377e-05/0.1154, allocations: 0 / 0.4894 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.136e-05/0.1154, allocations: 0 / 0.4894 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.691e-06/0.1154, allocations: 0 / 0.4894 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.1156, allocations: 103.9 kB / 0.4895 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.1156, allocations: 3.984 kB / 0.4895 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.1157, allocations: 11.94 kB / 0.4895 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.1158, allocations: 79.88 kB / 0.4896 GB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1159, allocations: 0 / 0.4896 GB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1159, allocations: 4 kB / 0.4896 GB, free: 10.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1159, allocations: 0 / 0.4896 GB, free: 10.73 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.0004082/0.1163, allocations: 361.3 kB / 0.4899 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1163, allocations: 15.88 kB / 0.4899 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.1164, allocations: 4.875 kB / 0.4899 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.688e-05/0.1165, allocations: 168.3 kB / 0.4901 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1165, allocations: 384 / 0.4901 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.1165, allocations: 384 / 0.4901 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.95e-05/0.1166, allocations: 30.27 kB / 0.4901 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1166, allocations: 8.172 kB / 0.4901 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1166, allocations: 3.938 kB / 0.4901 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1166, allocations: 0 / 0.4901 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.1167, allocations: 4 kB / 0.4901 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.1168, allocations: 153.6 kB / 0.4903 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.599e-05/0.1168, allocations: 18.52 kB / 0.4903 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.316e-05/0.1168, allocations: 8.953 kB / 0.4903 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.1169, allocations: 4 kB / 0.4903 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.1169, allocations: 60.27 kB / 0.4904 GB, free: 9.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.1169, allocations: 0 / 0.4904 GB, free: 9.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001626/0.1171, allocations: 71.33 kB / 0.4904 GB, free: 9.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.1171, allocations: 77.11 kB / 0.4905 GB, free: 9.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.8e-05/0.1172, allocations: 89.86 kB / 0.4906 GB, free: 9.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1172, allocations: 29.7 kB / 0.4906 GB, free: 9.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.1172, allocations: 80.14 kB / 0.4907 GB, free: 9.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.1172, allocations: 8.062 kB / 0.4907 GB, free: 9.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.1173, allocations: 13.66 kB / 0.4907 GB, free: 9.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1174, allocations: 314.8 kB / 0.491 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.1174, allocations: 4 kB / 0.491 GB, free: 8.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-06/0.1174, allocations: 3.984 kB / 0.491 GB, free: 8.988 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.166e-05/0.1175, allocations: 60.27 kB / 0.4911 GB, free: 8.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1175, allocations: 0 / 0.4911 GB, free: 8.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.282e-05/0.1176, allocations: 63.47 kB / 0.4912 GB, free: 8.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.1176, allocations: 29.7 kB / 0.4912 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1176, allocations: 3.984 kB / 0.4912 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1176, allocations: 3.938 kB / 0.4912 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.1176, allocations: 0 / 0.4912 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1176, allocations: 0 / 0.4912 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.1177, allocations: 7.938 kB / 0.4912 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1177, allocations: 0 / 0.4912 GB, free: 8.789 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 8.916e-05/0.1178, allocations: 139.5 kB / 0.4913 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.1178, allocations: 11.97 kB / 0.4913 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.178e-05/0.1178, allocations: 3.125 kB / 0.4913 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1178, allocations: 3.938 kB / 0.4914 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1178, allocations: 0 / 0.4914 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.1179, allocations: 81.09 kB / 0.4914 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.1179, allocations: 0 / 0.4914 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.148e-05/0.1179, allocations: 4 kB / 0.4914 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.1179, allocations: 0 / 0.4914 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001201/0.118, allocations: 194.1 kB / 0.4916 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001398/0.1182, allocations: 249.9 kB / 0.4919 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.453e-05/0.1182, allocations: 0 / 0.4919 GB, free: 8.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.335e-05/0.1182, allocations: 75.28 kB / 0.4919 GB, free: 7.957 MB / 382.1 MB Notification: Performance of Backend: time 4.11e-07/0.1182, allocations: 0 / 0.4919 GB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007446/0.119, allocations: 306.9 kB / 0.4922 GB, free: 7.664 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003677/0.1194, allocations: 0.5833 MB / 0.4928 GB, free: 7.02 MB / 382.1 MB Notification: Performance of Templates: time 0.003752/0.1231, allocations: 0.9921 MB / 0.4938 GB, free: 6.027 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