Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001431, allocations: 195.4 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 226.5 MB / 244.1 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008089/0.0008089, allocations: 103.1 kB / 296.1 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3078/0.3078, allocations: 44.83 MB / 393 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002804, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3059, allocations: 62.95 MB / 0.5165 GB, free: 37.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1057/0.4116, allocations: 89.49 MB / 0.6039 GB, free: 15.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001719/0.4118, allocations: 79.95 kB / 0.6039 GB, free: 15.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01307/0.4249, allocations: 5.134 MB / 0.6089 GB, free: 10.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4249, allocations: 4 kB / 0.609 GB, free: 10.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.4249, allocations: 4 kB / 0.609 GB, free: 10.67 MB / 426.7 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.0005231/0.4255, allocations: 431.3 kB / 0.6094 GB, free: 10.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4255, allocations: 8.875 kB / 0.6094 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.4256, allocations: 20.75 kB / 0.6094 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.4259, allocations: 208.8 kB / 0.6096 GB, free: 9.926 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.4259, allocations: 4.375 kB / 0.6096 GB, free: 9.922 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.4259, allocations: 4.375 kB / 0.6096 GB, free: 9.918 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.4261, allocations: 58.17 kB / 0.6097 GB, free: 9.855 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4261, allocations: 192 / 0.6097 GB, free: 9.855 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.4262, allocations: 7.938 kB / 0.6097 GB, free: 9.848 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4262, allocations: 8 kB / 0.6097 GB, free: 9.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.4263, allocations: 31.97 kB / 0.6097 GB, free: 9.809 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.4268, allocations: 308.7 kB / 0.61 GB, free: 9.457 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.4269, allocations: 54.48 kB / 0.61 GB, free: 9.395 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.536e-05/0.427, allocations: 16.86 kB / 0.6101 GB, free: 9.375 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.427, allocations: 0 / 0.6101 GB, free: 9.375 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.4271, allocations: 34.64 kB / 0.6101 GB, free: 9.332 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.4271, allocations: 4 kB / 0.6101 GB, free: 9.328 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009106/0.428, allocations: 258.3 kB / 0.6103 GB, free: 9.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.4281, allocations: 51.41 kB / 0.6104 GB, free: 9.008 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.4283, allocations: 212.1 kB / 0.6106 GB, free: 8.793 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.4283, allocations: 29.7 kB / 0.6106 GB, free: 8.758 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.4283, allocations: 108 kB / 0.6107 GB, free: 8.648 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.4284, allocations: 23.7 kB / 0.6108 GB, free: 8.625 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.4284, allocations: 4 kB / 0.6108 GB, free: 8.621 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4285, allocations: 330.8 kB / 0.6111 GB, free: 8.289 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.4286, allocations: 31.92 kB / 0.6111 GB, free: 8.258 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.507e-05/0.4287, allocations: 35.97 kB / 0.6111 GB, free: 8.223 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.4288, allocations: 89.06 kB / 0.6112 GB, free: 8.133 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.4288, allocations: 0 / 0.6112 GB, free: 8.133 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002167/0.4291, allocations: 125.5 kB / 0.6113 GB, free: 8.004 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.4291, allocations: 4 kB / 0.6113 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.4291, allocations: 4 kB / 0.6113 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.4291, allocations: 432 / 0.6114 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.4292, allocations: 23.92 kB / 0.6114 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4292, allocations: 0 / 0.6114 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.4293, allocations: 15.92 kB / 0.6114 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.4293, allocations: 0 / 0.6114 GB, free: 7.957 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.668e-05/0.4294, allocations: 133.8 kB / 0.6115 GB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.4294, allocations: 11.91 kB / 0.6115 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.4297, allocations: 142.9 kB / 0.6117 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.4297, allocations: 0 / 0.6117 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.4297, allocations: 0 / 0.6117 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4297, allocations: 0 / 0.6117 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005264/0.4303, allocations: 451.2 kB / 0.6121 GB, free: 7.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4303, allocations: 0 / 0.6121 GB, free: 7.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.874e-05/0.4304, allocations: 19.98 kB / 0.6121 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4304, allocations: 4 kB / 0.6121 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.4304, allocations: 11.97 kB / 0.6121 GB, free: 7.125 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4304, allocations: 0 / 0.6121 GB, free: 7.125 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4304, allocations: 0 / 0.6121 GB, free: 7.125 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.4307, allocations: 224.2 kB / 0.6123 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.4307, allocations: 100.9 kB / 0.6124 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.4308, allocations: 3.938 kB / 0.6124 GB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.4309, allocations: 15.98 kB / 0.6125 GB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.4309, allocations: 7.984 kB / 0.6125 GB, free: 6.742 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.4309, allocations: 0 / 0.6125 GB, free: 6.742 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001419/0.4311, allocations: 155.2 kB / 0.6126 GB, free: 6.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4311, allocations: 0 / 0.6126 GB, free: 6.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.4313, allocations: 36 kB / 0.6126 GB, free: 6.555 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001066/0.4324, allocations: 455.8 kB / 0.6131 GB, free: 6.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.4327, allocations: 91.88 kB / 0.6132 GB, free: 6.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4327, allocations: 0 / 0.6132 GB, free: 6.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.4328, allocations: 43.97 kB / 0.6132 GB, free: 6.137 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.4331, allocations: 15.98 kB / 0.6132 GB, free: 6.121 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/0.4337, allocations: 324 kB / 0.6135 GB, free: 5.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.434, allocations: 0.7121 MB / 0.6142 GB, free: 5.031 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.434, allocations: 15.44 kB / 0.6142 GB, free: 5.016 MB / 426.7 MB Notification: Performance of SimCode: time 3.2e-07/0.434, allocations: 4 kB / 0.6142 GB, free: 5.012 MB / 426.7 MB Notification: Performance of Templates: time 0.003268/0.4373, allocations: 1.849 MB / 0.6161 GB, free: 3.156 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches