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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 113.8 kB / 17.08 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 194.5 kB / 18.01 MB, free: 5.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2074/0.2074, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB 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.001436/0.001436, allocations: 70.02 kB / 442.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1099, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001646/0.1116, allocations: 493.8 kB / 0.489 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1129, allocations: 0.7782 MB / 0.4897 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.1129, allocations: 0 / 0.4897 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.16e-05/0.1129, allocations: 0 / 0.4897 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.1131, allocations: 7.984 kB / 0.4898 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005948/0.1137, allocations: 62.31 kB / 0.4898 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.081e-05/0.1138, allocations: 4 kB / 0.4898 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.837e-05/0.1138, allocations: 0 / 0.4898 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.414e-05/0.1138, allocations: 3.938 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.252e-05/0.1139, allocations: 11.88 kB / 0.4898 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.763e-06/0.1139, allocations: 0 / 0.4898 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1141, allocations: 51.95 kB / 0.4899 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.404e-06/0.1141, allocations: 4 kB / 0.4899 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.1141, allocations: 3.984 kB / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.1142, allocations: 51.92 kB / 0.4899 GB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1143, allocations: 0 / 0.4899 GB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1143, allocations: 4 kB / 0.4899 GB, free: 10.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1143, allocations: 0 / 0.4899 GB, free: 10.36 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.0003351/0.1146, allocations: 365.1 kB / 0.4903 GB, free: 9.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.1147, allocations: 11.89 kB / 0.4903 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.1147, allocations: 0.9375 kB / 0.4903 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.1148, allocations: 160.4 kB / 0.4905 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1148, allocations: 4.375 kB / 0.4905 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.1148, allocations: 384 / 0.4905 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.4e-05/0.1149, allocations: 34.2 kB / 0.4905 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1149, allocations: 192 / 0.4905 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.1149, allocations: 7.938 kB / 0.4905 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.115, allocations: 0 / 0.4905 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.725e-05/0.115, allocations: 3.984 kB / 0.4905 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.1151, allocations: 145.7 kB / 0.4906 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.565e-05/0.1151, allocations: 18.61 kB / 0.4907 GB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.1152, allocations: 4.859 kB / 0.4907 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.1152, allocations: 7.984 kB / 0.4907 GB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.1152, allocations: 64.27 kB / 0.4907 GB, free: 9.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.021e-06/0.1152, allocations: 0 / 0.4907 GB, free: 9.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000157/0.1154, allocations: 71.33 kB / 0.4908 GB, free: 9.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.1155, allocations: 77.11 kB / 0.4909 GB, free: 9.195 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.937e-05/0.1155, allocations: 89.86 kB / 0.491 GB, free: 9.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.1155, allocations: 29.7 kB / 0.491 GB, free: 9.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.372e-05/0.1156, allocations: 84.39 kB / 0.4911 GB, free: 8.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.1156, allocations: 0 / 0.4911 GB, free: 8.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.1156, allocations: 17.7 kB / 0.4911 GB, free: 8.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1158, allocations: 314.8 kB / 0.4914 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-06/0.1158, allocations: 0 / 0.4914 GB, free: 8.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.565e-06/0.1158, allocations: 3.938 kB / 0.4914 GB, free: 8.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.124e-05/0.1158, allocations: 60.27 kB / 0.4915 GB, free: 8.559 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1158, allocations: 64 / 0.4915 GB, free: 8.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.384e-05/0.1159, allocations: 71.39 kB / 0.4915 GB, free: 8.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.1159, allocations: 29.7 kB / 0.4915 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.116, allocations: 3.938 kB / 0.4916 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.116, allocations: 11.94 kB / 0.4916 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.116, allocations: 3.938 kB / 0.4916 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.116, allocations: 3.984 kB / 0.4916 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.494e-05/0.116, allocations: 0 / 0.4916 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.116, allocations: 0 / 0.4916 GB, free: 8.418 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 8.222e-05/0.1161, allocations: 143.5 kB / 0.4917 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.1161, allocations: 3.984 kB / 0.4917 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.224e-05/0.1162, allocations: 7.062 kB / 0.4917 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1162, allocations: 3.938 kB / 0.4917 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1162, allocations: 0 / 0.4917 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1162, allocations: 4 kB / 0.4917 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.1163, allocations: 145.7 kB / 0.4919 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.1163, allocations: 3.984 kB / 0.4919 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1163, allocations: 0 / 0.4919 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1163, allocations: 0 / 0.4919 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1163, allocations: 3.938 kB / 0.4919 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1163, allocations: 8 kB / 0.4919 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1163, allocations: 0 / 0.4919 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.891e-05/0.1164, allocations: 90.83 kB / 0.492 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.1165, allocations: 81.02 kB / 0.492 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1165, allocations: 3.938 kB / 0.492 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.428e-06/0.1165, allocations: 0 / 0.492 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.1165, allocations: 0 / 0.492 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.1165, allocations: 8.031 kB / 0.4921 GB, free: 7.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.947e-05/0.1166, allocations: 75.28 kB / 0.4921 GB, free: 7.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1166, allocations: 0 / 0.4921 GB, free: 7.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1168, allocations: 16 kB / 0.4921 GB, free: 7.719 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.0003576/0.1172, allocations: 194.2 kB / 0.4923 GB, free: 7.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.1173, allocations: 55.41 kB / 0.4924 GB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1173, allocations: 3.938 kB / 0.4924 GB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.175e-05/0.1174, allocations: 59.39 kB / 0.4924 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.1175, allocations: 11.22 kB / 0.4925 GB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002203/0.1177, allocations: 114.8 kB / 0.4926 GB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.118, allocations: 0.6729 MB / 0.4932 GB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.606e-05/0.118, allocations: 7.438 kB / 0.4932 GB, free: 6.531 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.118, allocations: 0 / 0.4932 GB, free: 6.531 MB / 382.1 MB Notification: Performance of Templates: time 0.002439/0.1204, allocations: 0.8229 MB / 0.494 GB, free: 5.711 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat","/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) Reference file matches