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.001462/0.001462, allocations: 109.6 kB / 16.41 MB, free: 6.492 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.00121/0.001209, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.681/1.681, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2092/0.2092, allocations: 43.53 MB / 314.1 MB, free: 468 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.001422/0.001422, allocations: 63.91 kB / 441.8 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1254, allocations: 57.78 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001751/0.1272, allocations: 490.8 kB / 0.4883 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1284, allocations: 0.7843 MB / 0.4891 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.1284, allocations: 0 / 0.4891 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.1284, allocations: 3.938 kB / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.1286, allocations: 7.984 kB / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.1292, allocations: 58.28 kB / 0.4892 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.076e-05/0.1292, allocations: 4 kB / 0.4892 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.174e-05/0.1293, allocations: 4 kB / 0.4892 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.857e-05/0.1293, allocations: 3.938 kB / 0.4892 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.1294, allocations: 19.91 kB / 0.4892 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.694e-06/0.1294, allocations: 0 / 0.4892 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1295, allocations: 51.95 kB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.783e-06/0.1295, allocations: 0 / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.1296, allocations: 0 / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.1297, allocations: 51.88 kB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1297, allocations: 0 / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1297, allocations: 4 kB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.1297, allocations: 0 / 0.4893 GB, free: 10.38 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.000342/0.1301, allocations: 361.1 kB / 0.4896 GB, free: 9.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1301, allocations: 15.89 kB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.1302, allocations: 0.9375 kB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1303, allocations: 160.4 kB / 0.4898 GB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1303, allocations: 4.359 kB / 0.4898 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.1303, allocations: 384 / 0.4898 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.374e-05/0.1304, allocations: 30.27 kB / 0.4898 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1304, allocations: 4.188 kB / 0.4898 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1304, allocations: 7.922 kB / 0.4898 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1304, allocations: 0 / 0.4898 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.767e-05/0.1304, allocations: 8 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.1306, allocations: 149.6 kB / 0.49 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.637e-05/0.1306, allocations: 14.67 kB / 0.49 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.1306, allocations: 8.859 kB / 0.49 GB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.876e-06/0.1307, allocations: 4 kB / 0.49 GB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.1307, allocations: 60.27 kB / 0.4901 GB, free: 9.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.1307, allocations: 0 / 0.4901 GB, free: 9.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001698/0.1309, allocations: 71.27 kB / 0.4902 GB, free: 9.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.131, allocations: 81.11 kB / 0.4902 GB, free: 9.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/0.1311, allocations: 89.86 kB / 0.4903 GB, free: 9.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1311, allocations: 25.7 kB / 0.4903 GB, free: 9.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.504e-05/0.1312, allocations: 88.39 kB / 0.4904 GB, free: 8.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.1312, allocations: 0 / 0.4904 GB, free: 8.992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.1312, allocations: 13.72 kB / 0.4904 GB, free: 8.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1313, allocations: 310.8 kB / 0.4907 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.1313, allocations: 0 / 0.4907 GB, free: 8.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-06/0.1313, allocations: 7.984 kB / 0.4907 GB, free: 8.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.191e-05/0.1314, allocations: 60.27 kB / 0.4908 GB, free: 8.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1314, allocations: 0 / 0.4908 GB, free: 8.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.711e-05/0.1315, allocations: 71.41 kB / 0.4909 GB, free: 8.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.1315, allocations: 29.7 kB / 0.4909 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1315, allocations: 3.938 kB / 0.4909 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1315, allocations: 7.922 kB / 0.4909 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.1315, allocations: 3.938 kB / 0.4909 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1316, allocations: 0 / 0.4909 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.1316, allocations: 4 kB / 0.4909 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1316, allocations: 0 / 0.4909 GB, free: 8.441 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.298e-05/0.1317, allocations: 135.5 kB / 0.491 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.1317, allocations: 8.031 kB / 0.491 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.284e-05/0.1317, allocations: 7.062 kB / 0.4911 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1317, allocations: 0 / 0.4911 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1317, allocations: 4 kB / 0.4911 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1317, allocations: 0 / 0.4911 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.224e-05/0.1318, allocations: 153.7 kB / 0.4912 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1318, allocations: 4 kB / 0.4912 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1318, allocations: 0 / 0.4912 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1318, allocations: 0 / 0.4912 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.1319, allocations: 3.938 kB / 0.4912 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1319, allocations: 4 kB / 0.4912 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1319, allocations: 0 / 0.4912 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.432e-05/0.132, allocations: 94.77 kB / 0.4913 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.132, allocations: 81.02 kB / 0.4914 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.132, allocations: 7.938 kB / 0.4914 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-06/0.1321, allocations: 0 / 0.4914 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.1321, allocations: 3.984 kB / 0.4914 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.1321, allocations: 32 / 0.4914 GB, free: 7.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.163e-05/0.1322, allocations: 79.28 kB / 0.4915 GB, free: 7.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1322, allocations: 4 kB / 0.4915 GB, free: 7.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1324, allocations: 16 kB / 0.4915 GB, free: 7.734 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.0003353/0.1327, allocations: 182 kB / 0.4917 GB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.71e-05/0.1328, allocations: 59.39 kB / 0.4917 GB, free: 7.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1328, allocations: 0 / 0.4917 GB, free: 7.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.057e-05/0.1329, allocations: 67.27 kB / 0.4918 GB, free: 7.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.133, allocations: 3.281 kB / 0.4918 GB, free: 7.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001756/0.1332, allocations: 92.91 kB / 0.4919 GB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1334, allocations: 0.6769 MB / 0.4925 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.38e-06/0.1334, allocations: 0 / 0.4925 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.014e-05/0.1335, allocations: 7.438 kB / 0.4925 GB, free: 6.582 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1335, allocations: 0 / 0.4925 GB, free: 6.582 MB / 382.1 MB Notification: Performance of Templates: time 0.00271/0.1362, allocations: 0.6481 MB / 0.4932 GB, free: 5.941 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches