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.001072/0.001073, allocations: 113.2 kB / 17.09 MB, free: 5.965 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.001153/0.001153, allocations: 194.9 kB / 18.02 MB, free: 5.047 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.359/1.359, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.2215/0.2215, allocations: 43.52 MB / 314.8 MB, free: 460 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.001539/0.001539, allocations: 69.92 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1102, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001765/0.112, allocations: 498.7 kB / 0.489 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1133, allocations: 0.7859 MB / 0.4898 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.632e-05/0.1133, allocations: 0 / 0.4898 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.1133, allocations: 0 / 0.4898 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.1135, allocations: 7.938 kB / 0.4898 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005831/0.1141, allocations: 54.33 kB / 0.4898 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.347e-05/0.1142, allocations: 7.984 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.1142, allocations: 4 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.769e-05/0.1143, allocations: 4 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.94e-05/0.1143, allocations: 7.922 kB / 0.4898 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.424e-06/0.1144, allocations: 0 / 0.4898 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1145, allocations: 51.97 kB / 0.4899 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.1145, allocations: 3.984 kB / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.733e-05/0.1145, allocations: 0 / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.1147, allocations: 47.94 kB / 0.4899 GB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1147, allocations: 3.938 kB / 0.4899 GB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1147, allocations: 4 kB / 0.49 GB, free: 10.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1147, allocations: 0 / 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.0003197/0.115, allocations: 361.1 kB / 0.4903 GB, free: 9.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1151, allocations: 11.89 kB / 0.4903 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.1151, allocations: 4.922 kB / 0.4903 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.1152, allocations: 164.4 kB / 0.4905 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1152, allocations: 384 / 0.4905 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-06/0.1152, allocations: 384 / 0.4905 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.063e-05/0.1153, allocations: 38.27 kB / 0.4905 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1153, allocations: 192 / 0.4905 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1153, allocations: 3.938 kB / 0.4905 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1154, allocations: 0 / 0.4905 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.481e-05/0.1154, allocations: 0 / 0.4905 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.1155, allocations: 149.7 kB / 0.4907 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.274e-05/0.1156, allocations: 18.52 kB / 0.4907 GB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.1156, allocations: 8.797 kB / 0.4907 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.1156, allocations: 8.094 kB / 0.4907 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.1156, allocations: 60.27 kB / 0.4907 GB, free: 9.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.615e-06/0.1157, allocations: 3.984 kB / 0.4907 GB, free: 9.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001473/0.1158, allocations: 71.27 kB / 0.4908 GB, free: 9.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.1158, allocations: 77.11 kB / 0.4909 GB, free: 9.191 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.175e-05/0.1159, allocations: 97.86 kB / 0.491 GB, free: 9.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.1159, allocations: 25.7 kB / 0.491 GB, free: 9.055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.793e-05/0.116, allocations: 84.39 kB / 0.4911 GB, free: 8.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.116, allocations: 0 / 0.4911 GB, free: 8.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.116, allocations: 13.72 kB / 0.4911 GB, free: 8.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.1161, allocations: 314.8 kB / 0.4914 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.1161, allocations: 0 / 0.4914 GB, free: 8.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-06/0.1161, allocations: 4 kB / 0.4914 GB, free: 8.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.109e-05/0.1162, allocations: 64.27 kB / 0.4915 GB, free: 8.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1162, allocations: 0 / 0.4915 GB, free: 8.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.414e-05/0.1163, allocations: 71.39 kB / 0.4915 GB, free: 8.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.1163, allocations: 33.7 kB / 0.4916 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1163, allocations: 0 / 0.4916 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1163, allocations: 7.875 kB / 0.4916 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/0.1163, allocations: 0 / 0.4916 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1164, allocations: 0 / 0.4916 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.407e-05/0.1164, allocations: 0 / 0.4916 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.1164, allocations: 0 / 0.4916 GB, free: 8.422 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 7.458e-05/0.1165, allocations: 139.5 kB / 0.4917 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.1165, allocations: 4 kB / 0.4917 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.937e-05/0.1165, allocations: 15.05 kB / 0.4917 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1165, allocations: 0 / 0.4917 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1165, allocations: 4 kB / 0.4917 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.1166, allocations: 77.11 kB / 0.4918 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1166, allocations: 0 / 0.4918 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-06/0.1166, allocations: 0 / 0.4918 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-06/0.1166, allocations: 0 / 0.4918 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001112/0.1167, allocations: 202 kB / 0.492 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001223/0.1168, allocations: 244.4 kB / 0.4922 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.72e-05/0.1169, allocations: 7.984 kB / 0.4922 GB, free: 7.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.672e-05/0.1169, allocations: 79.28 kB / 0.4923 GB, free: 7.578 MB / 382.1 MB Notification: Performance of Backend: time 4.91e-07/0.1169, allocations: 0 / 0.4923 GB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005359/0.1174, allocations: 221.3 kB / 0.4925 GB, free: 7.363 MB / 382.1 MB Notification: Performance of SimCode: time 0.000321/0.1178, allocations: 0.5911 MB / 0.4931 GB, free: 6.711 MB / 382.1 MB Notification: Performance of Templates: time 0.002718/0.1205, allocations: 0.6683 MB / 0.4938 GB, free: 6.043 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