Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001195, allocations: 106.4 kB / 16.93 MB, free: 5.676 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.001366/0.001365, allocations: 186.4 kB / 17.86 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2182/0.2182, allocations: 43.51 MB / 314.6 MB, free: 0.543 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 70.33 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09458/0.09627, allocations: 57.79 MB / 441.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002725/0.09904, allocations: 1.691 MB / 442.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1001, allocations: 0.7922 MB / 443.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.473e-05/0.1001, allocations: 3.938 kB / 443.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.1004, allocations: 43.83 kB / 443.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.1006, allocations: 55.7 kB / 443.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.1009, allocations: 79.77 kB / 443.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.101, allocations: 99.69 kB / 444 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.1011, allocations: 4.516 kB / 444 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.716e-05/0.1012, allocations: 39.8 kB / 444 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.108e-05/0.1013, allocations: 31.84 kB / 444 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1013, allocations: 4 kB / 444 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.711e-05/0.1014, allocations: 43.98 kB / 444.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.1015, allocations: 23.86 kB / 444.1 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.1015, allocations: 35.78 kB / 444.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.1017, allocations: 107.7 kB / 444.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1017, allocations: 0 / 444.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1017, allocations: 0 / 444.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1017, allocations: 0 / 444.2 MB, free: 3.848 MB / 318.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.000475/0.1022, allocations: 411 kB / 444.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1022, allocations: 11.89 kB / 444.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.1023, allocations: 16.75 kB / 444.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.1025, allocations: 214.1 kB / 444.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1025, allocations: 384 / 444.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.1025, allocations: 8.125 kB / 444.9 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.1026, allocations: 53.67 kB / 444.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1027, allocations: 0 / 444.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1027, allocations: 0 / 444.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1027, allocations: 0 / 444.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/0.1028, allocations: 19.98 kB / 445 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002812/0.1031, allocations: 284.9 kB / 445.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.1032, allocations: 66.55 kB / 445.3 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.746e-05/0.1033, allocations: 20.86 kB / 445.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1033, allocations: 0 / 445.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.1035, allocations: 75.38 kB / 445.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1035, allocations: 0 / 445.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004869/0.104, allocations: 173.2 kB / 445.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.104, allocations: 51.41 kB / 445.6 MB, free: 2.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.1041, allocations: 174.1 kB / 445.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.1041, allocations: 33.7 kB / 445.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.1042, allocations: 96.14 kB / 445.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.1042, allocations: 31.64 kB / 445.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.1043, allocations: 21.66 kB / 446 MB, free: 1.914 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.67e-05/0.1043, allocations: 326.8 kB / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-05/0.1044, allocations: 23.98 kB / 446.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.238e-05/0.1044, allocations: 33.7 kB / 446.3 MB, free: 1.523 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.325e-05/0.1045, allocations: 57.7 kB / 446.4 MB, free: 1.461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1045, allocations: 4 kB / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000149/0.1047, allocations: 97.53 kB / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1047, allocations: 4 kB / 446.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1047, allocations: 7.938 kB / 446.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1047, allocations: 0 / 446.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.062e-05/0.1048, allocations: 15.98 kB / 446.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1048, allocations: 3.938 kB / 446.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.1049, allocations: 7.938 kB / 446.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1049, allocations: 4 kB / 446.5 MB, free: 1.312 MB / 318.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 6.488e-05/0.105, allocations: 137.8 kB / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.105, allocations: 11.81 kB / 446.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.105, allocations: 12.72 kB / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.105, allocations: 0 / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.105, allocations: 0 / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1051, allocations: 7.938 kB / 446.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.1054, allocations: 391.3 kB / 447.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1054, allocations: 3.984 kB / 447.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.1054, allocations: 8 kB / 447.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1054, allocations: 0 / 447.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1054, allocations: 7.938 kB / 447.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1054, allocations: 0.5625 kB / 447.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1054, allocations: 0 / 447.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.1056, allocations: 212.2 kB / 447.3 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.1056, allocations: 93 kB / 447.4 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.1057, allocations: 3.938 kB / 447.4 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.1057, allocations: 4 kB / 447.4 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.1058, allocations: 7.984 kB / 447.4 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.1058, allocations: 4 kB / 447.4 MB, free: 320 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.213e-05/0.1059, allocations: 127.2 kB / 447.6 MB, free: 192 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1059, allocations: 0 / 447.6 MB, free: 192 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1062, allocations: 24 kB / 447.6 MB, free: 168 kB / 318.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.001033/0.1072, allocations: 481.2 kB / 448 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.1074, allocations: 59.92 kB / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1074, allocations: 4.062 kB / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.126e-05/0.1075, allocations: 27.92 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1078, allocations: 27.97 kB / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.1083, allocations: 244.7 kB / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.1086, allocations: 0.7002 MB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.1086, allocations: 15.44 kB / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1087, allocations: 0 / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of Templates: time 0.003597/0.1123, allocations: 1.884 MB / 451 MB, free: 12.77 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches