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.001593/0.001593, allocations: 116.7 kB / 17.09 MB, free: 6.008 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.001744/0.001744, allocations: 194.2 kB / 18.02 MB, free: 5.094 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.344/1.344, allocations: 205.1 MB / 223.9 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.2119/0.2119, allocations: 43.53 MB / 314.8 MB, free: 464 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.001448/0.001448, allocations: 63.91 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1296, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001638/0.1313, allocations: 491 kB / 0.489 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1325, allocations: 0.782 MB / 0.4898 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.038e-05/0.1326, allocations: 0 / 0.4898 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.1326, allocations: 0 / 0.4898 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.1328, allocations: 11.94 kB / 0.4898 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006549/0.1335, allocations: 58.12 kB / 0.4898 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.579e-05/0.1336, allocations: 8 kB / 0.4898 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.1336, allocations: 3.938 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.13e-05/0.1336, allocations: 4 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.812e-05/0.1337, allocations: 7.922 kB / 0.4898 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.1337, allocations: 0 / 0.4898 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1339, allocations: 55.95 kB / 0.4899 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.1339, allocations: 3.984 kB / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.1339, allocations: 0 / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1341, allocations: 47.94 kB / 0.4899 GB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1341, allocations: 0 / 0.4899 GB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1341, allocations: 0 / 0.4899 GB, free: 10.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.1341, allocations: 4 kB / 0.49 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.0003903/0.1345, allocations: 365.1 kB / 0.4903 GB, free: 9.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1346, allocations: 11.89 kB / 0.4903 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.1346, allocations: 0.9375 kB / 0.4903 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.1347, allocations: 160.4 kB / 0.4905 GB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1347, allocations: 4.375 kB / 0.4905 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.1348, allocations: 384 / 0.4905 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.536e-05/0.1349, allocations: 34.19 kB / 0.4905 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1349, allocations: 8.188 kB / 0.4905 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1349, allocations: 3.938 kB / 0.4905 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1349, allocations: 0 / 0.4905 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.604e-05/0.1349, allocations: 0 / 0.4905 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.1351, allocations: 149.7 kB / 0.4907 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.472e-05/0.1351, allocations: 14.58 kB / 0.4907 GB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.1351, allocations: 8.844 kB / 0.4907 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.699e-06/0.1352, allocations: 3.938 kB / 0.4907 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/0.1352, allocations: 64.33 kB / 0.4907 GB, free: 9.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1352, allocations: 0 / 0.4907 GB, free: 9.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000184/0.1354, allocations: 67.34 kB / 0.4908 GB, free: 9.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.1355, allocations: 77.11 kB / 0.4909 GB, free: 9.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.05e-05/0.1355, allocations: 97.84 kB / 0.491 GB, free: 9.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1356, allocations: 25.7 kB / 0.491 GB, free: 9.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.1356, allocations: 80.39 kB / 0.4911 GB, free: 8.984 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.1356, allocations: 4 kB / 0.4911 GB, free: 8.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.1357, allocations: 13.72 kB / 0.4911 GB, free: 8.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1358, allocations: 314.8 kB / 0.4914 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.1358, allocations: 0 / 0.4914 GB, free: 8.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-06/0.1358, allocations: 7.875 kB / 0.4914 GB, free: 8.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.397e-05/0.1359, allocations: 64.25 kB / 0.4915 GB, free: 8.559 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1359, allocations: 0 / 0.4915 GB, free: 8.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.981e-05/0.136, allocations: 67.47 kB / 0.4915 GB, free: 8.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.136, allocations: 29.7 kB / 0.4916 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.136, allocations: 4 kB / 0.4916 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.136, allocations: 7.875 kB / 0.4916 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.136, allocations: 0 / 0.4916 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.136, allocations: 0 / 0.4916 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.54e-05/0.1361, allocations: 0 / 0.4916 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1361, allocations: 0 / 0.4916 GB, free: 8.434 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 9.131e-05/0.1362, allocations: 143.5 kB / 0.4917 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.1362, allocations: 4.031 kB / 0.4917 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.645e-05/0.1362, allocations: 11.06 kB / 0.4917 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1362, allocations: 3.938 kB / 0.4917 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1362, allocations: 0 / 0.4917 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.1363, allocations: 81.11 kB / 0.4918 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1363, allocations: 0 / 0.4918 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-06/0.1363, allocations: 0 / 0.4918 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.1363, allocations: 7.969 kB / 0.4918 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001295/0.1364, allocations: 198.1 kB / 0.492 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001575/0.1366, allocations: 252.3 kB / 0.4922 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.668e-05/0.1366, allocations: 0 / 0.4922 GB, free: 7.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.423e-05/0.1367, allocations: 75.28 kB / 0.4923 GB, free: 7.586 MB / 382.1 MB Notification: Performance of Backend: time 2.3e-07/0.1367, allocations: 4 kB / 0.4923 GB, free: 7.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005987/0.1373, allocations: 213.3 kB / 0.4925 GB, free: 7.371 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003886/0.1377, allocations: 0.5872 MB / 0.4931 GB, free: 6.723 MB / 382.1 MB Notification: Performance of Templates: time 0.003097/0.1408, allocations: 0.6755 MB / 0.4937 GB, free: 6.055 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