Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008299/0.0008299, allocations: 94.67 kB / 18 MB, free: 5.734 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.0009884/0.0009884, allocations: 180.6 kB / 18.91 MB, free: 4.867 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.383/1.383, allocations: 223.3 MB / 243 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2088/0.2088, allocations: 44.25 MB / 338.3 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003068, allocations: 12 kB / 411 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1108, allocations: 61.92 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001984/0.1128, allocations: 1.29 MB / 474.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007791/0.1136, allocations: 403.4 kB / 474.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.1137, allocations: 0 / 474.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.114, allocations: 115.8 kB / 474.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.1142, allocations: 79.77 kB / 474.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1145, allocations: 83.09 kB / 474.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.1147, allocations: 87.8 kB / 475 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1148, allocations: 16.19 kB / 475 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.333e-05/0.1149, allocations: 39.77 kB / 475 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.115, allocations: 71.86 kB / 475.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1151, allocations: 4 kB / 475.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1152, allocations: 43.97 kB / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.1152, allocations: 27.84 kB / 475.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.1153, allocations: 57.39 kB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.1155, allocations: 84.16 kB / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1155, allocations: 0 / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1155, allocations: 0 / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1155, allocations: 0 / 475.3 MB, free: 10.96 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.0004806/0.116, allocations: 418.9 kB / 475.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.116, allocations: 8.031 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.1161, allocations: 16.75 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.1163, allocations: 207.9 kB / 475.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1163, allocations: 8.312 kB / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.1163, allocations: 8.375 kB / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1165, allocations: 57.61 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1165, allocations: 0 / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1165, allocations: 4 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.1165, allocations: 3.984 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1166, allocations: 27.92 kB / 476 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.117, allocations: 312.6 kB / 476.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.1171, allocations: 38.56 kB / 476.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.392e-05/0.1172, allocations: 24.94 kB / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1172, allocations: 0 / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.1173, allocations: 38.5 kB / 476.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.1173, allocations: 0 / 476.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009016/0.1182, allocations: 253.1 kB / 476.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.1182, allocations: 51.41 kB / 476.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.1185, allocations: 278.2 kB / 477 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1185, allocations: 29.7 kB / 477 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.1186, allocations: 108.1 kB / 477.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.1186, allocations: 31.55 kB / 477.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.1186, allocations: 13.72 kB / 477.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1187, allocations: 326.8 kB / 477.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.1188, allocations: 27.98 kB / 477.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.1189, allocations: 36.03 kB / 477.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.1191, allocations: 64.84 kB / 477.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1191, allocations: 0 / 477.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002226/0.1193, allocations: 125.4 kB / 477.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1193, allocations: 4 kB / 477.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1193, allocations: 0 / 477.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1194, allocations: 0 / 477.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.86e-05/0.1195, allocations: 19.98 kB / 477.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1195, allocations: 3.938 kB / 477.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.1195, allocations: 12 kB / 477.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1195, allocations: 0 / 477.8 MB, free: 8.234 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 9.514e-05/0.1196, allocations: 134.4 kB / 477.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.1197, allocations: 11.91 kB / 477.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.12, allocations: 134.9 kB / 478.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.12, allocations: 0 / 478.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.12, allocations: 11.88 kB / 478.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.12, allocations: 7.984 kB / 478.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/0.1205, allocations: 415.3 kB / 478.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1205, allocations: 0 / 478.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-05/0.1206, allocations: 23.92 kB / 478.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1206, allocations: 7.938 kB / 478.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.1206, allocations: 0 / 478.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1206, allocations: 0 / 478.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1206, allocations: 3.938 kB / 478.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.1209, allocations: 217 kB / 478.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.121, allocations: 96.86 kB / 478.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.121, allocations: 4 kB / 478.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.1211, allocations: 7.984 kB / 478.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.1211, allocations: 11.98 kB / 478.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.1211, allocations: 4 kB / 478.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.1213, allocations: 203.2 kB / 479.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1213, allocations: 0 / 479.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1216, allocations: 16 kB / 479.1 MB, free: 6.844 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.001036/0.1226, allocations: 465.1 kB / 479.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.1228, allocations: 63.97 kB / 479.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1228, allocations: 0 / 479.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-05/0.1229, allocations: 51.91 kB / 479.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.1233, allocations: 19.92 kB / 479.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.1238, allocations: 360.3 kB / 480 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.1241, allocations: 0.716 MB / 480.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.1241, allocations: 15.44 kB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1241, allocations: 0 / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of Templates: time 0.003746/0.1279, allocations: 1.811 MB / 482.6 MB, free: 3.48 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches