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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 102.7 kB / 16.27 MB, free: 6.004 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.00109/0.001091, allocations: 187.9 kB / 17.2 MB, free: 5.621 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.636/1.636, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2143/0.2143, allocations: 43.51 MB / 313.9 MB, free: 0.5352 MB / 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.001516/0.001517, allocations: 73.33 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1187, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.002294/0.1211, allocations: 493.3 kB / 441.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1222, allocations: 0.782 MB / 441.9 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.1223, allocations: 0 / 441.9 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.173e-05/0.1223, allocations: 0 / 441.9 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.1225, allocations: 7.938 kB / 441.9 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006609/0.1232, allocations: 56.11 kB / 441.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.105e-05/0.1233, allocations: 8 kB / 441.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.1233, allocations: 0 / 441.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.236e-05/0.1234, allocations: 11.98 kB / 442 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.979e-05/0.1235, allocations: 3.984 kB / 442 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.1235, allocations: 4 kB / 442 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1236, allocations: 47.91 kB / 442 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.427e-06/0.1236, allocations: 0 / 442 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.1236, allocations: 0 / 442 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1238, allocations: 59.84 kB / 442.1 MB, free: 5.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1238, allocations: 0 / 442.1 MB, free: 5.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1238, allocations: 0 / 442.1 MB, free: 5.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1238, allocations: 0 / 442.1 MB, free: 5.363 MB / 318.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.0003153/0.1242, allocations: 361.5 kB / 442.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1242, allocations: 19.83 kB / 442.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.196e-05/0.1242, allocations: 30.75 kB / 442.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.531e-05/0.1243, allocations: 0.9375 kB / 442.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.328e-05/0.1243, allocations: 164.3 kB / 442.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1244, allocations: 384 / 442.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-06/0.1244, allocations: 4.375 kB / 442.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.71e-05/0.1245, allocations: 30.25 kB / 442.7 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.1245, allocations: 3.938 kB / 442.7 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1245, allocations: 4 kB / 442.7 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1245, allocations: 4 kB / 442.7 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.493e-05/0.1245, allocations: 7.938 kB / 442.7 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.415e-05/0.1246, allocations: 145.7 kB / 442.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.338e-05/0.1247, allocations: 18.61 kB / 442.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.206e-05/0.1247, allocations: 4.859 kB / 442.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.403e-06/0.1247, allocations: 3.938 kB / 442.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.1247, allocations: 64.25 kB / 442.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.1247, allocations: 4.062 kB / 442.9 MB, free: 4.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001577/0.1249, allocations: 71.28 kB / 443 MB, free: 4.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.125, allocations: 77.11 kB / 443.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.68e-05/0.125, allocations: 93.84 kB / 443.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.125, allocations: 25.7 kB / 443.2 MB, free: 4.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.923e-05/0.1251, allocations: 80.14 kB / 443.3 MB, free: 3.934 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.1251, allocations: 8.25 kB / 443.3 MB, free: 3.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.1251, allocations: 13.72 kB / 443.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.1252, allocations: 310.8 kB / 443.6 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.739e-06/0.1252, allocations: 4 kB / 443.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-06/0.1252, allocations: 0 / 443.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.1252, allocations: 60.27 kB / 443.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1252, allocations: 0 / 443.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.828e-05/0.1253, allocations: 71.39 kB / 443.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.1253, allocations: 37.67 kB / 443.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1253, allocations: 0 / 443.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1253, allocations: 0 / 443.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.1254, allocations: 0 / 443.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1254, allocations: 4 kB / 443.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.1254, allocations: 0 / 443.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1254, allocations: 3.938 kB / 443.8 MB, free: 3.383 MB / 318.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.547e-05/0.1255, allocations: 143.5 kB / 443.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.986e-06/0.1255, allocations: 3.938 kB / 443.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.408e-06/0.1255, allocations: 7.125 kB / 443.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.61e-07/0.1255, allocations: 0 / 443.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1255, allocations: 0 / 443.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1255, allocations: 0 / 443.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.339e-05/0.1256, allocations: 157.6 kB / 444.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1256, allocations: 0 / 444.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1256, allocations: 0 / 444.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1256, allocations: 3.938 kB / 444.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.1256, allocations: 0 / 444.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1256, allocations: 0 / 444.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1256, allocations: 0 / 444.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.907e-05/0.1257, allocations: 98.77 kB / 444.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.1257, allocations: 81.11 kB / 444.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.1257, allocations: 3.938 kB / 444.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.1257, allocations: 0 / 444.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.1258, allocations: 4 kB / 444.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.1258, allocations: 0 / 444.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.175e-05/0.1258, allocations: 87.25 kB / 444.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1258, allocations: 0 / 444.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1261, allocations: 19.98 kB / 444.4 MB, free: 2.676 MB / 318.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.0004834/0.1265, allocations: 0.7109 MB / 445.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.164e-05/0.1266, allocations: 55.41 kB / 445.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1267, allocations: 0 / 445.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.402e-05/0.1267, allocations: 59.39 kB / 445.2 MB, free: 1.824 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.1268, allocations: 7.781 kB / 445.2 MB, free: 1.82 MB / 318.1 MB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/ReadStreamTestFile.txt") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.1272, allocations: 118.7 kB / 445.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.1273, allocations: 0.669 MB / 446 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.316e-06/0.1273, allocations: 4 kB / 446 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.1273, allocations: 7.438 kB / 446 MB, free: 0.957 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1273, allocations: 0 / 446 MB, free: 0.957 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2889/0.4162, allocations: 1.451 MB / 447.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.722/10.14, allocations: 8 kB / 447.4 MB, free: 15.5 MB / 334.1 MB (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) 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