Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 110 kB / 18.3 MB, free: 4.84 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.001774/0.001774, allocations: 199.4 kB / 19.23 MB, free: 3.914 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.402/1.402, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2169/0.2169, allocations: 44.19 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 72.36 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1074, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003444/0.1109, allocations: 1.7 MB / 471.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1124, allocations: 0.873 MB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.198e-05/0.1125, allocations: 0 / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.1128, allocations: 55.75 kB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.1131, allocations: 55.69 kB / 472.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.1135, allocations: 107.6 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.1137, allocations: 95.7 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1138, allocations: 16.19 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.253e-05/0.1139, allocations: 39.8 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.003e-05/0.114, allocations: 27.86 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.114, allocations: 8 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.1141, allocations: 39.97 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/0.1142, allocations: 27.86 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.1143, allocations: 31.75 kB / 473 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1145, allocations: 119.9 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1145, allocations: 0 / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1145, allocations: 0 / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1145, allocations: 0 / 473.1 MB, free: 11.16 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.0005652/0.1151, allocations: 414.9 kB / 473.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1151, allocations: 16.03 kB / 473.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.1152, allocations: 8.844 kB / 473.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.1154, allocations: 210.7 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1155, allocations: 4.375 kB / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.1155, allocations: 12.06 kB / 473.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1157, allocations: 53.67 kB / 473.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1157, allocations: 0 / 473.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1157, allocations: 0 / 473.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1157, allocations: 0 / 473.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1158, allocations: 23.98 kB / 473.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.1162, allocations: 284.8 kB / 474.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.1164, allocations: 62.61 kB / 474.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.1165, allocations: 20.84 kB / 474.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1165, allocations: 4 kB / 474.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.1167, allocations: 67.39 kB / 474.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.1167, allocations: 0 / 474.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005621/0.1173, allocations: 177.3 kB / 474.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1173, allocations: 51.41 kB / 474.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.1175, allocations: 203.3 kB / 474.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1176, allocations: 25.7 kB / 474.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.1176, allocations: 108.1 kB / 474.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.1177, allocations: 23.7 kB / 474.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.1177, allocations: 21.72 kB / 474.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1178, allocations: 330.8 kB / 475.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-05/0.1179, allocations: 23.94 kB / 475.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.465e-05/0.118, allocations: 37.64 kB / 475.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.1181, allocations: 65.7 kB / 475.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1181, allocations: 0 / 475.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001837/0.1183, allocations: 93.53 kB / 475.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1183, allocations: 4 kB / 475.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1183, allocations: 4 kB / 475.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1184, allocations: 0 / 475.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1185, allocations: 15.98 kB / 475.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1185, allocations: 3.938 kB / 475.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/0.1185, allocations: 11.94 kB / 475.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1186, allocations: 8.031 kB / 475.5 MB, free: 8.582 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 0.0001027/0.1187, allocations: 125.8 kB / 475.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.1187, allocations: 11.81 kB / 475.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.1187, allocations: 21.39 kB / 475.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1187, allocations: 0 / 475.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1188, allocations: 0 / 475.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1188, allocations: 3.938 kB / 475.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.1192, allocations: 395.3 kB / 476 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1192, allocations: 0 / 476 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.1193, allocations: 8 kB / 476 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1193, allocations: 0 / 476 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.1193, allocations: 15.92 kB / 476 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1193, allocations: 0 / 476 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1193, allocations: 3.984 kB / 476 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.1195, allocations: 208.2 kB / 476.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.1196, allocations: 89.02 kB / 476.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.1196, allocations: 7.938 kB / 476.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.1197, allocations: 3.984 kB / 476.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.1198, allocations: 4 kB / 476.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.1198, allocations: 4 kB / 476.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.1199, allocations: 147.9 kB / 476.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1199, allocations: 4 kB / 476.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000268/0.1202, allocations: 27.98 kB / 476.5 MB, free: 7.418 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.001119/0.1213, allocations: 475.1 kB / 477 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.1215, allocations: 59.92 kB / 477 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1215, allocations: 0 / 477 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.592e-05/0.1216, allocations: 35.92 kB / 477.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.122, allocations: 31.91 kB / 477.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/0.1225, allocations: 264.9 kB / 477.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.1228, allocations: 0.708 MB / 478.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.1229, allocations: 15.44 kB / 478.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1229, allocations: 0 / 478.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of Templates: time 0.004258/0.1272, allocations: 1.923 MB / 480 MB, free: 4.051 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches