Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009877/0.0009878, allocations: 97.27 kB / 18.01 MB, free: 5.734 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.0009248/0.0009249, allocations: 180.1 kB / 18.91 MB, free: 4.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 243 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2304/0.2304, allocations: 44.24 MB / 338.3 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003159, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1115, allocations: 61.93 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.001884/0.1134, allocations: 1.333 MB / 474.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1149, allocations: 1.027 MB / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.187e-05/0.115, allocations: 4 kB / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.1152, allocations: 23.91 kB / 475.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.1153, allocations: 35.91 kB / 475.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.1158, allocations: 162.4 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.1159, allocations: 63.84 kB / 475.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.116, allocations: 19.92 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.837e-05/0.1161, allocations: 23.86 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.1162, allocations: 23.86 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1163, allocations: 4 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1164, allocations: 51.95 kB / 475.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.1165, allocations: 19.92 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.625e-05/0.1165, allocations: 41.58 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.1167, allocations: 80.09 kB / 475.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1167, allocations: 0 / 475.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1167, allocations: 0 / 475.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.788e-06/0.1167, allocations: 0 / 475.8 MB, free: 10.42 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004339/0.1171, allocations: 387.2 kB / 476.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1172, allocations: 12.03 kB / 476.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.1172, allocations: 8.844 kB / 476.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.1174, allocations: 184.3 kB / 476.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.1174, allocations: 384 / 476.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.1174, allocations: 8.375 kB / 476.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.1176, allocations: 79.52 kB / 476.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1176, allocations: 0 / 476.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1177, allocations: 4 kB / 476.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1177, allocations: 0 / 476.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.1178, allocations: 55.89 kB / 476.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.1182, allocations: 304.8 kB / 476.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.1184, allocations: 50.56 kB / 476.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.941e-05/0.1185, allocations: 28.94 kB / 476.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1185, allocations: 11.88 kB / 476.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.1185, allocations: 34.55 kB / 477 MB, free: 9.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1185, allocations: 0 / 477 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000788/0.1193, allocations: 257.2 kB / 477.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.1194, allocations: 85.09 kB / 477.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.1195, allocations: 132.6 kB / 477.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.1195, allocations: 29.7 kB / 477.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.1196, allocations: 96.03 kB / 477.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.1196, allocations: 19.66 kB / 477.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.1196, allocations: 21.7 kB / 477.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.1197, allocations: 318.8 kB / 477.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.1199, allocations: 52.02 kB / 478 MB, free: 8.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.12, allocations: 65.69 kB / 478 MB, free: 7.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.1203, allocations: 96.8 kB / 478.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1203, allocations: 4.031 kB / 478.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002948/0.1206, allocations: 145.5 kB / 478.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1206, allocations: 4 kB / 478.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1206, allocations: 7.938 kB / 478.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1206, allocations: 0 / 478.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1208, allocations: 23.98 kB / 478.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1208, allocations: 0 / 478.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.1208, allocations: 19.92 kB / 478.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.1209, allocations: 320 / 478.3 MB, free: 7.684 MB / 350.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 (7): * Single equations (assignments): 7 * 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 7.931e-05/0.1209, allocations: 118.4 kB / 478.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.121, allocations: 8.188 kB / 478.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.1213, allocations: 161.9 kB / 478.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1214, allocations: 3.984 kB / 478.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1214, allocations: 0 / 478.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.1214, allocations: 3.938 kB / 478.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005447/0.1219, allocations: 426.5 kB / 479 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.122, allocations: 3.938 kB / 479 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.814e-05/0.122, allocations: 19.98 kB / 479 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1221, allocations: 0 / 479 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.1221, allocations: 11.94 kB / 479.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.1221, allocations: 4 kB / 479.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1221, allocations: 3.938 kB / 479.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.1224, allocations: 239.4 kB / 479.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.1225, allocations: 85.02 kB / 479.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1225, allocations: 7.922 kB / 479.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.162e-05/0.1226, allocations: 12 kB / 479.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.1227, allocations: 11.98 kB / 479.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1227, allocations: 0 / 479.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.44e-05/0.1227, allocations: 111.2 kB / 479.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1228, allocations: 0 / 479.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.123, allocations: 27.98 kB / 479.5 MB, free: 6.344 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0009703/0.124, allocations: 432.4 kB / 480 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.1243, allocations: 103.9 kB / 480.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1243, allocations: 4 kB / 480.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.1245, allocations: 67.98 kB / 480.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.1248, allocations: 20.06 kB / 480.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.1252, allocations: 243 kB / 480.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.1255, allocations: 0.6926 MB / 481.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.1256, allocations: 15.42 kB / 481.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1256, allocations: 0 / 481.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of Templates: time 0.003563/0.1292, allocations: 1.798 MB / 482.9 MB, free: 3.102 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches