Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008319/0.0008319, allocations: 98.94 kB / 18.01 MB, free: 5.738 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.0009092/0.0009093, allocations: 178.5 kB / 18.91 MB, free: 4.871 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.381/1.381, allocations: 223.3 MB / 243 MB, free: 216 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.2035/0.2035, allocations: 44.25 MB / 338.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003142, allocations: 9.594 kB / 411 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1031, allocations: 61.93 MB / 472.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001871/0.105, allocations: 1.329 MB / 474.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007147/0.1058, allocations: 403.4 kB / 474.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.293e-05/0.1058, allocations: 3.938 kB / 474.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.1061, allocations: 87.81 kB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.1062, allocations: 63.86 kB / 474.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.1065, allocations: 75.84 kB / 474.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.1067, allocations: 91.73 kB / 475 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.441e-05/0.1068, allocations: 20 kB / 475 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.481e-05/0.1068, allocations: 39.89 kB / 475 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.203e-05/0.1069, allocations: 51.81 kB / 475.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1069, allocations: 0 / 475.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.348e-05/0.107, allocations: 39.98 kB / 475.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.1071, allocations: 27.86 kB / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.1072, allocations: 57.45 kB / 475.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.1073, allocations: 91.95 kB / 475.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1073, allocations: 0 / 475.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1073, allocations: 0 / 475.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1073, allocations: 3.938 kB / 475.3 MB, free: 10.98 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004515/0.1078, allocations: 415.1 kB / 475.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1078, allocations: 12.03 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.1079, allocations: 12.84 kB / 475.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.108, allocations: 208 kB / 475.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1081, allocations: 4.375 kB / 475.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.1081, allocations: 8.375 kB / 475.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1083, allocations: 73.72 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1083, allocations: 4 kB / 476 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1083, allocations: 8 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1083, allocations: 0 / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.1084, allocations: 43.91 kB / 476.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.1088, allocations: 320.7 kB / 476.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.109, allocations: 70.48 kB / 476.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/0.109, allocations: 24.86 kB / 476.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.1091, allocations: 4.141 kB / 476.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.1091, allocations: 38.55 kB / 476.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1091, allocations: 0 / 476.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00103/0.1102, allocations: 329.3 kB / 476.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.1102, allocations: 55.41 kB / 476.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.1104, allocations: 231.2 kB / 477.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1104, allocations: 29.7 kB / 477.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.1105, allocations: 124 kB / 477.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.1106, allocations: 43.34 kB / 477.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.1106, allocations: 17.72 kB / 477.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1107, allocations: 322.8 kB / 477.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.1108, allocations: 43.97 kB / 477.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.892e-05/0.1109, allocations: 42.86 kB / 477.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.1111, allocations: 96.83 kB / 477.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1111, allocations: 0 / 477.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002683/0.1114, allocations: 153.4 kB / 478 MB, free: 8.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1114, allocations: 4 kB / 478 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1114, allocations: 112 / 478 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1115, allocations: 7.875 kB / 478 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1116, allocations: 27.98 kB / 478 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1116, allocations: 3.984 kB / 478 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.1116, allocations: 4 kB / 478 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1117, allocations: 4 kB / 478 MB, free: 8.031 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.816e-05/0.1118, allocations: 137.8 kB / 478.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.1118, allocations: 15.84 kB / 478.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/0.1122, allocations: 173.6 kB / 478.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1122, allocations: 3.938 kB / 478.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1122, allocations: 11.94 kB / 478.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1122, allocations: 3.984 kB / 478.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.1128, allocations: 483.1 kB / 478.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1128, allocations: 0 / 478.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-05/0.1129, allocations: 35.92 kB / 478.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.1129, allocations: 3.984 kB / 478.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1129, allocations: 0 / 478.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1129, allocations: 7.938 kB / 478.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.113, allocations: 0 / 478.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.1133, allocations: 248.2 kB / 479.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.1133, allocations: 92.91 kB / 479.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.1133, allocations: 11.94 kB / 479.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.569e-05/0.1134, allocations: 4 kB / 479.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.1135, allocations: 11.98 kB / 479.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1135, allocations: 8 kB / 479.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1136, allocations: 175.2 kB / 479.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1137, allocations: 0 / 479.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1139, allocations: 20 kB / 479.4 MB, free: 6.508 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.001026/0.1149, allocations: 451.1 kB / 479.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.1152, allocations: 99.89 kB / 480 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1152, allocations: 4 kB / 480 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.1154, allocations: 59.91 kB / 480 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.1157, allocations: 24.14 kB / 480 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005542/0.1163, allocations: 376.6 kB / 480.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.1166, allocations: 0.7121 MB / 481.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.1166, allocations: 15.44 kB / 481.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1166, allocations: 3.938 kB / 481.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of Templates: time 0.003848/0.1205, allocations: 1.99 MB / 483.1 MB, free: 2.914 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches