Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 113.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.001226/0.001227, allocations: 195 kB / 17.98 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.359/1.359, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2046/0.2046, allocations: 43.51 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.001528/0.001528, allocations: 68.52 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09864/0.1002, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.00249/0.1027, allocations: 1.54 MB / 443.5 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1038, allocations: 0.9378 MB / 444.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.363e-05/0.1039, allocations: 0 / 444.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.1041, allocations: 27.84 kB / 444.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.1043, allocations: 35.8 kB / 444.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.1045, allocations: 79.77 kB / 444.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.1046, allocations: 55.84 kB / 444.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.1047, allocations: 7.938 kB / 444.7 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.815e-05/0.1047, allocations: 27.91 kB / 444.7 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1049, allocations: 27.8 kB / 444.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1049, allocations: 4 kB / 444.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.089e-05/0.105, allocations: 51.95 kB / 444.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.105, allocations: 8 kB / 444.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.1051, allocations: 27.86 kB / 444.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.1052, allocations: 87.77 kB / 444.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1052, allocations: 0 / 444.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1052, allocations: 0 / 444.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1052, allocations: 0 / 444.9 MB, free: 3.238 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.0003415/0.1056, allocations: 383.1 kB / 445.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1056, allocations: 11.89 kB / 445.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.1057, allocations: 8.938 kB / 445.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.1058, allocations: 187.8 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1059, allocations: 16.36 kB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1059, allocations: 4.375 kB / 445.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.106, allocations: 63.52 kB / 445.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.106, allocations: 0 / 445.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.106, allocations: 4 kB / 445.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.106, allocations: 0 / 445.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.612e-05/0.1061, allocations: 23.92 kB / 445.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.1064, allocations: 276.9 kB / 445.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.1066, allocations: 38.56 kB / 445.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.1066, allocations: 8.859 kB / 445.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1066, allocations: 4.094 kB / 445.9 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.1067, allocations: 42.48 kB / 445.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1067, allocations: 4 kB / 445.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004435/0.1071, allocations: 133.3 kB / 446.1 MB, free: 1.883 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.1072, allocations: 81.11 kB / 446.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/0.1073, allocations: 129.8 kB / 446.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.1073, allocations: 25.7 kB / 446.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.1073, allocations: 96.05 kB / 446.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.1074, allocations: 15.81 kB / 446.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.1074, allocations: 25.64 kB / 446.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.199e-05/0.1074, allocations: 318.8 kB / 446.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.643e-05/0.1075, allocations: 15.98 kB / 446.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.485e-05/0.1076, allocations: 33.69 kB / 446.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.682e-05/0.1077, allocations: 48.88 kB / 446.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1077, allocations: 3.938 kB / 446.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001407/0.1078, allocations: 77.52 kB / 446.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1078, allocations: 13.23 kB / 446.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.1079, allocations: 0 / 446.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1079, allocations: 0 / 446.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.414e-05/0.1079, allocations: 8 kB / 446.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1079, allocations: 256 / 446.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.715e-05/0.108, allocations: 7.984 kB / 446.9 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.108, allocations: 16 kB / 447 MB, free: 0.918 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 4.98e-05/0.1081, allocations: 117.7 kB / 447.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.1081, allocations: 4 kB / 447.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.1083, allocations: 93.47 kB / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1083, allocations: 0 / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1083, allocations: 0 / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1083, allocations: 0 / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.1086, allocations: 350.5 kB / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1086, allocations: 0 / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.73e-05/0.1087, allocations: 15.98 kB / 447.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1087, allocations: 0 / 447.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1087, allocations: 4 kB / 447.5 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1087, allocations: 7.875 kB / 447.5 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1087, allocations: 0 / 447.5 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.1088, allocations: 175.4 kB / 447.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.1089, allocations: 77.11 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.1089, allocations: 3.984 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.706e-05/0.109, allocations: 8.219 kB / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.109, allocations: 4 kB / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.1091, allocations: 3.984 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.353e-05/0.1091, allocations: 103.3 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1091, allocations: 4 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1094, allocations: 27.94 kB / 447.9 MB, free: 15.83 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 (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.001025/0.1104, allocations: 448.9 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.1107, allocations: 55.91 kB / 448.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1107, allocations: 0 / 448.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.934e-05/0.1108, allocations: 31.91 kB / 448.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.1111, allocations: 12 kB / 448.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/0.1114, allocations: 153.4 kB / 448.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.1117, allocations: 0.6904 MB / 449.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.502e-05/0.1118, allocations: 11.98 kB / 449.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.1118, allocations: 19.44 kB / 449.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1118, allocations: 0 / 449.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of Templates: time 0.004116/0.116, allocations: 1.349 MB / 450.7 MB, free: 13.11 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches