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.001627/0.001627, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002197/0.002197, allocations: 216.4 kB / 22.99 MB, free: 4.602 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.493/1.493, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.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.2293/0.2293, allocations: 44.26 MB / 330.3 MB, free: 9.316 MB / 270.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams",fmuType="me",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.002478/0.002478, allocations: 73.62 kB / 467.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1223, allocations: 61.05 MB / 0.5161 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001851/0.1241, allocations: 495 kB / 0.5166 GB, free: 6.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008743/0.125, allocations: 308.8 kB / 0.5169 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/0.125, allocations: 0 / 0.5169 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/0.125, allocations: 0 / 0.5169 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.125, allocations: 0 / 0.5169 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008888/0.1259, allocations: 91.7 kB / 0.517 GB, free: 6.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.248e-05/0.126, allocations: 4 kB / 0.517 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.126, allocations: 8 kB / 0.517 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.462e-05/0.126, allocations: 4 kB / 0.517 GB, free: 6.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.082e-05/0.1261, allocations: 3.938 kB / 0.517 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.941e-06/0.1261, allocations: 0 / 0.517 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.1263, allocations: 107.9 kB / 0.5171 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.875e-06/0.1263, allocations: 0 / 0.5171 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.1263, allocations: 3.984 kB / 0.5171 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.1266, allocations: 91.75 kB / 0.5172 GB, free: 6.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1266, allocations: 0 / 0.5172 GB, free: 6.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.1266, allocations: 0 / 0.5172 GB, free: 6.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1266, allocations: 0 / 0.5172 GB, free: 6.105 MB / 398.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.0003567/0.1269, allocations: 287.9 kB / 0.5175 GB, free: 5.785 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.127, allocations: 16.03 kB / 0.5175 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.127, allocations: 30.75 kB / 0.5175 GB, free: 5.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.127, allocations: 4.891 kB / 0.5175 GB, free: 5.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.582e-05/0.1271, allocations: 110.5 kB / 0.5176 GB, free: 5.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1271, allocations: 384 / 0.5176 GB, free: 5.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.1271, allocations: 4.375 kB / 0.5176 GB, free: 5.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.1272, allocations: 51.97 kB / 0.5177 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1273, allocations: 7.922 kB / 0.5177 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.1273, allocations: 0 / 0.5177 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.1273, allocations: 4 kB / 0.5177 GB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.299e-05/0.1273, allocations: 29.7 kB / 0.5177 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.1274, allocations: 116.8 kB / 0.5178 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.065e-05/0.1275, allocations: 48.22 kB / 0.5179 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.1275, allocations: 34.62 kB / 0.5179 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.1275, allocations: 0 / 0.5179 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/0.1276, allocations: 60.25 kB / 0.518 GB, free: 5.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 2.405e-06/0.1276, allocations: 3.984 kB / 0.518 GB, free: 5.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000225/0.1278, allocations: 118.8 kB / 0.5181 GB, free: 5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.1279, allocations: 85.03 kB / 0.5182 GB, free: 4.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.058e-05/0.1279, allocations: 93.86 kB / 0.5183 GB, free: 4.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1279, allocations: 33.77 kB / 0.5183 GB, free: 4.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.128, allocations: 80.14 kB / 0.5184 GB, free: 4.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.128, allocations: 0 / 0.5184 GB, free: 4.676 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.128, allocations: 13.72 kB / 0.5184 GB, free: 4.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1282, allocations: 310.8 kB / 0.5187 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.1282, allocations: 29.7 kB / 0.5187 GB, free: 4.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/0.1282, allocations: 29.7 kB / 0.5187 GB, free: 4.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.136e-05/0.1283, allocations: 60.25 kB / 0.5188 GB, free: 4.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1283, allocations: 0 / 0.5188 GB, free: 4.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.066e-05/0.1284, allocations: 93.17 kB / 0.5189 GB, free: 4.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/0.1284, allocations: 34.64 kB / 0.5189 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.1284, allocations: 11.92 kB / 0.5189 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1284, allocations: 3.938 kB / 0.5189 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.475e-06/0.1284, allocations: 3.938 kB / 0.5189 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.1284, allocations: 0 / 0.5189 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.1284, allocations: 3.984 kB / 0.5189 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.1285, allocations: 4 kB / 0.5189 GB, free: 4.023 MB / 398.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.723e-05/0.1285, allocations: 131.5 kB / 0.5191 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.1285, allocations: 0 / 0.5191 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.015e-05/0.1286, allocations: 14.97 kB / 0.5191 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1286, allocations: 0 / 0.5191 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1286, allocations: 0 / 0.5191 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1286, allocations: 0 / 0.5191 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.502e-05/0.1287, allocations: 116.8 kB / 0.5192 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1287, allocations: 0 / 0.5192 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1287, allocations: 4 kB / 0.5192 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1287, allocations: 0 / 0.5192 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1287, allocations: 3.938 kB / 0.5192 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1287, allocations: 0 / 0.5192 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1287, allocations: 0 / 0.5192 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.1288, allocations: 124.5 kB / 0.5193 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-06/0.1288, allocations: 0 / 0.5193 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1288, allocations: 11.88 kB / 0.5193 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-06/0.1288, allocations: 0 / 0.5193 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.1288, allocations: 3.984 kB / 0.5193 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.1288, allocations: 0 / 0.5193 GB, free: 3.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.226e-05/0.1289, allocations: 75.28 kB / 0.5194 GB, free: 3.461 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1289, allocations: 0 / 0.5194 GB, free: 3.461 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.1291, allocations: 39.86 kB / 0.5194 GB, free: 3.422 MB / 398.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.0009852/0.1301, allocations: 0.8387 MB / 0.5203 GB, free: 2.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.1302, allocations: 122.7 kB / 0.5204 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1302, allocations: 0 / 0.5204 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.095e-05/0.1303, allocations: 85.05 kB / 0.5205 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.1304, allocations: 0 / 0.5205 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.1307, allocations: 148.2 kB / 0.5206 GB, free: 2.133 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.56e-05/0.1308, allocations: 59.47 kB / 0.5207 GB, free: 2.055 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.803e-06/0.1308, allocations: 8 kB / 0.5207 GB, free: 2.047 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.398e-05/0.1308, allocations: 7.438 kB / 0.5207 GB, free: 2.039 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1308, allocations: 4 kB / 0.5207 GB, free: 2.035 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.1585, allocations: 2.334 MB / 0.523 GB, free: 15.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.38, allocations: 3.938 kB / 0.523 GB, free: 15.68 MB / 414.1 MB " [Timeout remaining time 649] (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: 14.283163446001709]