Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 112.6 kB / 16.41 MB, free: 6.492 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.001044/0.001044, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.472/1.472, allocations: 205.1 MB / 223.2 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.1997/0.1997, allocations: 43.52 MB / 314.1 MB, free: 460 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.001634/0.001634, allocations: 71.91 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1153, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002865/0.1182, allocations: 1.546 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006517/0.1189, allocations: 327.4 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.697e-05/0.119, allocations: 0 / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.1192, allocations: 23.84 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.1195, allocations: 43.78 kB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.1198, allocations: 63.84 kB / 0.4898 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.12, allocations: 51.89 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1201, allocations: 27.91 kB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.203e-05/0.1201, allocations: 19.88 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.1202, allocations: 15.92 kB / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1202, allocations: 4 kB / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.618e-05/0.1203, allocations: 31.97 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.1204, allocations: 15.94 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.1204, allocations: 23.8 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.1206, allocations: 75.8 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/0.1206, allocations: 4 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1206, allocations: 0 / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1207, allocations: 4 kB / 0.4901 GB, free: 9.504 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.0004813/0.1211, allocations: 391 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1212, allocations: 15.89 kB / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.1212, allocations: 8.844 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.1214, allocations: 195.6 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.1215, allocations: 384 / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1215, allocations: 384 / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1216, allocations: 53.8 kB / 0.4907 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1217, allocations: 4 kB / 0.4907 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1217, allocations: 0 / 0.4907 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1217, allocations: 0 / 0.4907 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.712e-05/0.1218, allocations: 27.92 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.1222, allocations: 276.8 kB / 0.491 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.1224, allocations: 38.56 kB / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.766e-05/0.1224, allocations: 20.94 kB / 0.4911 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1224, allocations: 0 / 0.4911 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1225, allocations: 42.5 kB / 0.4911 GB, free: 8.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.1225, allocations: 0 / 0.4911 GB, free: 8.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005073/0.123, allocations: 133.3 kB / 0.4913 GB, free: 8.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.1231, allocations: 55.41 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.1232, allocations: 165.8 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.1232, allocations: 25.7 kB / 0.4915 GB, free: 7.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.1233, allocations: 104.1 kB / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.1233, allocations: 7.812 kB / 0.4916 GB, free: 7.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.1234, allocations: 21.66 kB / 0.4916 GB, free: 7.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1235, allocations: 326.8 kB / 0.4919 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/0.1236, allocations: 23.92 kB / 0.492 GB, free: 7.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.754e-05/0.1236, allocations: 15.98 kB / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.1238, allocations: 48.83 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.1238, allocations: 0 / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001687/0.1239, allocations: 81.52 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.124, allocations: 4 kB / 0.4921 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.124, allocations: 0 / 0.4921 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.124, allocations: 4 kB / 0.4921 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.97e-05/0.1241, allocations: 16.23 kB / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1241, allocations: 0 / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.809e-05/0.1241, allocations: 8 kB / 0.4921 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1241, allocations: 4 kB / 0.4921 GB, free: 7.207 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 9.364e-05/0.1242, allocations: 129.7 kB / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.1243, allocations: 7.906 kB / 0.4923 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.1245, allocations: 93.89 kB / 0.4923 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1245, allocations: 4 kB / 0.4923 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1245, allocations: 0 / 0.4923 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1245, allocations: 0 / 0.4923 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.1249, allocations: 350.4 kB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1249, allocations: 0 / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.125, allocations: 11.98 kB / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.125, allocations: 4 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.125, allocations: 4 kB / 0.4927 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.125, allocations: 3.938 kB / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.125, allocations: 3.938 kB / 0.4927 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.1252, allocations: 175.4 kB / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.1253, allocations: 81.11 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.1253, allocations: 288 / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.293e-05/0.1254, allocations: 7.938 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.1254, allocations: 11.98 kB / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1254, allocations: 192 / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.842e-05/0.1255, allocations: 130.7 kB / 0.4931 GB, free: 6.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1255, allocations: 0 / 0.4931 GB, free: 6.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.1258, allocations: 12 kB / 0.4931 GB, free: 6.09 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.0008871/0.1267, allocations: 422.2 kB / 0.4935 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.1268, allocations: 51.91 kB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1269, allocations: 0 / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.479e-05/0.1269, allocations: 19.98 kB / 0.4936 GB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.1273, allocations: 19.84 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.1277, allocations: 190 kB / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1279, allocations: 0.6924 MB / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.264e-05/0.128, allocations: 20.17 kB / 0.4945 GB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.128, allocations: 11.44 kB / 0.4945 GB, free: 4.664 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.128, allocations: 0 / 0.4945 GB, free: 4.664 MB / 382.1 MB Notification: Performance of Templates: time 0.003764/0.1318, allocations: 1.1 MB / 0.4956 GB, free: 3.562 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches