Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000959/0.0009591, allocations: 174.2 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008442/0.0008441, allocations: 101.2 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3615/0.3615, allocations: 43.57 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003345, allocations: 16 kB / 432 MB, free: 5.609 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1039, allocations: 58.85 MB / 490.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0005173/0.1045, allocations: 216.5 kB / 491 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005602/0.1051, allocations: 280.9 kB / 491.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.397e-05/0.1051, allocations: 0 / 491.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.088e-05/0.1051, allocations: 0 / 491.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.606e-06/0.1051, allocations: 0 / 491.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.1057, allocations: 83.23 kB / 491.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.733e-05/0.1058, allocations: 3.984 kB / 491.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.1058, allocations: 4 kB / 491.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.36e-05/0.1058, allocations: 0 / 491.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.147e-05/0.1059, allocations: 0 / 491.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.699e-06/0.1059, allocations: 0 / 491.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.106, allocations: 95.91 kB / 491.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.464e-06/0.106, allocations: 0 / 491.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.1061, allocations: 37.62 kB / 491.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.976e-05/0.1062, allocations: 55.84 kB / 491.6 MB, free: 9.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1062, allocations: 0 / 491.6 MB, free: 9.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1062, allocations: 4 kB / 491.6 MB, free: 9.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1062, allocations: 0 / 491.6 MB, free: 9.902 MB / 378.7 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.0003244/0.1066, allocations: 357.3 kB / 491.9 MB, free: 9.496 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1066, allocations: 8.031 kB / 491.9 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.1066, allocations: 0.9375 kB / 491.9 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1067, allocations: 160.4 kB / 492.1 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1068, allocations: 384 / 492.1 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.1068, allocations: 4.375 kB / 492.1 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.151e-05/0.1069, allocations: 30.27 kB / 492.1 MB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.1069, allocations: 192 / 492.1 MB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1069, allocations: 3.938 kB / 492.1 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1069, allocations: 4 kB / 492.1 MB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.632e-05/0.1069, allocations: 7.922 kB / 492.1 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.107, allocations: 145.7 kB / 492.3 MB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.759e-05/0.1071, allocations: 19.78 kB / 492.3 MB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.185e-05/0.1071, allocations: 4.859 kB / 492.3 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.1071, allocations: 7.938 kB / 492.3 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.1071, allocations: 56.27 kB / 492.4 MB, free: 8.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1072, allocations: 64 / 492.4 MB, free: 8.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000159/0.1073, allocations: 79.17 kB / 492.4 MB, free: 8.844 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.1074, allocations: 85.05 kB / 492.5 MB, free: 8.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.304e-05/0.1074, allocations: 89.86 kB / 492.6 MB, free: 8.645 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.1074, allocations: 25.7 kB / 492.6 MB, free: 8.613 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.407e-05/0.1075, allocations: 80.14 kB / 492.7 MB, free: 8.531 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.1075, allocations: 4.125 kB / 492.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-06/0.1075, allocations: 0 / 492.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.1076, allocations: 310.8 kB / 493 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-06/0.1076, allocations: 4 kB / 493 MB, free: 8.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-06/0.1076, allocations: 7.984 kB / 493 MB, free: 8.203 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.489e-05/0.1077, allocations: 60.27 kB / 493.1 MB, free: 8.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1077, allocations: 0 / 493.1 MB, free: 8.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.887e-05/0.1078, allocations: 63.41 kB / 493.2 MB, free: 8.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.1078, allocations: 37.73 kB / 493.2 MB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1078, allocations: 3.984 kB / 493.2 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1078, allocations: 3.938 kB / 493.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.1078, allocations: 0 / 493.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1078, allocations: 0 / 493.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.1079, allocations: 0 / 493.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1079, allocations: 4 kB / 493.2 MB, free: 8 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.973e-05/0.1079, allocations: 135.5 kB / 493.3 MB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-06/0.108, allocations: 0 / 493.3 MB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.152e-05/0.108, allocations: 15.05 kB / 493.4 MB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.108, allocations: 4 kB / 493.4 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.108, allocations: 0 / 493.4 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.108, allocations: 0 / 493.4 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.356e-05/0.1081, allocations: 145.7 kB / 493.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1081, allocations: 0 / 493.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1081, allocations: 0 / 493.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1081, allocations: 4 kB / 493.5 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.1081, allocations: 3.938 kB / 493.5 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1081, allocations: 0 / 493.5 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1081, allocations: 0 / 493.5 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.433e-05/0.1082, allocations: 102.8 kB / 493.6 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.1083, allocations: 77.11 kB / 493.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.1083, allocations: 3.938 kB / 493.7 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-06/0.1083, allocations: 0 / 493.7 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.1083, allocations: 3.938 kB / 493.7 MB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1083, allocations: 7.984 kB / 493.7 MB, free: 7.398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.465e-05/0.1084, allocations: 83.25 kB / 493.8 MB, free: 7.316 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1084, allocations: 0 / 493.8 MB, free: 7.316 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00022/0.1086, allocations: 36 kB / 493.8 MB, free: 7.281 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004448/0.109, allocations: 265.8 kB / 494.1 MB, free: 7.043 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.81e-05/0.1091, allocations: 63.34 kB / 494.1 MB, free: 6.969 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1091, allocations: 0 / 494.1 MB, free: 6.969 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.737e-05/0.1092, allocations: 63.41 kB / 494.2 MB, free: 6.895 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.1093, allocations: 0 / 494.2 MB, free: 6.895 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.1095, allocations: 108.5 kB / 494.3 MB, free: 6.754 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.1097, allocations: 0.6692 MB / 495 MB, free: 6.059 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.736e-06/0.1098, allocations: 11.44 kB / 495 MB, free: 6.051 MB / 378.7 MB Notification: Performance of SimCode: time 1.462e-06/0.1098, allocations: 0 / 495 MB, free: 6.051 MB / 378.7 MB Notification: Performance of Templates: time 0.002412/0.1122, allocations: 1.155 MB / 496.1 MB, free: 4.895 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches