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.001452/0.001452, allocations: 107.8 kB / 17.04 MB, free: 5.812 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.001672/0.001672, allocations: 195 kB / 17.97 MB, free: 5.027 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.392/1.392, 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.2103/0.2103, allocations: 43.52 MB / 314.7 MB, free: 488 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.00141/0.00141, allocations: 67.12 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1043, allocations: 57.79 MB / 442 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001662/0.106, allocations: 0.489 MB / 442.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008989/0.1069, allocations: 0.7822 MB / 443.2 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.1069, allocations: 0 / 443.2 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.107, allocations: 0 / 443.2 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.1071, allocations: 7.938 kB / 443.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005348/0.1077, allocations: 51.88 kB / 443.3 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.217e-05/0.1077, allocations: 7.938 kB / 443.3 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.1078, allocations: 3.984 kB / 443.3 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.633e-05/0.1078, allocations: 11.94 kB / 443.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.817e-05/0.1079, allocations: 3.938 kB / 443.3 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.1079, allocations: 4 kB / 443.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.108, allocations: 51.95 kB / 443.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-06/0.108, allocations: 0 / 443.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.1081, allocations: 0 / 443.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.1082, allocations: 51.92 kB / 443.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1082, allocations: 0 / 443.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1082, allocations: 0 / 443.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.1082, allocations: 0 / 443.4 MB, free: 4.719 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.0002479/0.1084, allocations: 361.1 kB / 443.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1085, allocations: 11.89 kB / 443.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.1085, allocations: 4.938 kB / 443.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.795e-05/0.1086, allocations: 164.4 kB / 444 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1086, allocations: 4.375 kB / 444 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.1086, allocations: 4.312 kB / 444 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.31e-05/0.1087, allocations: 30.27 kB / 444 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1087, allocations: 192 / 444 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1087, allocations: 3.938 kB / 444 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.1087, allocations: 4 kB / 444 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.641e-05/0.1088, allocations: 3.984 kB / 444 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.583e-05/0.1088, allocations: 153.6 kB / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.561e-05/0.1089, allocations: 14.58 kB / 444.2 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.1089, allocations: 16.89 kB / 444.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.1089, allocations: 0 / 444.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.109, allocations: 60.27 kB / 444.2 MB, free: 3.723 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.109, allocations: 0 / 444.2 MB, free: 3.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001369/0.1091, allocations: 67.33 kB / 444.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.1091, allocations: 77.11 kB / 444.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.94e-05/0.1092, allocations: 97.86 kB / 444.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.1092, allocations: 25.7 kB / 444.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.028e-05/0.1092, allocations: 80.14 kB / 444.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.1092, allocations: 0 / 444.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.1093, allocations: 17.97 kB / 444.6 MB, free: 3.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.1093, allocations: 314.8 kB / 444.9 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-06/0.1093, allocations: 3.938 kB / 444.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.1093, allocations: 4 kB / 444.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.682e-05/0.1094, allocations: 60.27 kB / 445 MB, free: 2.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1094, allocations: 0 / 445 MB, free: 2.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.978e-05/0.1094, allocations: 59.41 kB / 445 MB, free: 2.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.1095, allocations: 42.5 kB / 445.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1095, allocations: 7.938 kB / 445.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1095, allocations: 3.938 kB / 445.1 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.1095, allocations: 0 / 445.1 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.1095, allocations: 0 / 445.1 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.1095, allocations: 0 / 445.1 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1095, allocations: 4 kB / 445.1 MB, free: 2.777 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 4.791e-05/0.1096, allocations: 143.4 kB / 445.2 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.1096, allocations: 0 / 445.2 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.027e-06/0.1096, allocations: 11.06 kB / 445.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.1096, allocations: 4 kB / 445.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1096, allocations: 4 kB / 445.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1096, allocations: 3.984 kB / 445.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.951e-05/0.1097, allocations: 141.7 kB / 445.4 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.1097, allocations: 0 / 445.4 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.1097, allocations: 4 kB / 445.4 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.1097, allocations: 0 / 445.4 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1097, allocations: 3.938 kB / 445.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.1097, allocations: 0 / 445.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1097, allocations: 0 / 445.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.886e-05/0.1098, allocations: 98.73 kB / 445.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.1098, allocations: 77.11 kB / 445.6 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.1098, allocations: 7.922 kB / 445.6 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-06/0.1098, allocations: 4 kB / 445.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.1099, allocations: 0 / 445.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.1099, allocations: 3.938 kB / 445.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.524e-05/0.1099, allocations: 79.31 kB / 445.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1099, allocations: 0 / 445.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.1101, allocations: 24 kB / 445.7 MB, free: 2.07 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.0002966/0.1104, allocations: 192.6 kB / 445.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.876e-05/0.1105, allocations: 59.41 kB / 445.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1105, allocations: 0 / 445.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.908e-05/0.1105, allocations: 59.41 kB / 446 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.1107, allocations: 0 / 446 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001408/0.1108, allocations: 77.06 kB / 446.1 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.433e-05/0.1109, allocations: 0.6729 MB / 446.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.969e-06/0.1109, allocations: 0 / 446.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.326e-06/0.1109, allocations: 11.56 kB / 446.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1109, allocations: 0 / 446.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of Templates: time 0.002551/0.1135, allocations: 0.641 MB / 447.4 MB, free: 320 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 gbode -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