Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 175.4 kB / 16.08 MB, free: 5.543 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.6 MB / 222.4 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008782/0.0008785, allocations: 91.31 kB / 270.8 MB, free: 8.121 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3096/0.3096, allocations: 43.66 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002984, allocations: 12 kB / 432.3 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1239, allocations: 58.85 MB / 491.1 MB, free: 9.824 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.0007558/0.1247, allocations: 216.5 kB / 491.4 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.1267, allocations: 0.9893 MB / 492.4 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.013e-05/0.1268, allocations: 0 / 492.4 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.33e-05/0.1268, allocations: 0 / 492.4 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.127, allocations: 0 / 492.4 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008957/0.1279, allocations: 47.88 kB / 492.4 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.607e-05/0.128, allocations: 4 kB / 492.4 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.57e-05/0.128, allocations: 0 / 492.4 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.788e-05/0.128, allocations: 4 kB / 492.4 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.1282, allocations: 17.34 kB / 492.4 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.298e-06/0.1282, allocations: 0 / 492.4 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.1284, allocations: 51.91 kB / 492.5 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.1284, allocations: 0 / 492.5 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.1285, allocations: 25.7 kB / 492.5 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1287, allocations: 47.92 kB / 492.5 MB, free: 8.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1287, allocations: 0 / 492.5 MB, free: 8.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1287, allocations: 0 / 492.5 MB, free: 8.367 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1287, allocations: 0 / 492.5 MB, free: 8.367 MB / 378.7 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.0003671/0.1291, allocations: 361.2 kB / 492.9 MB, free: 7.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1291, allocations: 8.031 kB / 492.9 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.1292, allocations: 0.9375 kB / 492.9 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.1293, allocations: 164.4 kB / 493.1 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.1294, allocations: 4.375 kB / 493.1 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.1294, allocations: 384 / 493.1 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.1295, allocations: 26.27 kB / 493.1 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1296, allocations: 4.188 kB / 493.1 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.1296, allocations: 3.938 kB / 493.1 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1296, allocations: 4 kB / 493.1 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.262e-05/0.1296, allocations: 3.938 kB / 493.1 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.1299, allocations: 153.7 kB / 493.3 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.04e-05/0.1299, allocations: 15.75 kB / 493.3 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.13, allocations: 4.859 kB / 493.3 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.13, allocations: 0 / 493.3 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.759e-05/0.1301, allocations: 68.27 kB / 493.3 MB, free: 7.387 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.254e-06/0.1301, allocations: 0 / 493.3 MB, free: 7.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002725/0.1304, allocations: 75.27 kB / 493.4 MB, free: 7.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.1305, allocations: 77.11 kB / 493.5 MB, free: 7.207 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.171e-05/0.1306, allocations: 89.86 kB / 493.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1306, allocations: 29.7 kB / 493.6 MB, free: 7.074 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.1307, allocations: 80.14 kB / 493.7 MB, free: 6.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.1307, allocations: 4.281 kB / 493.7 MB, free: 6.988 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.1308, allocations: 256 / 493.7 MB, free: 6.988 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1309, allocations: 314.8 kB / 494 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.1309, allocations: 0 / 494 MB, free: 6.672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.484e-05/0.131, allocations: 4 kB / 494 MB, free: 6.668 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.862e-05/0.1311, allocations: 64.25 kB / 494.1 MB, free: 6.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.1311, allocations: 0 / 494.1 MB, free: 6.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001465/0.1312, allocations: 63.34 kB / 494.1 MB, free: 6.516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.456e-05/0.1313, allocations: 33.7 kB / 494.2 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1313, allocations: 8.031 kB / 494.2 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1314, allocations: 0 / 494.2 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-06/0.1314, allocations: 7.922 kB / 494.2 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1314, allocations: 0 / 494.2 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.1314, allocations: 0 / 494.2 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.1315, allocations: 7.984 kB / 494.2 MB, free: 6.453 MB / 378.7 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 0.0001315/0.1316, allocations: 136 kB / 494.3 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.1317, allocations: 4 kB / 494.3 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.732e-05/0.1317, allocations: 7.062 kB / 494.3 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1317, allocations: 4 kB / 494.3 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1317, allocations: 0 / 494.3 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1317, allocations: 0 / 494.3 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.1319, allocations: 145.7 kB / 494.5 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.1319, allocations: 8 kB / 494.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-06/0.1319, allocations: 0 / 494.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1319, allocations: 0 / 494.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.132, allocations: 3.938 kB / 494.5 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.132, allocations: 0 / 494.5 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.132, allocations: 0 / 494.5 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.1322, allocations: 102.8 kB / 494.6 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.1322, allocations: 77.11 kB / 494.7 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.1323, allocations: 7.938 kB / 494.7 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.769e-05/0.1323, allocations: 0 / 494.7 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.1323, allocations: 0 / 494.7 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.1324, allocations: 3.984 kB / 494.7 MB, free: 5.855 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.804e-05/0.1324, allocations: 75.28 kB / 494.8 MB, free: 5.781 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1324, allocations: 4.062 kB / 494.8 MB, free: 5.777 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003598/0.1328, allocations: 24 kB / 494.8 MB, free: 5.754 MB / 378.7 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.0005526/0.1334, allocations: 200.9 kB / 495 MB, free: 5.578 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.1335, allocations: 71.33 kB / 495 MB, free: 5.496 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.1335, allocations: 0 / 495 MB, free: 5.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.129e-05/0.1336, allocations: 59.34 kB / 495.1 MB, free: 5.426 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.1338, allocations: 4 kB / 495.1 MB, free: 5.422 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.1341, allocations: 78.67 kB / 495.2 MB, free: 5.316 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.1345, allocations: 0.677 MB / 495.9 MB, free: 4.613 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.215e-06/0.1345, allocations: 0 / 495.9 MB, free: 4.613 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.1345, allocations: 7.562 kB / 495.9 MB, free: 4.609 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1345, allocations: 4 kB / 495.9 MB, free: 4.605 MB / 378.7 MB Notification: Performance of Templates: time 0.004299/0.1388, allocations: 0.6319 MB / 496.5 MB, free: 3.977 MB / 378.7 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","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches