Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 107.3 kB / 18.4 MB, free: 4.566 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.001062/0.001062, 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.319/1.319, 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.2057/0.2057, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 66.8 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1101, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002849/0.113, allocations: 1.556 MB / 472.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007254/0.1137, allocations: 403.2 kB / 472.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.1138, allocations: 0 / 472.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.114, allocations: 15.86 kB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.1142, allocations: 51.7 kB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.1144, allocations: 75.78 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1146, allocations: 59.89 kB / 472.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1147, allocations: 15.98 kB / 472.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.026e-05/0.1148, allocations: 23.8 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/0.1148, allocations: 15.94 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.1149, allocations: 0 / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.252e-05/0.1149, allocations: 31.97 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.966e-05/0.115, allocations: 11.94 kB / 473 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.115, allocations: 19.86 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.1152, allocations: 75.8 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1152, allocations: 0 / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1152, allocations: 0 / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1152, allocations: 4 kB / 473 MB, free: 11.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004388/0.1157, allocations: 375.2 kB / 473.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1157, allocations: 12.03 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.1158, allocations: 12.83 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.1159, allocations: 184.2 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1159, allocations: 4.375 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.116, allocations: 4.375 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1161, allocations: 53.81 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1161, allocations: 3.906 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1161, allocations: 0 / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1161, allocations: 0 / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.395e-05/0.1162, allocations: 27.91 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.1165, allocations: 272.9 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.1167, allocations: 46.55 kB / 474 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.497e-05/0.1168, allocations: 12.86 kB / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1168, allocations: 4 kB / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.1168, allocations: 34.5 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1168, allocations: 0 / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005302/0.1174, allocations: 133.5 kB / 474.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.1174, allocations: 59.34 kB / 474.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1176, allocations: 148.8 kB / 474.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1176, allocations: 25.7 kB / 474.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.1177, allocations: 92.14 kB / 474.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.1177, allocations: 15.8 kB / 474.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.1177, allocations: 13.72 kB / 474.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1178, allocations: 326.8 kB / 474.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.1179, allocations: 15.98 kB / 474.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.326e-05/0.118, allocations: 23.92 kB / 474.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.1181, allocations: 44.83 kB / 475 MB, free: 9.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1181, allocations: 3.938 kB / 475 MB, free: 9.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001584/0.1182, allocations: 85.52 kB / 475 MB, free: 9.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1183, allocations: 14.95 kB / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1183, allocations: 0 / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1183, allocations: 0 / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.649e-05/0.1184, allocations: 8.531 kB / 475.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1184, allocations: 4 kB / 475.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.483e-05/0.1184, allocations: 7.984 kB / 475.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1184, allocations: 4 kB / 475.1 MB, free: 9.051 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 (5): * Single equations (assignments): 5 * 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 6.882e-05/0.1185, allocations: 121.7 kB / 475.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.1185, allocations: 11.91 kB / 475.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/0.1187, allocations: 93.89 kB / 475.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1188, allocations: 4 kB / 475.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1188, allocations: 0 / 475.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1188, allocations: 0 / 475.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.1191, allocations: 342.5 kB / 475.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1192, allocations: 8 kB / 475.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.684e-05/0.1192, allocations: 8 kB / 475.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1192, allocations: 0 / 475.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1192, allocations: 0 / 475.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1192, allocations: 3.938 kB / 475.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1193, allocations: 0 / 475.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.1194, allocations: 179.4 kB / 475.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.1195, allocations: 89.02 kB / 475.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.1195, allocations: 0 / 475.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.1196, allocations: 15.92 kB / 475.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.1196, allocations: 0 / 475.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.1196, allocations: 4 kB / 475.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.792e-05/0.1197, allocations: 111.2 kB / 476 MB, free: 7.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1197, allocations: 0 / 476 MB, free: 7.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.12, allocations: 12 kB / 476.1 MB, free: 7.961 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 (5): * Single equations (assignments): 5 * 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.0008614/0.1208, allocations: 412.8 kB / 476.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.121, allocations: 47.91 kB / 476.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.121, allocations: 0 / 476.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.79e-05/0.1211, allocations: 23.98 kB / 476.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.1214, allocations: 19.64 kB / 476.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.1218, allocations: 169.5 kB / 476.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.122, allocations: 0.6924 MB / 477.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.079e-05/0.1221, allocations: 7.984 kB / 477.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.1221, allocations: 19.36 kB / 477.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1221, allocations: 0 / 477.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of Templates: time 0.003165/0.1253, allocations: 1.071 MB / 478.5 MB, free: 5.617 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches