Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.0009483/0.0009484, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.383/1.383, allocations: 222.9 MB / 243 MB, free: 15.09 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.212/0.212, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 66.53 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1069, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002963/0.1099, allocations: 1.655 MB / 472.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1114, allocations: 0.8574 MB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.605e-05/0.1115, allocations: 3.938 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.1118, allocations: 87.75 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.1121, allocations: 67.73 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.1123, allocations: 111.4 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.1125, allocations: 103.7 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.534e-05/0.1126, allocations: 11.98 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.372e-05/0.1127, allocations: 51.83 kB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.1128, allocations: 51.77 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1128, allocations: 4 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-05/0.1129, allocations: 27.98 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.306e-05/0.113, allocations: 27.86 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.113, allocations: 31.8 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.1132, allocations: 107.6 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1132, allocations: 4 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1132, allocations: 0 / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1133, allocations: 0 / 473.9 MB, free: 10.44 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004462/0.1137, allocations: 414.9 kB / 474.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.1137, allocations: 8.031 kB / 474.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.1138, allocations: 8.844 kB / 474.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.114, allocations: 215.9 kB / 474.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.114, allocations: 384 / 474.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.1141, allocations: 8.125 kB / 474.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.1142, allocations: 53.67 kB / 474.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.1142, allocations: 0 / 474.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.1142, allocations: 0 / 474.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.1142, allocations: 11.94 kB / 474.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.043e-05/0.1143, allocations: 15.98 kB / 474.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.1145, allocations: 177.7 kB / 474.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.1146, allocations: 54.56 kB / 474.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.1147, allocations: 24.78 kB / 474.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.1147, allocations: 4 kB / 474.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.1148, allocations: 63.39 kB / 474.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1148, allocations: 0 / 474.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002618/0.1151, allocations: 93.52 kB / 475 MB, free: 9.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.1151, allocations: 63.34 kB / 475.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.1153, allocations: 211.5 kB / 475.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1154, allocations: 25.7 kB / 475.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.1154, allocations: 104.1 kB / 475.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.1155, allocations: 15.81 kB / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.1155, allocations: 17.72 kB / 475.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1157, allocations: 322.8 kB / 475.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-05/0.1157, allocations: 15.98 kB / 475.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.537e-05/0.1158, allocations: 33.7 kB / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.916e-05/0.1159, allocations: 37.72 kB / 475.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1159, allocations: 3.938 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001836/0.1161, allocations: 85.52 kB / 475.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1161, allocations: 4 kB / 475.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1161, allocations: 0 / 475.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1161, allocations: 32 / 475.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.763e-05/0.1162, allocations: 19.94 kB / 476 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.1162, allocations: 0 / 476 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.1163, allocations: 15.84 kB / 476 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-06/0.1163, allocations: 0 / 476 MB, free: 8.117 MB / 350.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.0001029/0.1164, allocations: 129.8 kB / 476.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.1164, allocations: 7.906 kB / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.1165, allocations: 16.98 kB / 476.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1165, allocations: 8.297 kB / 476.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1165, allocations: 4 kB / 476.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1165, allocations: 0 / 476.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.1166, allocations: 189.6 kB / 476.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1166, allocations: 3.984 kB / 476.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.1167, allocations: 4 kB / 476.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1167, allocations: 0 / 476.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1167, allocations: 0 / 476.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1167, allocations: 0 / 476.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1167, allocations: 4 kB / 476.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.1169, allocations: 120.8 kB / 476.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.1169, allocations: 84.95 kB / 476.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.117, allocations: 4 kB / 476.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.546e-05/0.117, allocations: 0 / 476.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.117, allocations: 15.92 kB / 476.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1171, allocations: 0 / 476.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.1172, allocations: 160.2 kB / 476.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1172, allocations: 0 / 476.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002088/0.1174, allocations: 20 kB / 476.7 MB, free: 7.266 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008494/0.1183, allocations: 410.4 kB / 477.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.1184, allocations: 39.92 kB / 477.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1184, allocations: 3.938 kB / 477.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.744e-05/0.1185, allocations: 20 kB / 477.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.1187, allocations: 27.91 kB / 477.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.1191, allocations: 222.1 kB / 477.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1194, allocations: 0.7041 MB / 478.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.27e-05/0.1194, allocations: 12.55 kB / 478.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.1195, allocations: 19.42 kB / 478.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1195, allocations: 0 / 478.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of Templates: time 0.003708/0.1232, allocations: 1.481 MB / 479.7 MB, free: 4.461 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches