Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 109.8 kB / 17.33 MB, free: 6.023 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.001108/0.001108, allocations: 193.3 kB / 18.25 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241.9 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.213/0.213, allocations: 44.17 MB / 336.2 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.75 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1029, allocations: 60.83 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003066/0.106, allocations: 1.94 MB / 470.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1075, allocations: 0.9783 MB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.698e-05/0.1076, allocations: 0 / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.108, allocations: 251.4 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.1084, allocations: 167.5 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.1088, allocations: 166.2 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.1091, allocations: 251.3 kB / 472.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1092, allocations: 33.66 kB / 472.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.1093, allocations: 135.4 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.1095, allocations: 183.5 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.1096, allocations: 8 kB / 472.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1097, allocations: 67.95 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.677e-05/0.1098, allocations: 67.7 kB / 472.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.212e-05/0.1099, allocations: 95.28 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.1102, allocations: 239.4 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1102, allocations: 0 / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1102, allocations: 0 / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1102, allocations: 0 / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000697/0.1109, allocations: 0.568 MB / 473.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.111, allocations: 8.031 kB / 473.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.998e-05/0.111, allocations: 32.56 kB / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.1113, allocations: 284 kB / 474.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1113, allocations: 8.375 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.1114, allocations: 8.125 kB / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.1116, allocations: 118 kB / 474.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1116, allocations: 4 kB / 474.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1117, allocations: 3.938 kB / 474.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1117, allocations: 0 / 474.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.1118, allocations: 51.95 kB / 474.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.1123, allocations: 480.7 kB / 474.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.1127, allocations: 125.2 kB / 474.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1129, allocations: 45.83 kB / 475 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1129, allocations: 0 / 475 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/0.1132, allocations: 121.1 kB / 475.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.1132, allocations: 0 / 475.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001322/0.1145, allocations: 0.5006 MB / 475.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.1146, allocations: 89.05 kB / 475.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004538/0.115, allocations: 481.6 kB / 476.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.1151, allocations: 33.7 kB / 476.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1152, allocations: 156.5 kB / 476.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.054e-05/0.1153, allocations: 71 kB / 476.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.1153, allocations: 45.64 kB / 476.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1155, allocations: 350.8 kB / 476.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.1156, allocations: 51.97 kB / 476.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.1158, allocations: 95.34 kB / 476.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.116, allocations: 163.3 kB / 477.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.116, allocations: 0 / 477.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004081/0.1165, allocations: 237.2 kB / 477.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1165, allocations: 11.94 kB / 477.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1165, allocations: 0 / 477.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1165, allocations: 0 / 477.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.1167, allocations: 55.89 kB / 477.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1167, allocations: 4 kB / 477.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.538e-05/0.1168, allocations: 8 kB / 477.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.1168, allocations: 4 kB / 477.4 MB, free: 5.711 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001646/0.117, allocations: 186.3 kB / 477.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.117, allocations: 39.47 kB / 477.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.846e-05/0.1171, allocations: 38.81 kB / 477.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1171, allocations: 7.938 kB / 477.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1171, allocations: 3.938 kB / 477.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.1171, allocations: 4 kB / 477.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009031/0.118, allocations: 0.7272 MB / 478.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1181, allocations: 4 kB / 478.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.385e-05/0.1182, allocations: 31.92 kB / 478.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1182, allocations: 0 / 478.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.1182, allocations: 8 kB / 478.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1182, allocations: 4 kB / 478.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1182, allocations: 0 / 478.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.1187, allocations: 432.4 kB / 478.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.1187, allocations: 104.7 kB / 479 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.1188, allocations: 15.98 kB / 479 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.119, allocations: 8 kB / 479 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.119, allocations: 19.91 kB / 479 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.119, allocations: 16 kB / 479.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003154/0.1194, allocations: 363.1 kB / 479.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1194, allocations: 0 / 479.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003592/0.1197, allocations: 48 kB / 479.5 MB, free: 3.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/0.1209, allocations: 0.5133 MB / 480 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003473/0.1213, allocations: 167.8 kB / 480.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1213, allocations: 0 / 480.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.1215, allocations: 83.84 kB / 480.2 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.122, allocations: 65.3 kB / 480.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008903/0.1229, allocations: 0.6607 MB / 480.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.1233, allocations: 0.7753 MB / 481.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.1234, allocations: 41.91 kB / 481.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.66e-05/0.1235, allocations: 31.42 kB / 481.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1235, allocations: 4 kB / 481.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of Templates: time 0.006558/0.1301, allocations: 3.095 MB / 484.9 MB, free: 14.29 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches