Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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.001311/0.001311, allocations: 114.4 kB / 17.12 MB, free: 5.891 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.00141/0.00141, allocations: 211.2 kB / 20.09 MB, free: 2.941 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.548/1.548, allocations: 207.6 MB / 230.5 MB, free: 4.02 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.3277/0.3277, allocations: 44.23 MB / 326.6 MB, free: 7.234 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.TestReadFile,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile",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.00218/0.00218, allocations: 71.91 kB / 462.2 MB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2658, allocations: 61.01 MB / 0.5109 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001499/0.2673, allocations: 499 kB / 0.5114 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009299/0.2683, allocations: 0.7836 MB / 0.5122 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.2683, allocations: 0 / 0.5122 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.2683, allocations: 0 / 0.5122 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.2684, allocations: 6.656 kB / 0.5122 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.269, allocations: 62.95 kB / 0.5122 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.797e-05/0.2691, allocations: 2.125 kB / 0.5122 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.39e-05/0.2691, allocations: 1.156 kB / 0.5122 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.29e-05/0.2691, allocations: 9.312 kB / 0.5123 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.301e-05/0.2692, allocations: 2.969 kB / 0.5123 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.2692, allocations: 0 / 0.5123 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.2693, allocations: 64.91 kB / 0.5123 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.206e-06/0.2694, allocations: 0 / 0.5123 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.2694, allocations: 6.047 kB / 0.5123 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.2695, allocations: 46.38 kB / 0.5124 GB, free: 12.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2695, allocations: 3.938 kB / 0.5124 GB, free: 12.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2695, allocations: 0 / 0.5124 GB, free: 12.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.2695, allocations: 0 / 0.5124 GB, free: 12.17 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.0002778/0.2698, allocations: 356 kB / 0.5127 GB, free: 11.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2698, allocations: 13.3 kB / 0.5127 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.908e-05/0.2699, allocations: 31.97 kB / 0.5128 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.2699, allocations: 6.062 kB / 0.5128 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.525e-05/0.27, allocations: 160.4 kB / 0.5129 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.27, allocations: 1.594 kB / 0.5129 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.27, allocations: 1.406 kB / 0.5129 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.589e-05/0.27, allocations: 36.34 kB / 0.513 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2701, allocations: 3.938 kB / 0.513 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.2701, allocations: 4.828 kB / 0.513 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2701, allocations: 0 / 0.513 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.439e-05/0.2701, allocations: 1.094 kB / 0.513 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.465e-05/0.2702, allocations: 155.9 kB / 0.5131 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.458e-05/0.2702, allocations: 16.95 kB / 0.5131 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.359e-05/0.2702, allocations: 10.28 kB / 0.5131 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.2702, allocations: 0 / 0.5131 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.2702, allocations: 61.55 kB / 0.5132 GB, free: 11.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.2702, allocations: 0 / 0.5132 GB, free: 11.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001481/0.2704, allocations: 72.09 kB / 0.5133 GB, free: 11.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.2704, allocations: 77.11 kB / 0.5133 GB, free: 11.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.072e-05/0.2705, allocations: 95.22 kB / 0.5134 GB, free: 10.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-06/0.2705, allocations: 27.14 kB / 0.5135 GB, free: 10.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.357e-06/0.2705, allocations: 80.14 kB / 0.5135 GB, free: 10.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.2705, allocations: 0 / 0.5135 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.2705, allocations: 16.81 kB / 0.5135 GB, free: 10.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.075e-05/0.2706, allocations: 315.1 kB / 0.5138 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-06/0.2706, allocations: 1.469 kB / 0.5138 GB, free: 10.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-06/0.2706, allocations: 9.25 kB / 0.5139 GB, free: 10.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.761e-05/0.2706, allocations: 63.72 kB / 0.5139 GB, free: 10.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2706, allocations: 0 / 0.5139 GB, free: 10.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.416e-05/0.2707, allocations: 62.5 kB / 0.514 GB, free: 10.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.2707, allocations: 35.48 kB / 0.514 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2707, allocations: 5.219 kB / 0.514 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2707, allocations: 0 / 0.514 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-07/0.2707, allocations: 4.094 kB / 0.514 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2707, allocations: 1.312 kB / 0.514 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.541e-05/0.2707, allocations: 3.984 kB / 0.514 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.2707, allocations: 1.406 kB / 0.514 GB, free: 10.26 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.865e-05/0.2708, allocations: 133.4 kB / 0.5142 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.2708, allocations: 5 kB / 0.5142 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.347e-06/0.2708, allocations: 4.25 kB / 0.5142 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.2708, allocations: 0 / 0.5142 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2708, allocations: 3.938 kB / 0.5142 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.2708, allocations: 5.031 kB / 0.5142 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.996e-05/0.2708, allocations: 159.5 kB / 0.5143 GB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.2708, allocations: 0 / 0.5143 GB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.2708, allocations: 0 / 0.5143 GB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2708, allocations: 5 kB / 0.5143 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2709, allocations: 1.438 kB / 0.5143 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.2709, allocations: 0 / 0.5143 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2709, allocations: 3.984 kB / 0.5143 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.818e-05/0.2709, allocations: 94.23 kB / 0.5144 GB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.271, allocations: 78.23 kB / 0.5145 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.271, allocations: 5.031 kB / 0.5145 GB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.057e-05/0.271, allocations: 0 / 0.5145 GB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.271, allocations: 1.25 kB / 0.5145 GB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.271, allocations: 1.125 kB / 0.5145 GB, free: 9.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.466e-05/0.271, allocations: 76.44 kB / 0.5146 GB, free: 9.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.271, allocations: 0 / 0.5146 GB, free: 9.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.2712, allocations: 21.23 kB / 0.5146 GB, free: 9.602 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.0005078/0.2718, allocations: 0.7216 MB / 0.5153 GB, free: 8.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.772e-05/0.2718, allocations: 60.83 kB / 0.5154 GB, free: 8.848 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2718, allocations: 0 / 0.5154 GB, free: 8.848 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.8e-05/0.2719, allocations: 54.66 kB / 0.5154 GB, free: 8.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.272, allocations: 6.062 kB / 0.5154 GB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.2722, allocations: 127.6 kB / 0.5155 GB, free: 8.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.066e-05/0.2723, allocations: 0.6751 MB / 0.5162 GB, free: 7.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.035e-06/0.2723, allocations: 0 / 0.5162 GB, free: 7.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.2724, allocations: 8.469 kB / 0.5162 GB, free: 7.922 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2724, allocations: 1.281 kB / 0.5162 GB, free: 7.922 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.2968, allocations: 1.494 MB / 0.5177 GB, free: 6.957 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/8.648, allocations: 5.938 kB / 0.5177 GB, free: 6.953 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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.502038140999503]