Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 109.3 kB / 17.03 MB, free: 6.102 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.001767/0.001767, allocations: 194.9 kB / 17.96 MB, free: 5.195 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.544/1.544, allocations: 205.1 MB / 223.8 MB, free: 12.24 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.2035/0.2035, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 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.001591/0.001591, allocations: 71.66 kB / 384.2 MB, free: 56.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09889/0.1005, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003127/0.1037, allocations: 1.57 MB / 443.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1049, allocations: 0.9301 MB / 444.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.105, allocations: 3.938 kB / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.1052, allocations: 23.86 kB / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.1055, allocations: 39.78 kB / 444.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.1057, allocations: 67.84 kB / 444.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.1059, allocations: 71.88 kB / 444.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.106, allocations: 20.11 kB / 444.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.2e-05/0.106, allocations: 23.81 kB / 444.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.1062, allocations: 39.83 kB / 444.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1062, allocations: 4 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1063, allocations: 47.92 kB / 444.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.1064, allocations: 15.97 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.1064, allocations: 27.81 kB / 444.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.1066, allocations: 103.8 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1067, allocations: 0 / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1067, allocations: 0 / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1067, allocations: 3.938 kB / 444.9 MB, free: 3.148 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000471/0.1072, allocations: 387.1 kB / 445.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.1072, allocations: 11.89 kB / 445.3 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.1073, allocations: 8.844 kB / 445.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.1074, allocations: 188.2 kB / 445.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.1075, allocations: 12.38 kB / 445.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.1075, allocations: 4.375 kB / 445.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1077, allocations: 79.27 kB / 445.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1077, allocations: 0 / 445.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1077, allocations: 0 / 445.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1077, allocations: 0 / 445.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1078, allocations: 35.97 kB / 445.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.1082, allocations: 300.7 kB / 445.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.1083, allocations: 50.5 kB / 446 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/0.1084, allocations: 20.97 kB / 446 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.1084, allocations: 0 / 446 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.1084, allocations: 38.56 kB / 446.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.1084, allocations: 4 kB / 446.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006258/0.1091, allocations: 169.3 kB / 446.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.1091, allocations: 81.11 kB / 446.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1092, allocations: 137.8 kB / 446.4 MB, free: 1.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1093, allocations: 25.7 kB / 446.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.1093, allocations: 100 kB / 446.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.1093, allocations: 35.67 kB / 446.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.1094, allocations: 17.72 kB / 446.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.599e-05/0.1094, allocations: 322.8 kB / 446.9 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.288e-05/0.1095, allocations: 19.98 kB / 446.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.846e-05/0.1096, allocations: 41.69 kB / 447 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1097, allocations: 65.03 kB / 447.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1097, allocations: 0 / 447.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001794/0.1099, allocations: 97.56 kB / 447.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1099, allocations: 8 kB / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.11, allocations: 0 / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.11, allocations: 0 / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1101, allocations: 19.98 kB / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1101, allocations: 0 / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.1102, allocations: 11.88 kB / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.1102, allocations: 11.98 kB / 447.2 MB, free: 0.6484 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.8e-05/0.1102, allocations: 121.7 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.1103, allocations: 7.906 kB / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.1105, allocations: 117.9 kB / 447.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1105, allocations: 0 / 447.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1105, allocations: 384 / 447.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1106, allocations: 7.938 kB / 447.4 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.111, allocations: 378.5 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.111, allocations: 4 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.659e-05/0.111, allocations: 15.98 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1111, allocations: 3.938 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1111, allocations: 4 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1111, allocations: 4 kB / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1111, allocations: 0 / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1113, allocations: 199.3 kB / 448 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.1114, allocations: 85.02 kB / 448.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.1114, allocations: 7.922 kB / 448.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.977e-05/0.1115, allocations: 7.938 kB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.1115, allocations: 11.98 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1116, allocations: 0 / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.061e-05/0.1116, allocations: 110.6 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1116, allocations: 4 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1119, allocations: 27.98 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001008/0.1129, allocations: 443.9 kB / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.1132, allocations: 67.91 kB / 448.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1132, allocations: 0 / 448.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.1133, allocations: 27.98 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.1137, allocations: 19.92 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.1141, allocations: 182 kB / 449 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.1145, allocations: 0.6962 MB / 449.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.708e-05/0.1146, allocations: 16.66 kB / 449.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.1146, allocations: 23.38 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1146, allocations: 0 / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of Templates: time 0.004573/0.1192, allocations: 1.434 MB / 451.2 MB, free: 12.59 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches