Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 112.7 kB / 17.04 MB, free: 5.812 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.001852/0.001852, allocations: 195 kB / 17.97 MB, free: 5.027 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.403/1.403, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2099/0.2099, allocations: 43.52 MB / 314.7 MB, free: 492 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.001631/0.001632, allocations: 65.75 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0989/0.1005, allocations: 57.78 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002893/0.1035, allocations: 1.55 MB / 443.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005964/0.1041, allocations: 315.5 kB / 443.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/0.1042, allocations: 7.938 kB / 443.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.1045, allocations: 91.75 kB / 443.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.1047, allocations: 67.78 kB / 444 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.105, allocations: 79.77 kB / 444.1 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.1051, allocations: 59.89 kB / 444.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1053, allocations: 11.94 kB / 444.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.129e-05/0.1053, allocations: 43.83 kB / 444.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.908e-05/0.1054, allocations: 47.83 kB / 444.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.1055, allocations: 4 kB / 444.2 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.445e-05/0.1056, allocations: 31.98 kB / 444.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.74e-05/0.1056, allocations: 15.92 kB / 444.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.1057, allocations: 35.73 kB / 444.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.1058, allocations: 87.72 kB / 444.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1058, allocations: 0 / 444.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1058, allocations: 3.938 kB / 444.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1059, allocations: 0 / 444.4 MB, free: 3.699 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000432/0.1063, allocations: 414.9 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1063, allocations: 11.89 kB / 444.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.1064, allocations: 8.844 kB / 444.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.1066, allocations: 202.1 kB / 445 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1066, allocations: 384 / 445 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.1066, allocations: 4.375 kB / 445 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.1068, allocations: 53.8 kB / 445.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1068, allocations: 4 kB / 445.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1068, allocations: 0 / 445.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1068, allocations: 4 kB / 445.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.207e-05/0.1069, allocations: 19.98 kB / 445.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.1072, allocations: 288.8 kB / 445.4 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.1074, allocations: 42.55 kB / 445.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.1074, allocations: 12.86 kB / 445.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.1075, allocations: 4 kB / 445.4 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.1075, allocations: 34.56 kB / 445.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.1075, allocations: 0 / 445.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005/0.108, allocations: 145.3 kB / 445.6 MB, free: 2.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.108, allocations: 51.41 kB / 445.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.1082, allocations: 227.6 kB / 445.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.1082, allocations: 25.7 kB / 445.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.1083, allocations: 112 kB / 446 MB, free: 1.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.1083, allocations: 15.75 kB / 446 MB, free: 1.855 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.1083, allocations: 25.64 kB / 446.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.432e-05/0.1084, allocations: 326.8 kB / 446.4 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.1084, allocations: 19.98 kB / 446.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.722e-05/0.1085, allocations: 19.92 kB / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.683e-05/0.1086, allocations: 44.84 kB / 446.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1086, allocations: 0 / 446.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001459/0.1088, allocations: 77.58 kB / 446.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1088, allocations: 9.234 kB / 446.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1088, allocations: 4 kB / 446.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1088, allocations: 0 / 446.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.582e-05/0.1089, allocations: 11.94 kB / 446.6 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1089, allocations: 4 kB / 446.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.1089, allocations: 12.23 kB / 446.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1089, allocations: 4 kB / 446.6 MB, free: 1.285 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 (5): * Single equations (assignments): 5 * 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.306e-05/0.109, allocations: 133.7 kB / 446.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.109, allocations: 11.81 kB / 446.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.1092, allocations: 94.66 kB / 446.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1093, allocations: 0 / 446.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1093, allocations: 4 kB / 446.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1093, allocations: 0 / 446.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.1096, allocations: 354.4 kB / 447.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1096, allocations: 4 kB / 447.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.1097, allocations: 11.98 kB / 447.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1097, allocations: 0 / 447.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.1097, allocations: 0 / 447.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1097, allocations: 3.938 kB / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1097, allocations: 8 kB / 447.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.1099, allocations: 175.4 kB / 447.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.1099, allocations: 84.92 kB / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1099, allocations: 4 kB / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-05/0.11, allocations: 7.922 kB / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.1101, allocations: 8 kB / 447.5 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.1101, allocations: 4 kB / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.1102, allocations: 172.2 kB / 447.6 MB, free: 128 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1102, allocations: 0 / 447.6 MB, free: 128 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1104, allocations: 16 kB / 447.7 MB, free: 112 kB / 318.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 (5): * Single equations (assignments): 5 * 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.0009215/0.1114, allocations: 412.3 kB / 448.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.1115, allocations: 47.84 kB / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1116, allocations: 4 kB / 448.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.839e-05/0.1116, allocations: 23.98 kB / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.112, allocations: 15.97 kB / 448.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.1124, allocations: 234.8 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.1127, allocations: 0.7039 MB / 449.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.816e-05/0.1128, allocations: 8 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.1128, allocations: 11.44 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1128, allocations: 0 / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of Templates: time 0.003832/0.1167, allocations: 1.147 MB / 450.3 MB, free: 13.56 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches