Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008451/0.0008448, allocations: 95 kB / 18 MB, free: 5.602 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.0008544/0.0008544, allocations: 180.6 kB / 18.91 MB, free: 4.734 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.387/1.387, allocations: 223.3 MB / 242.9 MB, free: 15.93 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.215/0.215, allocations: 44.25 MB / 338.3 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.000358, allocations: 8.812 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.11, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002007/0.1121, allocations: 1.321 MB / 474.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007951/0.1129, allocations: 423.3 kB / 474.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.113, allocations: 0 / 474.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.1132, allocations: 27.84 kB / 474.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.1134, allocations: 39.91 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.1137, allocations: 103.7 kB / 474.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.1139, allocations: 71.83 kB / 474.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.114, allocations: 28.22 kB / 474.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.383e-05/0.114, allocations: 19.92 kB / 474.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.648e-05/0.1141, allocations: 35.83 kB / 475 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1141, allocations: 0 / 475 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1142, allocations: 39.98 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.71e-05/0.1143, allocations: 19.92 kB / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.1144, allocations: 57.44 kB / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.1145, allocations: 75.77 kB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1145, allocations: 0 / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1145, allocations: 0 / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1145, allocations: 4 kB / 475.2 MB, free: 11.07 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004235/0.1149, allocations: 387.3 kB / 475.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.115, allocations: 8.031 kB / 475.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.115, allocations: 12.75 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.1152, allocations: 192.2 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1152, allocations: 8.312 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1153, allocations: 4.375 kB / 475.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.1154, allocations: 89.09 kB / 475.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1155, allocations: 7.938 kB / 475.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1155, allocations: 4 kB / 475.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1155, allocations: 0 / 475.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.1156, allocations: 47.95 kB / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.1161, allocations: 336.5 kB / 476.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.1162, allocations: 66.55 kB / 476.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.1163, allocations: 25 kB / 476.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.1163, allocations: 11.98 kB / 476.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.1163, allocations: 34.56 kB / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1163, allocations: 0 / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00104/0.1174, allocations: 353.5 kB / 476.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1174, allocations: 51.41 kB / 476.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1176, allocations: 156.5 kB / 476.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1176, allocations: 25.7 kB / 476.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.1177, allocations: 108 kB / 477.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.1177, allocations: 47.34 kB / 477.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.1177, allocations: 17.72 kB / 477.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1179, allocations: 318.8 kB / 477.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.118, allocations: 47.97 kB / 477.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.717e-05/0.1181, allocations: 51.97 kB / 477.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.1183, allocations: 116.8 kB / 477.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1183, allocations: 0 / 477.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002855/0.1186, allocations: 167.5 kB / 477.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1186, allocations: 4 kB / 477.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1186, allocations: 3.938 kB / 477.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.1187, allocations: 3.938 kB / 477.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.1188, allocations: 31.98 kB / 477.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1188, allocations: 0 / 477.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.1189, allocations: 12 kB / 477.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1189, allocations: 4 kB / 477.9 MB, free: 8.152 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 (13): * Single equations (assignments): 13 * 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.426e-05/0.119, allocations: 129.8 kB / 478 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.119, allocations: 15.81 kB / 478 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/0.1194, allocations: 182.4 kB / 478.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1194, allocations: 7.984 kB / 478.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1194, allocations: 0 / 478.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1194, allocations: 0 / 478.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006741/0.1201, allocations: 0.4951 MB / 478.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1201, allocations: 4 kB / 478.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.367e-05/0.1202, allocations: 27.92 kB / 478.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1202, allocations: 0 / 478.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.1203, allocations: 4 kB / 478.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1203, allocations: 3.938 kB / 478.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1203, allocations: 3.938 kB / 478.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.1206, allocations: 264.2 kB / 479 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.1207, allocations: 89 kB / 479.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.1207, allocations: 8 kB / 479.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.1208, allocations: 8 kB / 479.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.1208, allocations: 11.98 kB / 479.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1208, allocations: 4 kB / 479.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.435e-05/0.1209, allocations: 117.1 kB / 479.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1209, allocations: 0 / 479.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1212, allocations: 28 kB / 479.2 MB, free: 6.652 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001035/0.1222, allocations: 452.6 kB / 479.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002891/0.1225, allocations: 135.8 kB / 479.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1225, allocations: 0 / 479.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.1227, allocations: 67.91 kB / 479.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.123, allocations: 15.52 kB / 479.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005309/0.1236, allocations: 331.8 kB / 480.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.1239, allocations: 0.7004 MB / 480.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.1239, allocations: 23.42 kB / 480.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.284e-06/0.1239, allocations: 0 / 480.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of Templates: time 0.003711/0.1276, allocations: 1.94 MB / 482.9 MB, free: 3.133 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches