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.00168/0.00168, allocations: 120.3 kB / 17.84 MB, free: 5.203 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.00223/0.00223, allocations: 211.9 kB / 20.8 MB, free: 2.258 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.473/1.473, allocations: 207.6 MB / 231.2 MB, free: 4.141 MB / 174.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.3206/0.3206, allocations: 44.23 MB / 327.3 MB, free: 6.707 MB / 254.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams",fmuType="cs",version="2.0",platforms={"static"}) [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.002212/0.002212, allocations: 71.89 kB / 462.9 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.325, allocations: 60.99 MB / 0.5116 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001554/0.3265, allocations: 0.4954 MB / 0.5121 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007511/0.3273, allocations: 293.4 kB / 0.5124 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.3273, allocations: 0 / 0.5124 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.3273, allocations: 4 kB / 0.5124 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.071e-06/0.3273, allocations: 0 / 0.5124 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009379/0.3282, allocations: 90.56 kB / 0.5125 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.391e-05/0.3283, allocations: 9.078 kB / 0.5125 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.3283, allocations: 5.188 kB / 0.5125 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.404e-05/0.3284, allocations: 1.094 kB / 0.5125 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.735e-05/0.3284, allocations: 1.156 kB / 0.5125 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.883e-06/0.3284, allocations: 0 / 0.5125 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.3286, allocations: 109.3 kB / 0.5126 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.225e-06/0.3286, allocations: 5.266 kB / 0.5126 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.798e-05/0.3286, allocations: 0 / 0.5126 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.3288, allocations: 94.62 kB / 0.5127 GB, free: 12.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3288, allocations: 1.219 kB / 0.5127 GB, free: 12.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3288, allocations: 0 / 0.5127 GB, free: 12.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3288, allocations: 0 / 0.5127 GB, free: 12.39 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.0002773/0.3291, allocations: 367.5 kB / 0.513 GB, free: 11.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3291, allocations: 14.2 kB / 0.513 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.086e-05/0.3291, allocations: 192 / 0.513 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.418e-05/0.3291, allocations: 30.75 kB / 0.5131 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.3292, allocations: 8.875 kB / 0.5131 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.468e-05/0.3292, allocations: 168.3 kB / 0.5132 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.3292, allocations: 4.359 kB / 0.5132 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.3292, allocations: 384 / 0.5132 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.985e-05/0.3293, allocations: 33.64 kB / 0.5133 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3293, allocations: 0 / 0.5133 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.3293, allocations: 0 / 0.5133 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3293, allocations: 0 / 0.5133 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.65e-05/0.3293, allocations: 3.938 kB / 0.5133 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.648e-05/0.3294, allocations: 157.1 kB / 0.5134 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.176e-05/0.3295, allocations: 18.58 kB / 0.5134 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.234e-05/0.3295, allocations: 8.141 kB / 0.5135 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-06/0.3295, allocations: 0 / 0.5135 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.3295, allocations: 60.2 kB / 0.5135 GB, free: 11.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.3295, allocations: 0 / 0.5135 GB, free: 11.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001452/0.3297, allocations: 72.2 kB / 0.5136 GB, free: 11.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.3297, allocations: 81.23 kB / 0.5137 GB, free: 11.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.674e-05/0.3297, allocations: 89.86 kB / 0.5137 GB, free: 11.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-06/0.3297, allocations: 25.7 kB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.668e-06/0.3297, allocations: 80.14 kB / 0.5138 GB, free: 11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.3297, allocations: 3.812 kB / 0.5139 GB, free: 11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/0.3298, allocations: 9.719 kB / 0.5139 GB, free: 10.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.777e-05/0.3298, allocations: 314.8 kB / 0.5142 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-06/0.3298, allocations: 3.562 kB / 0.5142 GB, free: 10.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-06/0.3298, allocations: 7.984 kB / 0.5142 GB, free: 10.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.825e-05/0.3298, allocations: 59.7 kB / 0.5142 GB, free: 10.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3298, allocations: 3.938 kB / 0.5142 GB, free: 10.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.717e-05/0.3299, allocations: 61.38 kB / 0.5143 GB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3299, allocations: 38.95 kB / 0.5143 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3299, allocations: 3.984 kB / 0.5143 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3299, allocations: 0 / 0.5143 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.3299, allocations: 3.938 kB / 0.5143 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3299, allocations: 3.984 kB / 0.5143 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.505e-05/0.33, allocations: 7.219 kB / 0.5143 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.33, allocations: 0 / 0.5143 GB, free: 10.47 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 4.548e-05/0.33, allocations: 136.6 kB / 0.5145 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.33, allocations: 5.031 kB / 0.5145 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.357e-06/0.33, allocations: 3.125 kB / 0.5145 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.33, allocations: 0 / 0.5145 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.33, allocations: 1.094 kB / 0.5145 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.33, allocations: 0 / 0.5145 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.793e-05/0.3301, allocations: 146.9 kB / 0.5146 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.3301, allocations: 5.406 kB / 0.5146 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.3301, allocations: 0 / 0.5146 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3301, allocations: 3.938 kB / 0.5146 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.3301, allocations: 1.219 kB / 0.5146 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.3301, allocations: 0 / 0.5146 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3301, allocations: 1.062 kB / 0.5146 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.746e-05/0.3302, allocations: 97.16 kB / 0.5147 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.3302, allocations: 78.2 kB / 0.5148 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.3302, allocations: 8.938 kB / 0.5148 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-06/0.3302, allocations: 0 / 0.5148 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.3302, allocations: 0.9688 kB / 0.5148 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3302, allocations: 9.047 kB / 0.5148 GB, free: 9.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.065e-05/0.3302, allocations: 79.28 kB / 0.5149 GB, free: 9.816 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3302, allocations: 1.094 kB / 0.5149 GB, free: 9.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.3305, allocations: 27.75 kB / 0.5149 GB, free: 9.812 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.0007258/0.3312, allocations: 0.804 MB / 0.5157 GB, free: 9.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.082e-05/0.3313, allocations: 57.06 kB / 0.5158 GB, free: 9.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3313, allocations: 0 / 0.5158 GB, free: 9.004 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.867e-05/0.3313, allocations: 54.69 kB / 0.5158 GB, free: 8.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.3314, allocations: 9.031 kB / 0.5158 GB, free: 8.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.3317, allocations: 132.2 kB / 0.516 GB, free: 8.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.713e-05/0.3318, allocations: 0.674 MB / 0.5166 GB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.252e-06/0.3318, allocations: 1 kB / 0.5166 GB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.206e-05/0.3318, allocations: 8.594 kB / 0.5166 GB, free: 8.078 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3318, allocations: 0 / 0.5166 GB, free: 8.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.3483, allocations: 1.862 MB / 0.5184 GB, free: 6.891 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.496/8.844, allocations: 7.391 kB / 0.5184 GB, free: 6.887 MB / 382.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe 2>&1) [Timeout 52.5] 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: 11.589761598967016]