Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 112.2 kB / 17.09 MB, free: 5.988 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.001179/0.00118, allocations: 200.2 kB / 18.02 MB, free: 5.066 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.395/1.395, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1963/0.1963, 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.001346/0.001346, allocations: 73.47 kB / 442.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1038, allocations: 57.78 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002703/0.1065, allocations: 1.691 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1077, allocations: 0.8014 MB / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.1077, allocations: 4 kB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.108, allocations: 35.83 kB / 0.4911 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.1082, allocations: 63.69 kB / 0.4912 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.1084, allocations: 83.77 kB / 0.4912 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1086, allocations: 95.69 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.062e-05/0.1087, allocations: 20.2 kB / 0.4913 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.296e-05/0.1088, allocations: 43.78 kB / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.888e-05/0.1088, allocations: 27.84 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1089, allocations: 4 kB / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.172e-05/0.109, allocations: 47.92 kB / 0.4915 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.083e-05/0.109, allocations: 27.91 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.1091, allocations: 31.75 kB / 0.4915 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1093, allocations: 111.7 kB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1093, allocations: 4 kB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1093, allocations: 0 / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1093, allocations: 0 / 0.4916 GB, free: 8.613 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.0004912/0.1098, allocations: 410.4 kB / 0.492 GB, free: 8.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1098, allocations: 11.89 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.1099, allocations: 12.84 kB / 0.492 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.1101, allocations: 212 kB / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1101, allocations: 8.312 kB / 0.4923 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.1102, allocations: 8.125 kB / 0.4923 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1103, allocations: 53.67 kB / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1103, allocations: 4 kB / 0.4923 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.1103, allocations: 0 / 0.4923 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1103, allocations: 0 / 0.4923 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.498e-05/0.1104, allocations: 23.98 kB / 0.4923 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.1108, allocations: 288.8 kB / 0.4926 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.1109, allocations: 58.67 kB / 0.4927 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.111, allocations: 16.86 kB / 0.4927 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.111, allocations: 0 / 0.4927 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.1112, allocations: 71.3 kB / 0.4928 GB, free: 7.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1112, allocations: 3.938 kB / 0.4928 GB, free: 7.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000521/0.1117, allocations: 173.5 kB / 0.4929 GB, free: 7.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.1117, allocations: 55.34 kB / 0.493 GB, free: 7.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.1119, allocations: 190.1 kB / 0.4932 GB, free: 6.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1119, allocations: 29.7 kB / 0.4932 GB, free: 6.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.112, allocations: 100.1 kB / 0.4933 GB, free: 6.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.112, allocations: 23.66 kB / 0.4933 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.1121, allocations: 21.7 kB / 0.4933 GB, free: 6.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1122, allocations: 330.8 kB / 0.4936 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-05/0.1122, allocations: 20.19 kB / 0.4937 GB, free: 6.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.161e-05/0.1123, allocations: 41.7 kB / 0.4937 GB, free: 6.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.1124, allocations: 57.7 kB / 0.4938 GB, free: 6.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1125, allocations: 0 / 0.4938 GB, free: 6.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001719/0.1126, allocations: 97.52 kB / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1126, allocations: 8 kB / 0.4939 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1127, allocations: 4.031 kB / 0.4939 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1127, allocations: 3.984 kB / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.864e-05/0.1128, allocations: 15.94 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1128, allocations: 4 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.1128, allocations: 4 kB / 0.4939 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1128, allocations: 7.938 kB / 0.4939 GB, free: 6.059 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 8.69e-05/0.1129, allocations: 129.8 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.113, allocations: 11.81 kB / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.113, allocations: 24.7 kB / 0.4941 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.113, allocations: 3.938 kB / 0.4941 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.113, allocations: 0 / 0.4941 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1131, allocations: 85.02 kB / 0.4941 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1131, allocations: 7.922 kB / 0.4941 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.906e-05/0.1131, allocations: 0 / 0.4941 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.1132, allocations: 7.984 kB / 0.4942 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002173/0.1134, allocations: 176.9 kB / 0.4943 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002319/0.1136, allocations: 282.9 kB / 0.4946 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.946e-05/0.1137, allocations: 23.98 kB / 0.4946 GB, free: 5.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.993e-05/0.1138, allocations: 144.1 kB / 0.4948 GB, free: 5.125 MB / 382.1 MB Notification: Performance of Backend: time 2.91e-07/0.1138, allocations: 0 / 0.4948 GB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.1151, allocations: 493.5 kB / 0.4952 GB, free: 4.691 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005797/0.1157, allocations: 0.6626 MB / 0.4959 GB, free: 3.98 MB / 382.1 MB Notification: Performance of Templates: time 0.004113/0.1198, allocations: 1.77 MB / 0.4976 GB, free: 2.215 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches