Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001804/0.001804, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.336/1.336, allocations: 222.9 MB / 242.5 MB, free: 15.4 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.2081/0.2081, allocations: 44.17 MB / 336.8 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 68.92 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1119, allocations: 60.83 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003151/0.115, allocations: 1.625 MB / 470.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.1166, allocations: 0.992 MB / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.474e-05/0.1167, allocations: 0 / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.117, allocations: 23.92 kB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.1172, allocations: 39.78 kB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1176, allocations: 71.84 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.1177, allocations: 51.91 kB / 472 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1178, allocations: 15.98 kB / 472 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.262e-05/0.1179, allocations: 19.86 kB / 472 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.1181, allocations: 31.84 kB / 472 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.1181, allocations: 0 / 472 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.1182, allocations: 47.98 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.1183, allocations: 3.938 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.1184, allocations: 27.84 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.1185, allocations: 59.92 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1185, allocations: 4 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1186, allocations: 0 / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1186, allocations: 0 / 472.2 MB, free: 11.8 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.0005375/0.1191, allocations: 383.5 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1192, allocations: 12.03 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.1192, allocations: 4.844 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.1194, allocations: 192.1 kB / 472.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1195, allocations: 384 / 472.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1195, allocations: 4.375 kB / 472.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.1197, allocations: 67.53 kB / 472.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1197, allocations: 3.984 kB / 472.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1197, allocations: 0 / 472.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1197, allocations: 0 / 472.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1198, allocations: 23.98 kB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.1202, allocations: 280.8 kB / 473.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.1205, allocations: 38.56 kB / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.1205, allocations: 12.86 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1206, allocations: 0 / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1206, allocations: 38.64 kB / 473.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1206, allocations: 0 / 473.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005415/0.1211, allocations: 141.3 kB / 473.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.1212, allocations: 77.11 kB / 473.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.1213, allocations: 136 kB / 473.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.1214, allocations: 25.7 kB / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.1214, allocations: 96.08 kB / 473.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.1215, allocations: 19.69 kB / 473.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.1215, allocations: 25.7 kB / 473.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1216, allocations: 318.8 kB / 474 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.1217, allocations: 15.98 kB / 474.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.105e-05/0.1218, allocations: 33.7 kB / 474.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.1219, allocations: 44.83 kB / 474.1 MB, free: 9.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1219, allocations: 3.938 kB / 474.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001813/0.1221, allocations: 85.8 kB / 474.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1221, allocations: 4 kB / 474.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1221, allocations: 0 / 474.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1222, allocations: 3.984 kB / 474.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.1222, allocations: 15.94 kB / 474.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.1223, allocations: 4 kB / 474.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/0.1223, allocations: 3.984 kB / 474.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1223, allocations: 4 kB / 474.3 MB, free: 9.48 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 7.899e-05/0.1224, allocations: 122.3 kB / 474.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.1224, allocations: 7.906 kB / 474.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.1227, allocations: 81.62 kB / 474.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1227, allocations: 0 / 474.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1227, allocations: 0 / 474.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1227, allocations: 4.281 kB / 474.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.1231, allocations: 350.4 kB / 474.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1231, allocations: 0 / 474.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.801e-05/0.1232, allocations: 15.98 kB / 474.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1232, allocations: 3.984 kB / 474.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1232, allocations: 0 / 474.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1232, allocations: 3.938 kB / 474.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1232, allocations: 0 / 474.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.1235, allocations: 179.4 kB / 475 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.1235, allocations: 81.11 kB / 475.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.1236, allocations: 4.234 kB / 475.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.1237, allocations: 11.94 kB / 475.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.1237, allocations: 4 kB / 475.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.1237, allocations: 4 kB / 475.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.155e-05/0.1238, allocations: 103.2 kB / 475.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1238, allocations: 7.938 kB / 475.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1241, allocations: 27.91 kB / 475.3 MB, free: 8.383 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.0009916/0.1251, allocations: 434.9 kB / 475.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.1253, allocations: 55.84 kB / 475.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1253, allocations: 0 / 475.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.1254, allocations: 23.98 kB / 475.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.1257, allocations: 15.98 kB / 475.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.1261, allocations: 200.9 kB / 476 MB, free: 7.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.1264, allocations: 0.6887 MB / 476.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.1265, allocations: 15.44 kB / 476.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1265, allocations: 0 / 476.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of Templates: time 0.003314/0.1298, allocations: 1.567 MB / 478.2 MB, free: 5.508 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches