Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.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.CombiTable1D.Test11,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.CombiTable1D.Test11") translateModel(ModelicaTest.Tables.CombiTable1D.Test11,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.CombiTable1D.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001126, allocations: 107.4 kB / 16.41 MB, free: 6.488 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.001048/0.001048, allocations: 189.5 kB / 17.34 MB, free: 5.73 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.345/1.345, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2098/0.2098, allocations: 43.52 MB / 314.1 MB, free: 452 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.001313/0.001313, allocations: 73.92 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1149, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test11): time 0.003619/0.1186, allocations: 1.55 MB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006485/0.1192, allocations: 327.5 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.121e-05/0.1193, allocations: 7.938 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.1195, allocations: 27.86 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.1197, allocations: 39.83 kB / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.12, allocations: 95.75 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.1201, allocations: 51.89 kB / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1203, allocations: 19.98 kB / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.816e-05/0.1203, allocations: 23.86 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.886e-05/0.1204, allocations: 15.91 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1204, allocations: 4 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.106e-05/0.1205, allocations: 32 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.925e-05/0.1205, allocations: 19.86 kB / 0.49 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.1206, allocations: 19.81 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1207, allocations: 75.78 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1207, allocations: 0 / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1207, allocations: 4 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1208, allocations: 0 / 0.4901 GB, free: 9.469 MB / 382.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.0004793/0.1212, allocations: 391 kB / 0.4905 GB, free: 9.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1213, allocations: 11.89 kB / 0.4905 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.1213, allocations: 8.844 kB / 0.4905 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.1215, allocations: 191.6 kB / 0.4907 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1216, allocations: 8.312 kB / 0.4907 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.1216, allocations: 4.375 kB / 0.4907 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.1217, allocations: 53.81 kB / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1218, allocations: 0 / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1218, allocations: 3.984 kB / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1218, allocations: 0 / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.7e-05/0.1219, allocations: 23.98 kB / 0.4908 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.1223, allocations: 276.8 kB / 0.4911 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.1225, allocations: 58.48 kB / 0.4911 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.1226, allocations: 12.86 kB / 0.4911 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.1226, allocations: 0 / 0.4911 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1226, allocations: 42.64 kB / 0.4912 GB, free: 8.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1226, allocations: 0 / 0.4912 GB, free: 8.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004972/0.1231, allocations: 153.4 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.1232, allocations: 51.41 kB / 0.4914 GB, free: 8.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1233, allocations: 169.8 kB / 0.4915 GB, free: 7.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.1233, allocations: 25.7 kB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.1234, allocations: 100.1 kB / 0.4917 GB, free: 7.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.1234, allocations: 11.81 kB / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.1234, allocations: 13.72 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.061e-05/0.1235, allocations: 326.8 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.895e-05/0.1236, allocations: 23.98 kB / 0.492 GB, free: 7.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.856e-05/0.1237, allocations: 31.84 kB / 0.492 GB, free: 7.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.1238, allocations: 56.77 kB / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1238, allocations: 0 / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001628/0.124, allocations: 81.58 kB / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.124, allocations: 4 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.124, allocations: 4 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.124, allocations: 4 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.603e-05/0.1241, allocations: 11.98 kB / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1241, allocations: 3.984 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.716e-05/0.1241, allocations: 7.984 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.1241, allocations: 0 / 0.4922 GB, free: 7.125 MB / 382.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 8.28e-05/0.1242, allocations: 133.7 kB / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.1243, allocations: 7.906 kB / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.1245, allocations: 102 kB / 0.4924 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1245, allocations: 0 / 0.4924 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1245, allocations: 320 / 0.4924 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1245, allocations: 0 / 0.4924 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.1249, allocations: 362.3 kB / 0.4928 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1249, allocations: 4 kB / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.887e-05/0.125, allocations: 8 kB / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.125, allocations: 4 kB / 0.4928 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.125, allocations: 3.984 kB / 0.4928 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.125, allocations: 3.938 kB / 0.4928 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.125, allocations: 4 kB / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.1252, allocations: 171.4 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.1253, allocations: 89.03 kB / 0.4931 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.1253, allocations: 4 kB / 0.4931 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.237e-05/0.1253, allocations: 11.94 kB / 0.4931 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.1254, allocations: 3.984 kB / 0.4931 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.1254, allocations: 4 kB / 0.4931 GB, free: 6.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.15e-05/0.1255, allocations: 130.7 kB / 0.4932 GB, free: 5.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1255, allocations: 0 / 0.4932 GB, free: 5.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.1257, allocations: 12 kB / 0.4932 GB, free: 5.98 MB / 382.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.0008174/0.1265, allocations: 413 kB / 0.4936 GB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1267, allocations: 51.97 kB / 0.4937 GB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1267, allocations: 0 / 0.4937 GB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.1268, allocations: 31.91 kB / 0.4937 GB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.1271, allocations: 15.86 kB / 0.4937 GB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.1275, allocations: 190 kB / 0.4939 GB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.1277, allocations: 0.7002 MB / 0.4946 GB, free: 4.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.368e-05/0.1278, allocations: 11.98 kB / 0.4946 GB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.1278, allocations: 11.44 kB / 0.4946 GB, free: 4.555 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1278, allocations: 0 / 0.4946 GB, free: 4.555 MB / 382.1 MB Notification: Performance of Templates: time 0.003173/0.131, allocations: 1.12 MB / 0.4957 GB, free: 3.434 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches