Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 106.1 kB / 18.3 MB, free: 4.836 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.001475/0.001475, allocations: 199.3 kB / 19.23 MB, free: 3.91 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: 222.9 MB / 242.9 MB, free: 15.27 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.2123/0.2123, allocations: 44.18 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 67.83 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1153, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002992/0.1183, allocations: 1.579 MB / 471.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007607/0.1191, allocations: 423.2 kB / 471.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.1192, allocations: 0 / 471.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.1194, allocations: 75.77 kB / 472 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.1197, allocations: 59.8 kB / 472 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.12, allocations: 113.9 kB / 472.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.1201, allocations: 63.89 kB / 472.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1203, allocations: 32.11 kB / 472.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/0.1203, allocations: 31.84 kB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1204, allocations: 55.81 kB / 472.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1204, allocations: 4 kB / 472.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.724e-05/0.1205, allocations: 43.98 kB / 472.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.1206, allocations: 23.92 kB / 472.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.1207, allocations: 27.75 kB / 472.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1208, allocations: 95.98 kB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1209, allocations: 0 / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.136e-06/0.1209, allocations: 3.984 kB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1209, allocations: 0 / 472.5 MB, free: 11.75 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.0005177/0.1214, allocations: 403 kB / 472.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1215, allocations: 11.97 kB / 472.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.1215, allocations: 8.844 kB / 472.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1217, allocations: 208 kB / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-06/0.1217, allocations: 384 / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.1217, allocations: 8.375 kB / 473.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1219, allocations: 49.62 kB / 473.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1219, allocations: 11.89 kB / 473.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1219, allocations: 0 / 473.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1219, allocations: 0 / 473.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.812e-05/0.122, allocations: 27.98 kB / 473.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.1224, allocations: 300.8 kB / 473.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.1226, allocations: 46.56 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.1226, allocations: 16.94 kB / 473.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.1226, allocations: 0 / 473.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.1227, allocations: 34.56 kB / 473.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1227, allocations: 4 kB / 473.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008883/0.1236, allocations: 245.2 kB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.1236, allocations: 51.41 kB / 473.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.1238, allocations: 218.1 kB / 474.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1238, allocations: 25.7 kB / 474.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.1239, allocations: 108 kB / 474.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.1239, allocations: 19.64 kB / 474.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.124, allocations: 25.72 kB / 474.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1241, allocations: 322.8 kB / 474.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.067e-05/0.1242, allocations: 27.97 kB / 474.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-05/0.1243, allocations: 27.98 kB / 474.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.1244, allocations: 76.81 kB / 474.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1244, allocations: 4 kB / 474.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002129/0.1246, allocations: 121.4 kB / 474.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1247, allocations: 4 kB / 474.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1247, allocations: 7.938 kB / 474.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1247, allocations: 3.938 kB / 474.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.58e-05/0.1248, allocations: 15.98 kB / 474.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.1248, allocations: 7.938 kB / 474.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.049e-05/0.1249, allocations: 7.984 kB / 474.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.1249, allocations: 4 kB / 474.9 MB, free: 9.121 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 (8): * Single equations (assignments): 8 * 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.598e-05/0.125, allocations: 121.8 kB / 475.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.125, allocations: 11.91 kB / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.1253, allocations: 126.3 kB / 475.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1253, allocations: 8 kB / 475.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1253, allocations: 3.938 kB / 475.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1253, allocations: 0 / 475.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.1258, allocations: 415.6 kB / 475.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1259, allocations: 4 kB / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.1259, allocations: 19.92 kB / 475.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1259, allocations: 4.031 kB / 475.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.126, allocations: 8 kB / 475.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.126, allocations: 0 / 475.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.126, allocations: 0 / 475.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1262, allocations: 212.3 kB / 475.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.1263, allocations: 88.95 kB / 475.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.1263, allocations: 7.984 kB / 475.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.538e-05/0.1264, allocations: 4 kB / 475.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.1264, allocations: 11.98 kB / 476 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.1265, allocations: 0 / 476 MB, free: 7.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1266, allocations: 159.2 kB / 476.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1266, allocations: 0 / 476.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.1268, allocations: 16 kB / 476.1 MB, free: 7.812 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 (8): * Single equations (assignments): 8 * 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.001043/0.1279, allocations: 476.2 kB / 476.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.1281, allocations: 75.89 kB / 476.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1281, allocations: 0 / 476.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1282, allocations: 47.91 kB / 476.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.1286, allocations: 19.94 kB / 476.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/0.1291, allocations: 288.8 kB / 477 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.1294, allocations: 0.7119 MB / 477.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.1294, allocations: 11.44 kB / 477.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1294, allocations: 0 / 477.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of Templates: time 0.003336/0.1328, allocations: 1.75 MB / 479.5 MB, free: 4.57 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches