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.0008814/0.0008814, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001048/0.001048, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8809/0.8809, allocations: 158.6 MB / 185 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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.1265/0.1265, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 406.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.185e-05, allocations: 5.656 kB / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0009878/0.00101, allocations: 499 kB / 407.3 MB, free: 13.06 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005499/0.00156, allocations: 296.9 kB / 407.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.807e-05/0.001578, allocations: 0 / 407.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.001592, allocations: 0 / 407.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.171e-06/0.001598, allocations: 0 / 407.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.002287, allocations: 102.2 kB / 407.7 MB, free: 12.67 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.969e-05/0.002337, allocations: 0 / 407.7 MB, free: 12.67 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.202e-05/0.002369, allocations: 4 kB / 407.7 MB, free: 12.67 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.449e-05/0.002393, allocations: 0 / 407.7 MB, free: 12.67 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.004e-05/0.002413, allocations: 7.984 kB / 407.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.582e-06/0.00242, allocations: 0 / 407.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.002573, allocations: 107.8 kB / 407.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.755e-06/0.002581, allocations: 0 / 407.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.673e-05/0.002598, allocations: 0 / 407.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.00277, allocations: 111.7 kB / 407.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002773, allocations: 0 / 407.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.002773, allocations: 0 / 407.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.002777, allocations: 0 / 407.9 MB, free: 12.45 MB / 346.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.0002475/0.003025, allocations: 287.9 kB / 408.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.003062, allocations: 11.97 kB / 408.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.256e-05/0.003085, allocations: 34.75 kB / 408.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.003108, allocations: 4.875 kB / 408.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.242e-05/0.003161, allocations: 105.8 kB / 408.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.003172, allocations: 384 / 408.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-06/0.003179, allocations: 384 / 408.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.789e-05/0.003267, allocations: 71.94 kB / 408.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-06/0.003272, allocations: 192 / 408.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.00328, allocations: 384 / 408.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.003284, allocations: 4.125 kB / 408.4 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.04e-05/0.003305, allocations: 29.7 kB / 408.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.878e-05/0.003394, allocations: 112.8 kB / 408.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.26e-05/0.003436, allocations: 52.25 kB / 408.6 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.003456, allocations: 30.56 kB / 408.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.003462, allocations: 4 kB / 408.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.003496, allocations: 68.25 kB / 408.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.003497, allocations: 0 / 408.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001582/0.003655, allocations: 110.8 kB / 408.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.003691, allocations: 88.97 kB / 408.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.598e-05/0.003717, allocations: 93.86 kB / 409 MB, free: 11.13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.003725, allocations: 25.7 kB / 409 MB, free: 11.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.116e-05/0.003747, allocations: 80.27 kB / 409.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.00376, allocations: 11.95 kB / 409.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.00378, allocations: 9.719 kB / 409.1 MB, free: 10.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.844e-05/0.003858, allocations: 310.8 kB / 409.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.003872, allocations: 29.7 kB / 409.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.114e-05/0.003883, allocations: 25.7 kB / 409.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.607e-05/0.003919, allocations: 68.25 kB / 409.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.003922, allocations: 4 kB / 409.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.302e-05/0.003965, allocations: 85.11 kB / 409.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.003987, allocations: 33.73 kB / 409.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.003991, allocations: 4 kB / 409.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.004001, allocations: 0 / 409.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.004001, allocations: 4 kB / 409.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.004007, allocations: 7.922 kB / 409.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.075e-05/0.004018, allocations: 0 / 409.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.004023, allocations: 0 / 409.7 MB, free: 10.37 MB / 346.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.737e-05/0.00409, allocations: 139.5 kB / 409.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-06/0.004093, allocations: 0 / 409.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.516e-06/0.004101, allocations: 3 kB / 409.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.004102, allocations: 0 / 409.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.004107, allocations: 7.938 kB / 409.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.004109, allocations: 0 / 409.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.928e-05/0.004159, allocations: 120.8 kB / 410 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.00416, allocations: 3.938 kB / 410 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-07/0.00416, allocations: 0 / 410 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-07/0.004161, allocations: 0 / 410 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.004165, allocations: 0 / 410 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.004166, allocations: 4 kB / 410 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.004167, allocations: 3.938 kB / 410 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.319e-05/0.00423, allocations: 124.5 kB / 410.1 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-06/0.004233, allocations: 7.969 kB / 410.1 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.004242, allocations: 0 / 410.1 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.979e-06/0.004247, allocations: 0 / 410.1 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.00426, allocations: 7.938 kB / 410.1 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-06/0.004261, allocations: 0 / 410.1 MB, free: 9.867 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.07e-05/0.004281, allocations: 75.28 kB / 410.2 MB, free: 9.793 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004281, allocations: 0 / 410.2 MB, free: 9.793 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001672/0.004449, allocations: 39.86 kB / 410.2 MB, free: 9.754 MB / 346.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 (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.0005316/0.00498, allocations: 0.8338 MB / 411.1 MB, free: 8.918 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.091e-05/0.005061, allocations: 114.8 kB / 411.2 MB, free: 8.781 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.005063, allocations: 0 / 411.2 MB, free: 8.781 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.804e-05/0.005091, allocations: 81.11 kB / 411.3 MB, free: 8.684 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.626e-05/0.005177, allocations: 7.922 kB / 411.3 MB, free: 8.676 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.005391, allocations: 156.2 kB / 411.4 MB, free: 8.477 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.528e-05/0.005427, allocations: 55.36 kB / 411.5 MB, free: 8.402 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.899e-06/0.005431, allocations: 0 / 411.5 MB, free: 8.402 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.219e-05/0.005444, allocations: 12.62 kB / 411.5 MB, free: 8.391 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.005444, allocations: 4 kB / 411.5 MB, free: 8.387 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.01894, allocations: 2.496 MB / 414 MB, free: 5.867 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.415/6.434, allocations: 11.06 kB / 414 MB, free: 5.859 MB / 346.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestStreams/TestStreams.csv","/var/lib/jenkins/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: 8.302059805952013]