Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 109.9 kB / 18.3 MB, free: 4.883 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.001234/0.001234, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.369/1.369, allocations: 222.9 MB / 242.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2082/0.2082, allocations: 44.19 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001538, allocations: 67.83 kB / 409.1 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1086, allocations: 60.83 MB / 469.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003281/0.1119, allocations: 1.607 MB / 471.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.1135, allocations: 1.062 MB / 472.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.1136, allocations: 0 / 472.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.1138, allocations: 23.86 kB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.1141, allocations: 39.78 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.1145, allocations: 177.8 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1147, allocations: 67.72 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1148, allocations: 23.97 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.211e-05/0.1149, allocations: 23.92 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.115, allocations: 31.84 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.1151, allocations: 8 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1152, allocations: 47.98 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.771e-05/0.1153, allocations: 19.92 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.1153, allocations: 27.84 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1155, allocations: 92 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1155, allocations: 7.922 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1155, allocations: 0 / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1156, allocations: 4 kB / 473.2 MB, free: 11.12 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.0005294/0.1161, allocations: 386.2 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1161, allocations: 12.03 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.1162, allocations: 12.84 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1164, allocations: 192.2 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.1165, allocations: 4.375 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.1165, allocations: 384 / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.1167, allocations: 83.45 kB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1167, allocations: 0 / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1167, allocations: 0 / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1168, allocations: 4 kB / 473.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.1169, allocations: 39.95 kB / 473.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.1174, allocations: 300.7 kB / 474.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.1175, allocations: 62.47 kB / 474.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/0.1176, allocations: 24.94 kB / 474.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1176, allocations: 0 / 474.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1176, allocations: 34.56 kB / 474.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1177, allocations: 0 / 474.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008489/0.1185, allocations: 225.2 kB / 474.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.1186, allocations: 81.11 kB / 474.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.1187, allocations: 141.1 kB / 474.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1187, allocations: 29.7 kB / 474.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.1188, allocations: 92.12 kB / 474.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.1188, allocations: 23.66 kB / 474.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.1189, allocations: 25.7 kB / 474.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.119, allocations: 322.8 kB / 475.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.1191, allocations: 35.97 kB / 475.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1192, allocations: 57.73 kB / 475.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.1195, allocations: 92.77 kB / 475.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1195, allocations: 0 / 475.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003024/0.1198, allocations: 125.5 kB / 475.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1198, allocations: 11.94 kB / 475.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1198, allocations: 0 / 475.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1199, allocations: 0 / 475.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.12, allocations: 19.98 kB / 475.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.12, allocations: 4 kB / 475.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.225e-05/0.1201, allocations: 11.92 kB / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.1201, allocations: 4 kB / 475.6 MB, free: 8.48 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 8.883e-05/0.1202, allocations: 117.8 kB / 475.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.1202, allocations: 7.906 kB / 475.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.1206, allocations: 138 kB / 475.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1206, allocations: 0 / 475.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1206, allocations: 0 / 475.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.1206, allocations: 3.938 kB / 475.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.1212, allocations: 406.4 kB / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.1212, allocations: 3.984 kB / 476.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.421e-05/0.1213, allocations: 19.98 kB / 476.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.1213, allocations: 4 kB / 476.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1213, allocations: 7.938 kB / 476.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1213, allocations: 0 / 476.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1213, allocations: 0 / 476.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.1216, allocations: 231.7 kB / 476.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.1217, allocations: 81.02 kB / 476.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.1217, allocations: 7.938 kB / 476.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.1218, allocations: 7.984 kB / 476.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.1219, allocations: 11.94 kB / 476.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1219, allocations: 3.984 kB / 476.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.266e-05/0.1219, allocations: 103.3 kB / 476.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.122, allocations: 0 / 476.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1222, allocations: 24 kB / 476.7 MB, free: 7.219 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.0009764/0.1232, allocations: 444.3 kB / 477.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003277/0.1236, allocations: 103.9 kB / 477.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1236, allocations: 0 / 477.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.1237, allocations: 47.91 kB / 477.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.1241, allocations: 15.98 kB / 477.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.1245, allocations: 224 kB / 477.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1248, allocations: 0.6963 MB / 478.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.1249, allocations: 23.36 kB / 478.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1249, allocations: 3.938 kB / 478.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Templates: time 0.003819/0.1287, allocations: 1.804 MB / 480.1 MB, free: 3.984 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches