Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 113.2 kB / 17.09 MB, free: 5.375 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.001034/0.001034, allocations: 198.6 kB / 18.02 MB, free: 4.805 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.313/1.313, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2112/0.2112, allocations: 43.52 MB / 314.8 MB, free: 456 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.001479/0.001479, allocations: 73.45 kB / 442.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1036, allocations: 57.78 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003142/0.1068, allocations: 1.698 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1083, allocations: 0.8014 MB / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.1084, allocations: 3.938 kB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003746/0.1088, allocations: 35.83 kB / 0.4911 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.1091, allocations: 59.7 kB / 0.4912 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.1095, allocations: 87.75 kB / 0.4912 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.1098, allocations: 103.7 kB / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1099, allocations: 8.219 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.11, allocations: 43.78 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1101, allocations: 31.84 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.1102, allocations: 0 / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.1103, allocations: 40 kB / 0.4915 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.1104, allocations: 31.84 kB / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.1104, allocations: 35.73 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.1107, allocations: 103.8 kB / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1107, allocations: 7.938 kB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1107, allocations: 0 / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1107, allocations: 0 / 0.4916 GB, free: 8.621 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005807/0.1113, allocations: 403 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1114, allocations: 11.89 kB / 0.492 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.1114, allocations: 12.75 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.1117, allocations: 215.9 kB / 0.4922 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1117, allocations: 384 / 0.4922 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.1118, allocations: 8.125 kB / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1119, allocations: 57.67 kB / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1119, allocations: 0 / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.112, allocations: 0 / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.112, allocations: 0 / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.439e-05/0.112, allocations: 19.98 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.1124, allocations: 284.9 kB / 0.4926 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1126, allocations: 70.59 kB / 0.4927 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.206e-05/0.1127, allocations: 20.84 kB / 0.4927 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1127, allocations: 0 / 0.4927 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.1128, allocations: 63.39 kB / 0.4927 GB, free: 7.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.1129, allocations: 4 kB / 0.4927 GB, free: 7.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005834/0.1134, allocations: 173.3 kB / 0.4929 GB, free: 7.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.1135, allocations: 63.33 kB / 0.493 GB, free: 7.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.1137, allocations: 166.2 kB / 0.4931 GB, free: 6.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1137, allocations: 33.7 kB / 0.4932 GB, free: 6.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/0.1138, allocations: 100.1 kB / 0.4933 GB, free: 6.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.1138, allocations: 19.72 kB / 0.4933 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.1139, allocations: 29.58 kB / 0.4933 GB, free: 6.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.114, allocations: 326.8 kB / 0.4936 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.774e-05/0.1141, allocations: 23.98 kB / 0.4936 GB, free: 6.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.979e-05/0.1141, allocations: 33.7 kB / 0.4937 GB, free: 6.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.1142, allocations: 57.7 kB / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1142, allocations: 0 / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.1144, allocations: 101.5 kB / 0.4938 GB, free: 6.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1144, allocations: 4.031 kB / 0.4938 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1145, allocations: 8 kB / 0.4938 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1145, allocations: 0 / 0.4938 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.1146, allocations: 15.98 kB / 0.4939 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.1146, allocations: 3.938 kB / 0.4939 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.509e-05/0.1146, allocations: 4 kB / 0.4939 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1147, allocations: 11.94 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 9.063e-05/0.1147, allocations: 125.8 kB / 0.494 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.1148, allocations: 11.81 kB / 0.494 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.1148, allocations: 16.72 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1148, allocations: 3.984 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1148, allocations: 0 / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.1149, allocations: 85.02 kB / 0.4941 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.1149, allocations: 3.938 kB / 0.4941 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.312e-05/0.115, allocations: 8 kB / 0.4941 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.115, allocations: 3.984 kB / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002077/0.1152, allocations: 176.9 kB / 0.4943 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002418/0.1155, allocations: 274.9 kB / 0.4945 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.075e-05/0.1156, allocations: 32.05 kB / 0.4946 GB, free: 5.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.963e-05/0.1157, allocations: 128.1 kB / 0.4947 GB, free: 5.18 MB / 382.1 MB Notification: Performance of Backend: time 1.6e-07/0.1157, allocations: 0 / 0.4947 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.117, allocations: 493.9 kB / 0.4952 GB, free: 4.738 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006707/0.1176, allocations: 0.6557 MB / 0.4958 GB, free: 4.035 MB / 382.1 MB Notification: Performance of Templates: time 0.004962/0.1226, allocations: 1.768 MB / 0.4975 GB, free: 2.27 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches