Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 111.5 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.00121/0.001211, allocations: 198.1 kB / 18.02 MB, free: 5.043 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.38/1.38, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2459/0.2459, allocations: 43.53 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.001516/0.001516, allocations: 77.61 kB / 442.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1087, allocations: 57.78 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002946/0.1117, allocations: 1.655 MB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.113, allocations: 0.7897 MB / 0.491 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.399e-05/0.1131, allocations: 0 / 0.491 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.1134, allocations: 51.8 kB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.1137, allocations: 59.7 kB / 0.4911 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.1139, allocations: 91.75 kB / 0.4912 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.1141, allocations: 87.7 kB / 0.4913 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.858e-05/0.1142, allocations: 11.98 kB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.49e-05/0.1143, allocations: 39.77 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.059e-05/0.1144, allocations: 27.86 kB / 0.4914 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1144, allocations: 4 kB / 0.4914 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-05/0.1145, allocations: 31.98 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.1145, allocations: 27.91 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.1146, allocations: 39.62 kB / 0.4915 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.1148, allocations: 119.6 kB / 0.4916 GB, free: 8.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1148, allocations: 0 / 0.4916 GB, free: 8.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1148, allocations: 0 / 0.4916 GB, free: 8.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1148, allocations: 0 / 0.4916 GB, free: 8.668 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.0005039/0.1153, allocations: 430.7 kB / 0.492 GB, free: 8.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1154, allocations: 15.89 kB / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.1154, allocations: 12.84 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.1157, allocations: 223.7 kB / 0.4922 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1157, allocations: 384 / 0.4922 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1158, allocations: 4.125 kB / 0.4922 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1159, allocations: 53.61 kB / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1159, allocations: 0 / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1159, allocations: 0 / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.116, allocations: 3.984 kB / 0.4923 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.69e-05/0.116, allocations: 15.98 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.1162, allocations: 193.7 kB / 0.4925 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.1164, allocations: 50.62 kB / 0.4925 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.649e-05/0.1165, allocations: 28.72 kB / 0.4926 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1165, allocations: 0 / 0.4926 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.1167, allocations: 71.3 kB / 0.4926 GB, free: 7.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.1167, allocations: 0 / 0.4926 GB, free: 7.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002936/0.117, allocations: 97.58 kB / 0.4927 GB, free: 7.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.117, allocations: 55.34 kB / 0.4928 GB, free: 7.254 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.1173, allocations: 262.5 kB / 0.493 GB, free: 6.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1173, allocations: 25.7 kB / 0.493 GB, free: 6.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.1174, allocations: 112.1 kB / 0.4932 GB, free: 6.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.1174, allocations: 19.75 kB / 0.4932 GB, free: 6.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.1175, allocations: 29.64 kB / 0.4932 GB, free: 6.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1176, allocations: 322.8 kB / 0.4935 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.02e-05/0.1177, allocations: 16 kB / 0.4935 GB, free: 6.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/0.1177, allocations: 29.7 kB / 0.4936 GB, free: 6.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.565e-05/0.1178, allocations: 41.7 kB / 0.4936 GB, free: 6.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1178, allocations: 0 / 0.4936 GB, free: 6.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001639/0.118, allocations: 93.38 kB / 0.4937 GB, free: 6.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.118, allocations: 4 kB / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.118, allocations: 0 / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1181, allocations: 4 kB / 0.4937 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.1181, allocations: 11.98 kB / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1182, allocations: 0 / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.1182, allocations: 4 kB / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1182, allocations: 0 / 0.4937 GB, free: 6.238 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 0.0001062/0.1183, allocations: 145.7 kB / 0.4938 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.1184, allocations: 15.75 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.1184, allocations: 20.98 kB / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1184, allocations: 0 / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1184, allocations: 0 / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.1185, allocations: 85.02 kB / 0.494 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.1185, allocations: 4 kB / 0.494 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.11e-05/0.1185, allocations: 3.984 kB / 0.494 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.1186, allocations: 4 kB / 0.494 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001723/0.1188, allocations: 157.3 kB / 0.4941 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002194/0.119, allocations: 270.6 kB / 0.4944 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.053e-05/0.1191, allocations: 19.98 kB / 0.4944 GB, free: 5.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.1192, allocations: 192.5 kB / 0.4946 GB, free: 5.285 MB / 382.1 MB Notification: Performance of Backend: time 5.11e-07/0.1192, allocations: 0 / 0.4946 GB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.1205, allocations: 431.7 kB / 0.495 GB, free: 4.895 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006762/0.1211, allocations: 0.7145 MB / 0.4957 GB, free: 4.129 MB / 382.1 MB Notification: Performance of Templates: time 0.00422/0.1254, allocations: 1.552 MB / 0.4972 GB, free: 2.578 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches