Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 111.3 kB / 17.09 MB, free: 5.992 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.001888/0.001889, allocations: 191.3 kB / 18.02 MB, free: 5.082 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.705/1.705, allocations: 205.1 MB / 223.9 MB, free: 12.28 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.2152/0.2152, allocations: 43.52 MB / 314.8 MB, free: 476 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.001436/0.001436, allocations: 71.91 kB / 442.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1105, allocations: 57.78 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003167/0.1137, allocations: 1.648 MB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.115, allocations: 0.7858 MB / 0.491 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.007e-05/0.1151, allocations: 4 kB / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.1154, allocations: 67.72 kB / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1156, allocations: 67.73 kB / 0.4911 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.1159, allocations: 83.78 kB / 0.4912 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.1161, allocations: 99.67 kB / 0.4913 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.1161, allocations: 7.984 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.418e-05/0.1162, allocations: 47.78 kB / 0.4914 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.181e-05/0.1163, allocations: 47.77 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1163, allocations: 4 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.072e-05/0.1164, allocations: 31.98 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.1165, allocations: 23.91 kB / 0.4915 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.1165, allocations: 31.8 kB / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.1167, allocations: 103.6 kB / 0.4916 GB, free: 8.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1168, allocations: 0 / 0.4916 GB, free: 8.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1168, allocations: 0 / 0.4916 GB, free: 8.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1168, allocations: 0 / 0.4916 GB, free: 8.664 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004984/0.1173, allocations: 402.9 kB / 0.492 GB, free: 8.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1173, allocations: 15.89 kB / 0.492 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.1174, allocations: 12.84 kB / 0.492 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.1177, allocations: 208 kB / 0.4922 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1177, allocations: 8.312 kB / 0.4922 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.1178, allocations: 4.125 kB / 0.4922 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1179, allocations: 49.67 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.1179, allocations: 0 / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.118, allocations: 0 / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.118, allocations: 0 / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.118, allocations: 19.92 kB / 0.4923 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.1183, allocations: 181.7 kB / 0.4924 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.1184, allocations: 46.62 kB / 0.4925 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.1185, allocations: 24.78 kB / 0.4925 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1185, allocations: 4 kB / 0.4925 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.1187, allocations: 71.33 kB / 0.4926 GB, free: 7.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.1187, allocations: 0 / 0.4926 GB, free: 7.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002607/0.1189, allocations: 89.58 kB / 0.4927 GB, free: 7.379 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.119, allocations: 51.41 kB / 0.4927 GB, free: 7.316 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1191, allocations: 186.2 kB / 0.4929 GB, free: 7.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.1192, allocations: 25.7 kB / 0.4929 GB, free: 7.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.1192, allocations: 100.1 kB / 0.493 GB, free: 6.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.1193, allocations: 19.8 kB / 0.493 GB, free: 6.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.1193, allocations: 25.66 kB / 0.4931 GB, free: 6.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1194, allocations: 322.8 kB / 0.4934 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.996e-05/0.1195, allocations: 15.98 kB / 0.4934 GB, free: 6.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.303e-05/0.1196, allocations: 29.69 kB / 0.4934 GB, free: 6.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.544e-05/0.1197, allocations: 45.66 kB / 0.4935 GB, free: 6.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1197, allocations: 4 kB / 0.4935 GB, free: 6.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001555/0.1198, allocations: 85.45 kB / 0.4935 GB, free: 6.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1199, allocations: 4 kB / 0.4935 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1199, allocations: 4 kB / 0.4935 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1199, allocations: 320 / 0.4935 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.12, allocations: 12 kB / 0.4936 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.12, allocations: 0 / 0.4936 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.1201, allocations: 15.84 kB / 0.4936 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1201, allocations: 3.984 kB / 0.4936 GB, free: 6.383 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 (7): * Single equations (assignments): 7 * 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.05e-05/0.1202, allocations: 133.6 kB / 0.4937 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.1202, allocations: 11.84 kB / 0.4937 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.1202, allocations: 16.3 kB / 0.4937 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1203, allocations: 3.938 kB / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1203, allocations: 0 / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.1203, allocations: 85.02 kB / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.1203, allocations: 0 / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.108e-05/0.1204, allocations: 3.984 kB / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.1204, allocations: 11.94 kB / 0.4938 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001851/0.1206, allocations: 156.9 kB / 0.494 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002134/0.1208, allocations: 258.7 kB / 0.4942 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.413e-05/0.1209, allocations: 19.92 kB / 0.4942 GB, free: 5.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.84e-05/0.121, allocations: 148.1 kB / 0.4944 GB, free: 5.5 MB / 382.1 MB Notification: Performance of Backend: time 3.5e-07/0.121, allocations: 0 / 0.4944 GB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.1222, allocations: 418.7 kB / 0.4948 GB, free: 5.133 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006427/0.1229, allocations: 0.6554 MB / 0.4954 GB, free: 4.426 MB / 382.1 MB Notification: Performance of Templates: time 0.004008/0.1269, allocations: 1.494 MB / 0.4969 GB, free: 2.934 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches