Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009885/0.0009885, allocations: 89.89 kB / 18 MB, free: 5.613 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.0009514/0.0009514, allocations: 169.1 kB / 18.9 MB, free: 4.746 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.321/1.321, allocations: 223.3 MB / 243 MB, free: 14.19 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.1957/0.1957, allocations: 44.25 MB / 338.3 MB, free: 2.391 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003046, allocations: 12 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1123, allocations: 61.93 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002163/0.1145, allocations: 1.413 MB / 474.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.116, allocations: 0.8499 MB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.058e-05/0.1161, allocations: 0 / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.1164, allocations: 51.8 kB / 475.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.1166, allocations: 51.77 kB / 475.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.117, allocations: 95.83 kB / 475.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.1172, allocations: 91.75 kB / 475.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.768e-05/0.1173, allocations: 16.22 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.523e-05/0.1174, allocations: 43.72 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.434e-05/0.1174, allocations: 27.8 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.1175, allocations: 4 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1176, allocations: 43.97 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.1177, allocations: 31.86 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.1177, allocations: 69.31 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.1179, allocations: 96.08 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1179, allocations: 0 / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1179, allocations: 0 / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1179, allocations: 0 / 475.8 MB, free: 10.4 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.0005139/0.1185, allocations: 414.9 kB / 476.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1185, allocations: 12.03 kB / 476.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.1186, allocations: 8.844 kB / 476.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.1188, allocations: 227.9 kB / 476.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1188, allocations: 384 / 476.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.1189, allocations: 8.125 kB / 476.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.119, allocations: 57.61 kB / 476.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.119, allocations: 3.906 kB / 476.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.119, allocations: 0 / 476.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1191, allocations: 0 / 476.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.792e-05/0.1191, allocations: 19.98 kB / 476.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.1195, allocations: 296.9 kB / 476.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.1197, allocations: 58.62 kB / 476.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.1198, allocations: 20.84 kB / 476.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1198, allocations: 4 kB / 476.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.12, allocations: 75.39 kB / 477 MB, free: 9.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.12, allocations: 0 / 477 MB, free: 9.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005652/0.1206, allocations: 189 kB / 477.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.1206, allocations: 51.41 kB / 477.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.1209, allocations: 262.9 kB / 477.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1209, allocations: 33.7 kB / 477.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.121, allocations: 112 kB / 477.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.121, allocations: 15.81 kB / 477.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.121, allocations: 21.7 kB / 477.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1212, allocations: 330.8 kB / 478 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.882e-05/0.1212, allocations: 23.98 kB / 478 MB, free: 7.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.1213, allocations: 37.64 kB / 478 MB, free: 7.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1214, allocations: 53.91 kB / 478.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1214, allocations: 0 / 478.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001923/0.1217, allocations: 117.4 kB / 478.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1217, allocations: 4 kB / 478.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.1217, allocations: 0 / 478.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1217, allocations: 0 / 478.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1218, allocations: 16 kB / 478.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1218, allocations: 3.984 kB / 478.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.463e-05/0.1219, allocations: 3.938 kB / 478.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.1219, allocations: 4 kB / 478.2 MB, free: 7.727 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.0001271/0.122, allocations: 148.8 kB / 478.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.1221, allocations: 19.75 kB / 478.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.1221, allocations: 25.39 kB / 478.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1221, allocations: 0 / 478.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1221, allocations: 0 / 478.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1221, allocations: 3.938 kB / 478.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.1226, allocations: 399.2 kB / 478.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.1226, allocations: 3.984 kB / 478.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.1227, allocations: 12.03 kB / 478.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1227, allocations: 0 / 478.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1227, allocations: 11.94 kB / 478.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1227, allocations: 0 / 478.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1227, allocations: 0 / 478.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.123, allocations: 204.2 kB / 479 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.123, allocations: 96.91 kB / 479.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1231, allocations: 7.938 kB / 479.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.1232, allocations: 4 kB / 479.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.1232, allocations: 7.984 kB / 479.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1232, allocations: 8.375 kB / 479.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.1234, allocations: 192.2 kB / 479.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1234, allocations: 0 / 479.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1237, allocations: 31.98 kB / 479.4 MB, free: 6.473 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.0011/0.1248, allocations: 474.2 kB / 479.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.125, allocations: 55.92 kB / 479.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.125, allocations: 0 / 479.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.248e-05/0.1251, allocations: 32.11 kB / 479.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.1254, allocations: 31.97 kB / 480 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005499/0.126, allocations: 344.5 kB / 480.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.1263, allocations: 0.7121 MB / 481 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.1264, allocations: 15.44 kB / 481 MB, free: 4.941 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1264, allocations: 4 kB / 481 MB, free: 4.938 MB / 350.1 MB Notification: Performance of Templates: time 0.003887/0.1303, allocations: 2.02 MB / 483.1 MB, free: 2.926 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches