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.001267/0.001267, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001549/0.001549, allocations: 188 kB / 19.34 MB, free: 3.641 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.337/1.337, allocations: 222.9 MB / 243 MB, free: 15.09 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.2067/0.2067, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 64.3 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1093, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003364/0.1127, allocations: 1.614 MB / 472.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.1142, allocations: 1.059 MB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.1143, allocations: 4 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.1145, allocations: 23.73 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.1148, allocations: 51.77 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.1152, allocations: 166.3 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.1153, allocations: 71.77 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1154, allocations: 15.98 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.517e-05/0.1155, allocations: 23.86 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.1156, allocations: 35.89 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1157, allocations: 8 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1158, allocations: 51.86 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.1158, allocations: 19.98 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.1159, allocations: 27.78 kB / 473.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.1161, allocations: 95.78 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1161, allocations: 0 / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1161, allocations: 0 / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1161, allocations: 0 / 474 MB, free: 10.38 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.0005774/0.1167, allocations: 387.2 kB / 474.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1168, allocations: 16.03 kB / 474.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.1168, allocations: 12.78 kB / 474.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.1171, allocations: 188.2 kB / 474.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-06/0.1171, allocations: 4.375 kB / 474.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.1171, allocations: 8.359 kB / 474.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.1173, allocations: 75.52 kB / 474.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1173, allocations: 0 / 474.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1174, allocations: 0 / 474.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1174, allocations: 8 kB / 474.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.1175, allocations: 35.97 kB / 474.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.118, allocations: 308.7 kB / 475 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.1182, allocations: 50.55 kB / 475 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.301e-05/0.1182, allocations: 32.92 kB / 475.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1183, allocations: 0 / 475.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.1183, allocations: 30.56 kB / 475.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1183, allocations: 0 / 475.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007514/0.1191, allocations: 229.2 kB / 475.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.1191, allocations: 85.05 kB / 475.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1193, allocations: 136.9 kB / 475.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1193, allocations: 29.7 kB / 475.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.1194, allocations: 92.12 kB / 475.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.1194, allocations: 19.66 kB / 475.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.1194, allocations: 21.72 kB / 475.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1196, allocations: 326.8 kB / 476 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.1197, allocations: 35.97 kB / 476.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1198, allocations: 53.67 kB / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.12, allocations: 96.77 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.12, allocations: 0 / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002734/0.1203, allocations: 121.7 kB / 476.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1203, allocations: 8 kB / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1203, allocations: 0 / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1204, allocations: 3.984 kB / 476.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1205, allocations: 19.98 kB / 476.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1205, allocations: 8.062 kB / 476.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.1206, allocations: 11.92 kB / 476.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1206, allocations: 4 kB / 476.4 MB, free: 7.73 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 9.272e-05/0.1207, allocations: 121.8 kB / 476.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.1207, allocations: 7.906 kB / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.121, allocations: 141.9 kB / 476.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.121, allocations: 0 / 476.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1211, allocations: 0 / 476.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1211, allocations: 3.938 kB / 476.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.1216, allocations: 402.5 kB / 477 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1216, allocations: 0 / 477 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.759e-05/0.1217, allocations: 23.92 kB / 477.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1217, allocations: 4 kB / 477.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.1217, allocations: 7.922 kB / 477.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1217, allocations: 0 / 477.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1217, allocations: 0 / 477.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.1221, allocations: 215.4 kB / 477.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.1221, allocations: 93 kB / 477.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.1221, allocations: 3.938 kB / 477.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.515e-05/0.1222, allocations: 7.984 kB / 477.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.1223, allocations: 8 kB / 477.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.1223, allocations: 4 kB / 477.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.233e-05/0.1224, allocations: 103.2 kB / 477.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1224, allocations: 4 kB / 477.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1227, allocations: 24 kB / 477.5 MB, free: 6.473 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.001061/0.1237, allocations: 461.1 kB / 478 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.124, allocations: 91.91 kB / 478.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1241, allocations: 8 kB / 478.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.1242, allocations: 47.91 kB / 478.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1246, allocations: 23.64 kB / 478.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.125, allocations: 198.3 kB / 478.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.1252, allocations: 0.6963 MB / 479 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.006e-05/0.1253, allocations: 27.92 kB / 479.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.1254, allocations: 15.44 kB / 479.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1254, allocations: 0 / 479.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of Templates: time 0.00408/0.1295, allocations: 1.523 MB / 480.6 MB, free: 3.516 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 -s gbode -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