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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 119.3 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.465/1.465, allocations: 207.6 MB / 230.5 MB, free: 4.047 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.3267/0.3267, allocations: 44.23 MB / 326.5 MB, free: 6.848 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 75.91 kB / 462.1 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2665, allocations: 60.99 MB / 0.5109 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.00189/0.2684, allocations: 0.4987 MB / 0.5114 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.2694, allocations: 0.779 MB / 0.5121 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.2695, allocations: 0 / 0.5121 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.2695, allocations: 0 / 0.5121 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.2696, allocations: 6.281 kB / 0.5121 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006476/0.2703, allocations: 67.05 kB / 0.5122 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.877e-05/0.2704, allocations: 7.844 kB / 0.5122 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.2704, allocations: 3.938 kB / 0.5122 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.086e-05/0.2704, allocations: 3.531 kB / 0.5122 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.37e-05/0.2705, allocations: 3.938 kB / 0.5122 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.985e-06/0.2705, allocations: 0 / 0.5122 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.2706, allocations: 58.19 kB / 0.5123 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.715e-06/0.2706, allocations: 0 / 0.5123 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.2707, allocations: 2.844 kB / 0.5123 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.2708, allocations: 48.92 kB / 0.5123 GB, free: 12.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2708, allocations: 4 kB / 0.5123 GB, free: 12.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2708, allocations: 0 / 0.5123 GB, free: 12.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2708, allocations: 4.969 kB / 0.5123 GB, free: 12.11 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.0003691/0.2712, allocations: 355.2 kB / 0.5127 GB, free: 11.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.2712, allocations: 13.3 kB / 0.5127 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.808e-05/0.2713, allocations: 35.88 kB / 0.5127 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.2713, allocations: 5.969 kB / 0.5127 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.984e-05/0.2714, allocations: 160.4 kB / 0.5129 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.2714, allocations: 1.438 kB / 0.5129 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.2714, allocations: 5.5 kB / 0.5129 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.784e-05/0.2715, allocations: 32.25 kB / 0.5129 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2715, allocations: 3.938 kB / 0.5129 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.2715, allocations: 1.062 kB / 0.5129 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2715, allocations: 0 / 0.5129 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.57e-05/0.2715, allocations: 1.906 kB / 0.5129 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.199e-05/0.2716, allocations: 150.5 kB / 0.5131 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.637e-05/0.2716, allocations: 20.67 kB / 0.5131 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.387e-05/0.2717, allocations: 13.94 kB / 0.5131 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.2717, allocations: 1.094 kB / 0.5131 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.2717, allocations: 57.11 kB / 0.5131 GB, free: 11.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.2717, allocations: 0 / 0.5131 GB, free: 11.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001547/0.2718, allocations: 63.69 kB / 0.5132 GB, free: 11.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.2719, allocations: 90.28 kB / 0.5133 GB, free: 10.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.592e-05/0.2719, allocations: 95.55 kB / 0.5134 GB, free: 10.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.2719, allocations: 25.7 kB / 0.5134 GB, free: 10.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.431e-05/0.2719, allocations: 81.2 kB / 0.5135 GB, free: 10.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.272, allocations: 0 / 0.5135 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.272, allocations: 11.88 kB / 0.5135 GB, free: 10.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.502e-05/0.272, allocations: 316 kB / 0.5138 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.272, allocations: 1.188 kB / 0.5138 GB, free: 10.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-06/0.272, allocations: 1.219 kB / 0.5138 GB, free: 10.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.836e-05/0.2721, allocations: 67.91 kB / 0.5139 GB, free: 10.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2721, allocations: 3.938 kB / 0.5139 GB, free: 10.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.562e-05/0.2721, allocations: 58.81 kB / 0.5139 GB, free: 10.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.2722, allocations: 39.11 kB / 0.514 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2722, allocations: 5.5 kB / 0.514 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2722, allocations: 0 / 0.514 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.2722, allocations: 0 / 0.514 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.2722, allocations: 1.531 kB / 0.514 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.2722, allocations: 3.984 kB / 0.514 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.2722, allocations: 1.438 kB / 0.514 GB, free: 10.21 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 5.424e-05/0.2723, allocations: 140.9 kB / 0.5141 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.527e-06/0.2723, allocations: 5.375 kB / 0.5141 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.143e-05/0.2723, allocations: 3.125 kB / 0.5141 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.2723, allocations: 1.438 kB / 0.5141 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2723, allocations: 0 / 0.5141 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2723, allocations: 0 / 0.5141 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.83e-05/0.2723, allocations: 152.6 kB / 0.5143 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2723, allocations: 0 / 0.5143 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.2723, allocations: 0 / 0.5143 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2723, allocations: 11.92 kB / 0.5143 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2723, allocations: 1.5 kB / 0.5143 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2724, allocations: 4 kB / 0.5143 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2724, allocations: 0 / 0.5143 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.18e-05/0.2724, allocations: 95.17 kB / 0.5144 GB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.2724, allocations: 77.11 kB / 0.5144 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.2725, allocations: 5.125 kB / 0.5145 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.16e-05/0.2725, allocations: 5.188 kB / 0.5145 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-06/0.2725, allocations: 0 / 0.5145 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.2725, allocations: 5.156 kB / 0.5145 GB, free: 9.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.716e-05/0.2725, allocations: 80.48 kB / 0.5145 GB, free: 9.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2725, allocations: 0 / 0.5145 GB, free: 9.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.2727, allocations: 18.94 kB / 0.5146 GB, free: 9.539 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.0005129/0.2732, allocations: 0.7094 MB / 0.5153 GB, free: 8.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.828e-05/0.2733, allocations: 73.02 kB / 0.5153 GB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2733, allocations: 0 / 0.5153 GB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.839e-05/0.2733, allocations: 54.81 kB / 0.5154 GB, free: 8.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.2735, allocations: 7.172 kB / 0.5154 GB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.2737, allocations: 128.5 kB / 0.5155 GB, free: 8.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.075e-05/0.2738, allocations: 0.6713 MB / 0.5162 GB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.404e-06/0.2738, allocations: 0 / 0.5162 GB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.2739, allocations: 8.656 kB / 0.5162 GB, free: 7.859 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2739, allocations: 0 / 0.5162 GB, free: 7.859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.2974, allocations: 1.491 MB / 0.5176 GB, free: 6.895 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/8.525, allocations: 2.25 kB / 0.5176 GB, free: 6.895 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.142253935337067]