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.001172/0.001172, allocations: 105.4 kB / 17.03 MB, free: 6.129 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.001173/0.001173, allocations: 194.9 kB / 17.96 MB, free: 5.215 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.641/1.641, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2221/0.2221, allocations: 43.52 MB / 314.7 MB, free: 480 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.001596/0.001596, allocations: 65.83 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1167, allocations: 57.8 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.00163/0.1184, allocations: 482.4 kB / 442.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008781/0.1193, allocations: 0.786 MB / 443.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.086e-05/0.1193, allocations: 0 / 443.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.1193, allocations: 0 / 443.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.1195, allocations: 7.938 kB / 443.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.12, allocations: 55.34 kB / 443.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.142e-05/0.1201, allocations: 3.984 kB / 443.3 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.1201, allocations: 15.98 kB / 443.3 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.748e-05/0.1202, allocations: 0 / 443.3 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.1202, allocations: 4 kB / 443.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-06/0.1202, allocations: 0 / 443.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.857e-05/0.1203, allocations: 51.95 kB / 443.4 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.1204, allocations: 0 / 443.4 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.1204, allocations: 7.938 kB / 443.4 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.1205, allocations: 43.94 kB / 443.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1205, allocations: 0 / 443.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1205, allocations: 0 / 443.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1205, allocations: 0 / 443.4 MB, free: 4.703 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.0002308/0.1208, allocations: 361.2 kB / 443.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1208, allocations: 15.89 kB / 443.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.1208, allocations: 0.9375 kB / 443.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.948e-05/0.1209, allocations: 168.3 kB / 443.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1209, allocations: 384 / 443.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.1209, allocations: 8.312 kB / 443.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.011e-05/0.121, allocations: 34.25 kB / 444 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.121, allocations: 192 / 444 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.121, allocations: 3.938 kB / 444 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.121, allocations: 4 kB / 444 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.476e-05/0.1211, allocations: 4 kB / 444 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.421e-05/0.1211, allocations: 149.6 kB / 444.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.176e-05/0.1212, allocations: 22.55 kB / 444.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.095e-05/0.1212, allocations: 4.859 kB / 444.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.1212, allocations: 0 / 444.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.1212, allocations: 68.2 kB / 444.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1212, allocations: 0 / 444.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001413/0.1214, allocations: 71.39 kB / 444.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.1214, allocations: 77.11 kB / 444.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.88e-05/0.1215, allocations: 93.86 kB / 444.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.1215, allocations: 25.7 kB / 444.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.068e-05/0.1215, allocations: 80.14 kB / 444.6 MB, free: 3.309 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.1215, allocations: 7.938 kB / 444.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.1215, allocations: 13.97 kB / 444.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.402e-05/0.1216, allocations: 314.8 kB / 444.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.1216, allocations: 4 kB / 444.9 MB, free: 2.961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-06/0.1216, allocations: 0 / 444.9 MB, free: 2.961 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.687e-05/0.1217, allocations: 64.27 kB / 445 MB, free: 2.883 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1217, allocations: 0 / 445 MB, free: 2.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.957e-05/0.1217, allocations: 63.39 kB / 445 MB, free: 2.809 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1217, allocations: 30.58 kB / 445.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1218, allocations: 7.938 kB / 445.1 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1218, allocations: 0 / 445.1 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.1218, allocations: 0 / 445.1 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1218, allocations: 7.938 kB / 445.1 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.42e-05/0.1218, allocations: 0 / 445.1 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1218, allocations: 0 / 445.1 MB, free: 2.758 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.327e-05/0.1219, allocations: 140.6 kB / 445.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.1219, allocations: 4 kB / 445.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.868e-06/0.1219, allocations: 15.05 kB / 445.2 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.1219, allocations: 4 kB / 445.2 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1219, allocations: 3.938 kB / 445.2 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1219, allocations: 0 / 445.2 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.393e-05/0.122, allocations: 145.7 kB / 445.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.122, allocations: 0 / 445.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.122, allocations: 0 / 445.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.122, allocations: 0 / 445.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.122, allocations: 7.922 kB / 445.4 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.122, allocations: 3.984 kB / 445.4 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.122, allocations: 0 / 445.4 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.964e-05/0.1221, allocations: 94.75 kB / 445.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.1221, allocations: 81.09 kB / 445.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.1221, allocations: 7.938 kB / 445.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.267e-06/0.1221, allocations: 0 / 445.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.1222, allocations: 3.938 kB / 445.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.1222, allocations: 0 / 445.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.549e-05/0.1222, allocations: 79.28 kB / 445.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1222, allocations: 8.062 kB / 445.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.1224, allocations: 16 kB / 445.7 MB, free: 2.047 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.000291/0.1227, allocations: 193.7 kB / 445.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.218e-05/0.1228, allocations: 55.41 kB / 445.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1228, allocations: 0 / 445.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.78e-05/0.1228, allocations: 55.41 kB / 446 MB, free: 1.746 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.1229, allocations: 0 / 446 MB, free: 1.746 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001446/0.1231, allocations: 81.06 kB / 446.1 MB, free: 1.641 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.763e-05/0.1232, allocations: 0.6729 MB / 446.7 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.491e-06/0.1232, allocations: 3.938 kB / 446.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.726e-06/0.1232, allocations: 11.56 kB / 446.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1232, allocations: 0 / 446.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of Templates: time 0.00252/0.1257, allocations: 0.6408 MB / 447.4 MB, free: 296 kB / 318.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 -s cvode -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