Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 108.3 kB / 18.4 MB, free: 4.59 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.001157/0.001157, allocations: 191 kB / 19.34 MB, free: 3.66 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.337/1.337, allocations: 222.9 MB / 243 MB, free: 15.17 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.2013/0.2013, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 66.11 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1067, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002998/0.1097, allocations: 1.709 MB / 472.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1111, allocations: 0.8808 MB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.086e-05/0.1112, allocations: 4 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.1115, allocations: 35.77 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.1117, allocations: 55.7 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.112, allocations: 107 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.1122, allocations: 95.75 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.336e-05/0.1123, allocations: 4.234 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.324e-05/0.1123, allocations: 47.77 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.88e-05/0.1124, allocations: 31.86 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1125, allocations: 4 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.1126, allocations: 43.97 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.1126, allocations: 23.86 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.1127, allocations: 23.81 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1129, allocations: 115.6 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1129, allocations: 0 / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1129, allocations: 0 / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1129, allocations: 0 / 473.9 MB, free: 10.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005235/0.1134, allocations: 403 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1135, allocations: 8.031 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.1135, allocations: 8.844 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.1138, allocations: 212.7 kB / 474.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1138, allocations: 3.938 kB / 474.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1138, allocations: 4 kB / 474.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.114, allocations: 57.66 kB / 474.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.114, allocations: 3.906 kB / 474.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.114, allocations: 0 / 474.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.114, allocations: 7.984 kB / 474.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.102e-05/0.1141, allocations: 16 kB / 474.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.1145, allocations: 284.8 kB / 474.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.1146, allocations: 54.67 kB / 474.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.482e-05/0.1147, allocations: 24.84 kB / 474.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.1147, allocations: 4 kB / 474.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.1149, allocations: 63.39 kB / 475 MB, free: 9.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.935e-06/0.1149, allocations: 0 / 475 MB, free: 9.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005365/0.1154, allocations: 169.2 kB / 475.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.1155, allocations: 59.34 kB / 475.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.1156, allocations: 163.9 kB / 475.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1156, allocations: 29.7 kB / 475.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.1157, allocations: 100 kB / 475.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.1157, allocations: 27.64 kB / 475.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.1158, allocations: 21.72 kB / 475.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1159, allocations: 326.8 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.116, allocations: 19.98 kB / 475.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.437e-05/0.116, allocations: 37.7 kB / 475.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.1162, allocations: 57.7 kB / 476 MB, free: 8.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1162, allocations: 384 / 476 MB, free: 8.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001873/0.1164, allocations: 105.5 kB / 476.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1164, allocations: 4 kB / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1164, allocations: 0 / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1164, allocations: 7.875 kB / 476.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.1165, allocations: 27.92 kB / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1165, allocations: 0 / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.1166, allocations: 4.031 kB / 476.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1166, allocations: 8 kB / 476.2 MB, free: 7.961 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 (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 9.035e-05/0.1167, allocations: 117.8 kB / 476.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.1167, allocations: 11.89 kB / 476.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.1167, allocations: 16.66 kB / 476.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1168, allocations: 0 / 476.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1168, allocations: 0 / 476.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1168, allocations: 4 kB / 476.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.1172, allocations: 395.3 kB / 476.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1172, allocations: 0 / 476.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.1173, allocations: 8 kB / 476.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1173, allocations: 0 / 476.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1173, allocations: 3.984 kB / 476.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1173, allocations: 4 kB / 476.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1173, allocations: 0 / 476.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.1175, allocations: 212.3 kB / 476.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.1176, allocations: 81.02 kB / 477 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.1176, allocations: 4 kB / 477 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.1177, allocations: 3.984 kB / 477 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.1177, allocations: 8 kB / 477 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.1177, allocations: 4 kB / 477 MB, free: 6.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.859e-05/0.1178, allocations: 120.9 kB / 477.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1179, allocations: 4 kB / 477.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1181, allocations: 27.98 kB / 477.2 MB, free: 6.848 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001008/0.1191, allocations: 461.4 kB / 477.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.1193, allocations: 71.91 kB / 477.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1194, allocations: 0 / 477.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/0.1194, allocations: 27.92 kB / 477.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.1198, allocations: 45.25 kB / 477.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.1202, allocations: 194.9 kB / 477.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.1205, allocations: 0.7003 MB / 478.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.22e-05/0.1205, allocations: 17.17 kB / 478.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.449e-05/0.1206, allocations: 15.44 kB / 478.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1206, allocations: 0 / 478.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of Templates: time 0.004353/0.1249, allocations: 1.688 MB / 480.4 MB, free: 3.785 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches