Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001206, allocations: 110.1 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.001114/0.001115, allocations: 199.3 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.368/1.368, 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.2036/0.2036, allocations: 44.19 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 61.25 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1014, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.00289/0.1044, allocations: 1.699 MB / 471.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1063, allocations: 1.483 MB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.1064, allocations: 4 kB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.1066, allocations: 31.77 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.1069, allocations: 63.64 kB / 473.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.1072, allocations: 110.6 kB / 473.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.1073, allocations: 103.7 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.308e-05/0.1074, allocations: 8.234 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.84e-05/0.1075, allocations: 43.73 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1077, allocations: 39.83 kB / 473.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1077, allocations: 4 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.1078, allocations: 55.98 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.704e-05/0.1079, allocations: 23.91 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.686e-05/0.1079, allocations: 31.8 kB / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.1081, allocations: 120 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1081, allocations: 3.938 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1081, allocations: 0 / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1082, allocations: 0 / 473.7 MB, free: 10.54 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.0005158/0.1087, allocations: 403.1 kB / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1087, allocations: 12.03 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.1088, allocations: 8.844 kB / 474.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.109, allocations: 208.1 kB / 474.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.109, allocations: 4.375 kB / 474.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1091, allocations: 8.125 kB / 474.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1092, allocations: 71.33 kB / 474.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1093, allocations: 3.984 kB / 474.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1093, allocations: 0 / 474.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.1093, allocations: 0 / 474.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.065e-05/0.1094, allocations: 19.98 kB / 474.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.1097, allocations: 280.9 kB / 474.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.1099, allocations: 62.61 kB / 474.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/0.11, allocations: 16.86 kB / 474.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.11, allocations: 7.938 kB / 474.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.1102, allocations: 71.38 kB / 474.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1102, allocations: 0 / 474.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000536/0.1107, allocations: 169.3 kB / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.1108, allocations: 77.11 kB / 475.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.111, allocations: 156.4 kB / 475.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.111, allocations: 25.7 kB / 475.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.111, allocations: 96.12 kB / 475.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.1111, allocations: 27.7 kB / 475.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.1111, allocations: 25.7 kB / 475.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1112, allocations: 326.8 kB / 475.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.749e-05/0.1113, allocations: 20.17 kB / 475.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.1114, allocations: 50.44 kB / 475.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1115, allocations: 65.73 kB / 475.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1115, allocations: 0 / 475.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001833/0.1117, allocations: 97.59 kB / 476 MB, free: 8.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1117, allocations: 4 kB / 476 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.1117, allocations: 0 / 476 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1117, allocations: 7.984 kB / 476 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.1118, allocations: 16 kB / 476 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1118, allocations: 0 / 476 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.1119, allocations: 11.88 kB / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1119, allocations: 32 / 476 MB, free: 7.988 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.851e-05/0.112, allocations: 129.8 kB / 476.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.112, allocations: 7.906 kB / 476.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.1121, allocations: 12.72 kB / 476.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1121, allocations: 0 / 476.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1121, allocations: 4 kB / 476.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1121, allocations: 7.922 kB / 476.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.1125, allocations: 391.3 kB / 476.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1126, allocations: 0 / 476.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.1126, allocations: 8 kB / 476.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1126, allocations: 0 / 476.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1126, allocations: 7.922 kB / 476.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1126, allocations: 4 kB / 476.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1126, allocations: 0 / 476.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.1129, allocations: 208.2 kB / 476.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.1129, allocations: 84.95 kB / 476.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.1129, allocations: 11.94 kB / 476.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.113, allocations: 0 / 476.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.113, allocations: 7.984 kB / 476.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.1131, allocations: 4 kB / 476.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.469e-05/0.1132, allocations: 115.2 kB / 477 MB, free: 6.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1132, allocations: 0 / 477 MB, free: 6.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1134, allocations: 35.98 kB / 477.1 MB, free: 6.859 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.001086/0.1145, allocations: 0.5009 MB / 477.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.1147, allocations: 63.84 kB / 477.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1148, allocations: 4 kB / 477.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.628e-05/0.1148, allocations: 23.94 kB / 477.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1152, allocations: 31.62 kB / 477.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.1156, allocations: 228.7 kB / 477.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.1159, allocations: 0.6934 MB / 478.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.116, allocations: 23.36 kB / 478.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.116, allocations: 4 kB / 478.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of Templates: time 0.003655/0.1196, allocations: 2.043 MB / 480.7 MB, free: 3.398 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches